Passive checks show as disabled in TAC

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Passive checks show as disabled in TAC

Post 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?
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Passive checks show as disabled in TAC

Post 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!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Passive checks show as disabled in TAC

Post 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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Passive checks show as disabled in TAC

Post 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:
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Passive checks show as disabled in TAC

Post 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
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Passive checks show as disabled in TAC

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Passive checks show as disabled in TAC

Post 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. . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Passive checks show as disabled in TAC

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Passive checks show as disabled in TAC

Post 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 :)
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Passive checks show as disabled in TAC

Post by abrist »

I created an internal bug report in addition to the tracker report. Hopefully that will get this issue some legs.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked