Simone Felici wrote:
Hello!I would be interested too.BTW I've tested the script and it generates my an image 32767px × 119px, also not easy readable, due 800hosts and 1700services.
Yeah, it's a rather large map too, but it's more readable than some of the Nagios maps. I only have 160 Hosts and 480 services. What I did for the main network map, was trim out all the services and have it just print the host and dependencies with an IP address.
Attached is the shell script that was edited from NagiosExchange: http://exchange.nagios.org/directory/Addons/Frontends-(GUIs-and-CLIs)/Linux-Interfaces/nagiosCfgVisualizer/detailsI have another that I changed that does just hosts and services as well. All I did was delete the items I didn't want gathered from the original script.
The original author had no usage lines in the script, so you can either edit it to include fulls paths, or just copy objects.cache to a working directory and work from it there.
# USAGE: You need to be in the same directory where a copy # of objects.cache resides. # cp /var/log/nagios/objects.cache . # sh /path/to/nagiosCfgVisualizer_Hosts.sh objects.cache Regards, Max
nagiosCfgVisualizer_Hosts.sh
Description: application/shellscript
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null