Send Event to Nagios from CLI command?
Posted: Wed Sep 02, 2015 1:14 pm
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
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