Page 1 of 1

Testing with Nagios XI

Posted: Mon Jun 08, 2015 7:58 am
by rh3124
Folks, we use Nagios XI with NRPE Agent. Our development and test teams would like to generate test events (hard) for services on each object type we monitor. We want to know if there is a way to overlay the "polled" value of a service, so it would exceed its "threshold", and create an event, at least for one poll cycle. Generating “real” system events on object types like CPU, filesystem, disk space would impractical for us. We understand that we could trigger an event through changing threshold values. This works, but our folks fear they may forget to set these back. We also tired "Submit Passive Check Result". This was good, but it only created soft alarms. Our event handlers are designed to only pass through hard types.
We had grown to rely on this capability with BMC using their psl set statement.
We did see this post. We have not tried this, but it did look promising.
http://old.nagios.org/developerinfo/ext ... and_id=140

Any information would be greatly appreciated.

Take care,
Russ Heaton

Re: Testing with Nagios XI

Posted: Mon Jun 08, 2015 9:21 am
by tmcdonald
Submitting multiple passives in quick succession is the way to handle this. The link you posted is for custom variables in the service definition, not for changing the state type.

Re: Testing with Nagios XI

Posted: Mon Jun 08, 2015 12:23 pm
by rh3124
Thank you.

Re: Testing with Nagios XI

Posted: Mon Jun 08, 2015 12:36 pm
by ssax
Here is some more information on that if you would like to programmatically do it:

http://old.nagios.org/developerinfo/ext ... and_id=115