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

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

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

Postby eltrasimaco » Tue Apr 02, 2013 6:59 am

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
eltrasimaco
 
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

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

Postby slansing » Tue Apr 02, 2013 10:03 am

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.
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

Postby eltrasimaco » Wed Apr 03, 2013 1:34 am

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
eltrasimaco
 
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

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

Postby slansing » Wed Apr 03, 2013 9:49 am

Great, let us know how it goes!
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

Postby eltrasimaco » Mon Apr 08, 2013 6:08 am

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
eltrasimaco
 
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

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

Postby abrist » Mon Apr 08, 2013 2:20 pm

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


Return to Community Support

Who is online

Users browsing this forum: cmontesdeoca and 50 guests