Send Event to Nagios from CLI command?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gogginl
Posts: 5
Joined: Mon Apr 07, 2014 8:41 am

Send Event to Nagios from CLI command?

Post 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
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Send Event to Nagios from CLI command?

Post by BanditBBS »

2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Send Event to Nagios from CLI command?

Post by hsmith »

BanditBBS wrote:One of these may help you out: http://old.nagios.org/developerinfo/ext ... ndlist.php
Thanks Bandit!
Former Nagios Employee.
me.
Locked