Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

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.

share|improve this answer
The link now redirects to the main Nagios Wiki page. Could you please include the essential parts of the original page to this answer? – gertvdijk Sep 23 '13 at 12:18

Sure. You simply set up a command to run for the notification and associate it with a contact (see, and for details)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.