large map

Max Hetrick maxhetrick at verizon.net
Thu Aug 27 22:10:16 CEST 2009


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/details

I 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagiosCfgVisualizer_Hosts.sh
Type: application/x-shellscript
Size: 4391 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090827/60499f8d/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list