Search Exchange
Search All Sites
Login
statusmap resizing with exclude/include buttton
Compatible With
- Nagios 3.x
Owner
Hits
52291
Files:
| File | Description |
|---|---|
| statusmap.diff | diff file |
| include_all-orig.png | complete map (non-patched) |
| include_all-patch.png | complete map (patched) |
| include_parents-orig.png | only a few host included (non-patched) |
| include_parents-patch.png | only a few host included (patched) |
| exclude_parents_webservers-orig.png | some excluded hosts (non-patched) |
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.
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.
Reviews (2)
Works great with Nagios 3.2.3 on RHEL5! Quite useful when dealing with a multi-tenant system.
byhuangyi, November 16, 2011
Problem ?
How to use statusmap.diff
thanks.
How to use statusmap.diff
thanks.


New Listings



