Page 1 of 2

Passive checks show as disabled in TAC

Posted: Thu Oct 17, 2013 1:02 pm
by niebais
We've found that passive checks show up as disabled in the Tactical Overview under the Active Checks column. Our customer would like those to not show as disabled. We tried the method of setting active_checks_enabled to 1 and setting the check_period to none for the passive services. This fixes the TAC but this method causes freshness checks to not work and causes the latency to go really high.

Is there a way to make passive checks not be disabled active checks?

Re: Passive checks show as disabled in TAC

Posted: Thu Oct 17, 2013 3:48 pm
by sreinhardt
It would likely be something that needs to be altered on the php side of things. That file should be unencrypted, feel free to have a look. Otherwise as time permits we will take a look as well! I'll also throw it in as a bug fix to our internal tracking system for you!

Re: Passive checks show as disabled in TAC

Posted: Thu Oct 17, 2013 3:56 pm
by niebais
In the Service Detail page, the passive checks have the green arrow icon that says active checks are disabled. It would be nice to be able to distinguish passive only services from disabled active checks as well.

Re: Passive checks show as disabled in TAC

Posted: Thu Oct 17, 2013 4:11 pm
by BanditBBS
niebais wrote:In the Service Detail page, the passive checks have the green arrow icon that says active checks are disabled. It would be nice to be able to distinguish passive only services from disabled active checks as well.
Just to put another voice out there...I agree with everything he is saying :lol:

Re: Passive checks show as disabled in TAC

Posted: Thu Oct 17, 2013 4:20 pm
by yancy
Hey,

So in other words, you would like just the "green arrow passive" icon to show regardless of whether active checks are disabled or enabled?

-Yancy

Re: Passive checks show as disabled in TAC

Posted: Fri Oct 18, 2013 11:08 am
by niebais
I think it would make sense if the green arrow icon showed only if passive checks are enabled. And instead of saying "active checks disabled" it would say "passive check". You might have the case where service is both active and passive, in this case you would show the green icon as well and maybe say "active-passive check" or have a separate icon to show that it's an active check along side the passive icon.

I guess the main issue is it saying, "disabled." When users see "disabled" they think something isn't working but it really is.

Re: Passive checks show as disabled in TAC

Posted: Fri Oct 18, 2013 1:34 pm
by abrist
Do you just want to hide the "disabled" fields? This can be done by editing the php. Delineating between passive and active checks that have active checks disabled is a much more difficult edit as the xicore ajax calls would need to be altered. . .

Re: Passive checks show as disabled in TAC

Posted: Thu Jan 02, 2014 2:17 pm
by niebais
Sorry to leave this thread dormant. For posterity I've attached the changes that we ended up using.

http://tracker.nagios.com/view.php?id=479

Re: Passive checks show as disabled in TAC

Posted: Thu Jan 02, 2014 2:24 pm
by BanditBBS
You are going to have to redo these changes every time a new version is installed, correct? I'd love it if they incorporated this into XI, as I like it :)

Re: Passive checks show as disabled in TAC

Posted: Thu Jan 02, 2014 2:55 pm
by abrist
I created an internal bug report in addition to the tracker report. Hopefully that will get this issue some legs.