Passive check requirement.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sujitt
Posts: 132
Joined: Thu Apr 25, 2013 1:50 pm

Passive check requirement.

Post by sujitt »

I have a new requirement to be implemented in nagios XI. I am looking for IDeas which i could pursue to get to a solution.
1. This is for a Unix host . where a command on error needs to report back to NAgios of an error ( I suppose this part is easy with nsca_send etc.)
2. The output which the NSCA_Send sends back should contain contextual information which will be a command line script which will be used for restarting that process.
3. The commandline which was sent by the nsca_send should be available for an administrator to manually run through nagios so that security creds are utilized.

my original thought was to send the comandline as an output of the command execution which will be available as Serviceoutput macro .
How can I make the event handler not execute immediately but be available for an administrator to execute?

Are there any other ways to implement this in Nagios XI.?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Passive check requirement.

Post by scottwilkerson »

I would use the builtin Actions component to add a quick action to execute the command
http://assets.nagios.com/downloads/nagi ... ponent.pdf

Changes are made in Admin -> Manage Components -> Actions -> Settings
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked