Network-Weathermap Nagios Hover
Again a nice little php script to host on your webserver running Nagios Core and Network-Weathermap. The script shows your nagios host state when hovering over a nagios node on a weathermap. And should look something like this.
Use & Configuration is very simple, if there is anything you need, let me know!
Inside a Network Weathermap
Just the overlibgraph
The weathermap configuration inside the header of the php file
``` // weathermaphover.php // // Script creates an image/png using GD showing the nagios host state. // Very useful in network-weathermap! // It fetches the info from status.dat // // +-------------------------------------------------------------------------+ // | WeathermapHover for Nagios v0.7 | // | by Jan Jaap van Santen | // | github: janjaaps | // | email: github@lebber.net | // | email: janjaap@scict.nl | // +-------------------------------------------------------------------------+ // | Usage is very simple using the OVERLIBGRAPH on a NODE | // | in the weathermap config. | // | And with just a monitored nagios host as input: | // +-------------------------------------------------------------------------+ // | NODE##### Code [Github - weathermaphover.php](https://github.com/janjaaps/nagios-weathermap/blob/master/weathermaphover.php) [^n] notes & links [^n]: Nagios Core https://www.nagios.org/projects/nagios-core/ [^n]: Network-Weathermap http://network-weathermap.com [^n]: the bits https://github.com/janjaaps/nagios-weathermap/blob/master/weathermaphover.php
SHARE THIS POST