Home Directory Addons Event Handlers Parameter Driven Generic Event Handler

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

Directory Tree

Parameter Driven Generic Event Handler

0 votes
Current Version
Last Release Date
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This is a generic use, parameter driven event handler script. It allows for simple command definitions to run event handlers under various conditions.

Use this to restart Windows/Linux/Unix services remotely (ie without having to install any software on Windows eg NSClient++).
Can also be used to -
- restart Linux or Unix services.
- reboot Windows servers (have fun with this one!)
- run all of your other event handlers with more flexibility
- run any commands you wish

It can run multiple commands depending on
- The type of Nagios alert (SOFT or HARD)
- The number of times the check has SOFT alerted
- If the check is the last SOFT check before the service check goes to HARD state (and notifications etc are sent)
- The text contained within the service output or the text not contained in the service output
- If the alert type is WARNING, CRITICAL, UNKNOWN or OK

Command and service example configurations provided.