Page 1 of 1

Nagios calling shell scripts like sending alerts.

Posted: Tue Jul 12, 2016 8:45 am
by RIDS_I2MP
Hi Team,

As Nagios sends an email alert to respective groups, however does Nagios also support calling the shell scripts just like sending emails?

Re: Nagios calling shell scripts like sending alerts.

Posted: Tue Jul 12, 2016 9:48 am
by rkennedy
Sure, just create a command definition and assign the command to a contact. It will have to respect how a contact would be handled.

The other option is to use event handlers. https://assets.nagios.com/downloads/nag ... ios-XI.pdf https://assets.nagios.com/downloads/nag ... ios-XI.pdf