Home Directory Patches Nagios statusmap resizing with exclude/include buttton

statusmap resizing with exclude/include buttton

Bookmark and Share

Rating
0 votes
Favoured:
0
Hits
439
Compatible With
  • Nagios 3.x
Files:
FileDescription
statusmap.diffstatusmap.diff
include_all-orig.pnginclude_all-orig.png
include_all-patch.pnginclude_all-patch.png
include_parents-orig.pnginclude_parents-orig.png
include_parents-patch.pnginclude_parents-patch.png
exclude_parents_webservers-orig.pngexclude_parents_webservers-orig.png
Really exclude/include hostgroups from statusmap when using corresponding button, thus making it smaller and clearer.
Hi,

I'm currently using nagios3, and I would like to propose a patch to change the behaviour of the statusmap cgi.
It may not interest everybody, but it's quite useful in the
environment I use (hundred of monitored hosts).

Actually, when users select groups to exclude/include, the whole map is still displayed, with the not-selected groups just hidden, which is not quite useful for me.
The goal of this patch is to redraw the map with only the selected groups, as if they were the only one in the configuration.

This way, the map displayed "looks bigger", and the view is more user-friendly than usual.

Note:
the patch attached was developed for nagios 3.0.6 (debian version) but was tested it on the 3.2 version successfully...

Re-Note:
the patch also change the background color of host having critical/warning services but still being up, from green to the 'yellow' warning color.