Active checks disabled&passive enabled = [ugly] red cross

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
eltrasimaco
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

Active checks disabled&passive enabled = [ugly] red cross

Post by eltrasimaco »

Is there any way to get rid of the disabled.gif icon in the nagios web interface, when changing from active to passive checks?
Thanks
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Active checks disabled&passive enabled = [ugly] red cros

Post by slansing »

You may be able to remove it from the css sheet manually or remove the .gif completely "I am not sure of the effect," though your changes may be overwritten by an upgrade. To do this, you could use a "in-browser addon" like Firebug to find exactly where the element is located and in what file.
eltrasimaco
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

Re: Active checks disabled&passive enabled = [ugly] red cros

Post by eltrasimaco »

Thank you, i found it is hard-coded in the extinfo.c and in the status.c cgis, so I think there's no way to cheat it in the css file; i'll change the disabled.gif icon then
Best regards
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Active checks disabled&passive enabled = [ugly] red cros

Post by slansing »

Great, let us know how it goes!
eltrasimaco
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

Re: Active checks disabled&passive enabled = [ugly] red cros

Post by eltrasimaco »

Erasing the gif gave an ugly square, so I made a fully transparent one (just the canvas + full transparent), renamed it, and it is now working as expected
Best regards
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Active checks disabled&passive enabled = [ugly] red cros

Post by abrist »

Great! You could always change the CGIs if you are really bored. Locking thread.
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