Mar 13

This is a potentially controversial patch, so may not get into the Nagios core code.

We’re working on integrating SNMPtraps into Opsview which are passive checks by nature. However, when a service is initially added into Nagios, the CGIs show them in a PENDING state, which looks like an error. We prefer to have a sea of green when things are OK.

A PENDING state is fine for a distributed monitoring setup, because the active check on the slaves will get through to the master soon, but not with other “irregular” passive checks. I couldn’t find a way to distinguish between a passive, “going to get a result from a distributed slave soon”, and a passive, “don’t know when the next result is going to be”.

So this patch will amend the CGIs so that passive checks (or more precisely, checks that are not scheduled to run) are displayed as OK, rather than PENDING.

Tagged with:
Nagios © 1999-2011 Nagios Enterprises LLC. Nagios, the Nagios logo, and Nagios graphics are the servicemarks,
trademarks, or registered trademarks owned by Nagios Enterprises, LLC. All Rights Reserved.
Opsview © 2008-2011 Opsera Ltd. Opsview, the Opsview Logo, and Opsview graphics are the
trademarks or registered trademarks owned by Opsera Limited. All Rights Reserved.
preload preload preload