{"id":83,"date":"2009-04-21T11:03:19","date_gmt":"2009-04-21T09:03:19","guid":{"rendered":"http:\/\/henry78.at\/?p=83"},"modified":"2009-04-21T11:03:19","modified_gmt":"2009-04-21T09:03:19","slug":"visualize-your-nagios-configuration","status":"publish","type":"post","link":"https:\/\/henry78.at\/?p=83","title":{"rendered":"Visualize your nagios configuration"},"content":{"rendered":"<p>It&#8217;s unfair: The database admin got his <a href=\"http:\/\/course.swu.ac.th\/documentation\/developer\/database.gif\" target=\"_self\">DB layout<\/a>, net network admin the <a href=\"http:\/\/ultimatemythtv.files.wordpress.com\/2007\/10\/network_1.gif\" target=\"_self\">network diagram<\/a>. The sysadmin looses.<\/p>\n<p>Now you&#8217;re able to plot the <a href=\"http:\/\/www.nagios.org\" target=\"_blank\">Nagios<\/a> configuration with <em>plot-config.pl<\/em> to compete with others! \u00a0And it comes in handy to show it off, search for errors or documentation.<\/p>\n<p><a href=\"http:\/\/henry78.at\/wordpress\/wp-content\/uploads\/2009\/04\/plot-config-05.pl\">plot-config.pl<\/a> 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&#8217;s jut a quick &amp; dirty hack.<\/p>\n<p>Here an example output of plot-config.pl (without services):<\/p>\n<figure id=\"attachment_85\" aria-describedby=\"caption-attachment-85\" style=\"width: 398px\" class=\"wp-caption aligncenter\"><a title=\"very minimal output of plog-config.pl\" href=\"http:\/\/henry78.at\/wordpress\/wp-content\/uploads\/2009\/04\/nag_conf_graphd.svg\"><img loading=\"lazy\" class=\"size-medium wp-image-85\" title=\"nag_conf_graphd\" src=\"http:\/\/henry78.at\/wordpress\/wp-content\/uploads\/2009\/04\/nag_conf_graphd.svg\" alt=\"very minimal output of plog-config.pl\" width=\"398\" height=\"300\" \/><\/a><figcaption id=\"caption-attachment-85\" class=\"wp-caption-text\">very minimal output of plog-config.pl<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s unfair: The database admin got his DB layout, net network admin the network diagram. The sysadmin looses. Now you&#8217;re able to plot the Nagios configuration with plot-config.pl to compete with others! \u00a0And it comes in handy to show it off, search for errors or documentation. plot-config.pl walks through nagios configuration files and draws depencies &hellip; <a href=\"https:\/\/henry78.at\/?p=83\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Visualize your nagios configuration<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[11,12,13],"_links":{"self":[{"href":"https:\/\/henry78.at\/index.php?rest_route=\/wp\/v2\/posts\/83"}],"collection":[{"href":"https:\/\/henry78.at\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/henry78.at\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/henry78.at\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/henry78.at\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=83"}],"version-history":[{"count":0,"href":"https:\/\/henry78.at\/index.php?rest_route=\/wp\/v2\/posts\/83\/revisions"}],"wp:attachment":[{"href":"https:\/\/henry78.at\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/henry78.at\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/henry78.at\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}