Is it possible to pass a notification message from nagios to a python script that will dispatch a custom notification, instead of nagios sending email or an sms?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
Sure. Here's an example using Skype for notification. Generally, you define a command that will execute the python script, then use that command for the host_notification_commands or service_notification_commands options in the contact definition. |
|||
|
|
|
Sure. You simply set up a command to run for the notification and associate it with a contact (see http://nagios.sourceforge.net/docs/3_0/notifications.html, http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact and http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command for details) |
|||
|
|