Visualize your nagios configuration

It’s unfair: The database admin got his DB layout, net network admin the network diagram. The sysadmin looses.

Now you’re able to plot the Nagios configuration with plot-config.pl to compete with others!  And it comes in handy to show it off, search for errors or documentation.

plot-config.pl walks through nagios configuration files and draws depencies between hosts (parent-child) and (optionally) shows the services per host. You can plot the graphviz graph bottom-up or left-right and even neato or circo graphs. Though the output is a colored SVG it’s jut a quick & dirty hack.

Here an example output of plot-config.pl (without services):

very minimal output of plog-config.pl
very minimal output of plog-config.pl

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.