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

Login

Remember Me

Directory Tree

Parameter Driven Generic Event Handler

Rating
0 votes
Favoured:
0
Current Version
1.02
Last Release Date
2012-07-27
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
60042
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.