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):
Of course I run gentoo and I like it to stick to the latest (masked) Gnome version. As it is quite a task to control every package prior to adding it to package.keywords, I worte upgrade_all.
‘upgrade_all’ walks through ‘world’ and finds all packages that would be downgraded on next emerge, shows the according eix-stanza and prompts before adding a stablilizing line to package.keywords. Though it’s a quick shot it works for me, so feel free to edit and extend it, but don’t forget to let me know.