Page 1 of 1

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

Posted: Tue Apr 02, 2013 6:59 am
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

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

Posted: Tue Apr 02, 2013 10:03 am
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.

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

Posted: Wed Apr 03, 2013 1:34 am
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

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

Posted: Wed Apr 03, 2013 9:49 am
by slansing
Great, let us know how it goes!

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

Posted: Mon Apr 08, 2013 6:08 am
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

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

Posted: Mon Apr 08, 2013 2:20 pm
by abrist
Great! You could always change the CGIs if you are really bored. Locking thread.