Testing with Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rh3124
Posts: 3
Joined: Wed Jan 21, 2015 10:47 am

Testing with Nagios XI

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Testing with Nagios XI

Post 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.
Former Nagios employee
rh3124
Posts: 3
Joined: Wed Jan 21, 2015 10:47 am

Re: Testing with Nagios XI

Post by rh3124 »

Thank you.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Testing with Nagios XI

Post 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
Locked