Page 1 of 1

Send Event to Nagios from CLI command?

Posted: Wed Sep 02, 2015 1:14 pm
by gogginl
I am running Nagios XI latest version. I have a script running on this same server and want to send an event from this script if the script fails.
I have a condition within the script that checks if my script is successful or fails and when it fails I want to create a new event and send it to Nagios notifications.

How is this possible. I could not find anything related on the internet.

Thx Larry

Re: Send Event to Nagios from CLI command?

Posted: Wed Sep 02, 2015 1:26 pm
by BanditBBS

Re: Send Event to Nagios from CLI command?

Posted: Wed Sep 02, 2015 2:37 pm
by hsmith
BanditBBS wrote:One of these may help you out: http://old.nagios.org/developerinfo/ext ... ndlist.php
Thanks Bandit!