{"id":80,"date":"2015-05-08T00:58:16","date_gmt":"2015-05-07T22:58:16","guid":{"rendered":"https:\/\/blog.unetresgrossebite.com\/?p=80"},"modified":"2015-05-08T00:58:41","modified_gmt":"2015-05-07T22:58:41","slug":"multi-router-traffic-grapher","status":"publish","type":"post","link":"https:\/\/blog.unetresgrossebite.com\/?p=80","title":{"rendered":"Multi Router Traffic Grapher"},"content":{"rendered":"<p>Also known as MRTG, this solution is perfect to generate graphs from SNMP checks.<br \/>\nMRTG would most likely be used to graph bandwidths and throughput: running their configuration generation utility (cfgmaker) without options would output everything related to your SNMP target network interfaces. Although, MRTG is virtually able to deal with anything your SNMP target can send back (disks, load, memory, &#8230;).<\/p>\n<p>MRTG is very modular. Metrics may be stored in several formats, and viewed by several interfaces.<br \/>\nShipped with its own html indexes generators, MRTG main task is to collect SNMP data.<\/p>\n<p>Default web user interface is more of test page, than an actual supervision solution front page.<br \/>\nFrom there, several solutions came up, others grew, aiming to wrap MRTG greatness on some more-or-less powerful interfaces.<br \/>\n<a href=\"http:\/\/my14all.sourceforge.net\/\">14all.cgi<\/a> is one of the more popular frontend to MRTG, providing with a very simple, yet powerful, interface to your metrics.<br \/>\n<a href=\"http:\/\/www.steveshipway.org\/software\/\">router2.cgi<\/a> looks more exhaustive on paper &#8211; I still haven&#8217;t tested it yet.<br \/>\nSolutions such as Cacti as well, may also use MRTG.<\/p>\n<p>An other popular solution to use over MRTG, is <a href=\"http:\/\/network-weathermap.com\/\">PHP-Weathermap<\/a> (not to confuse with <a href=\"http:\/\/weathermap4rrd.tropicalex.net\/\">Weathermap4rrds<\/a>, their configuration syntax being almost identic, <a href=\"http:\/\/weathermap4rrd.tropicalex.net\/directives.php\">the latter lacks a few features<\/a>\u00a0over <a href=\"http:\/\/network-weathermap.com\/manual\/0.97a\/pages\/config-reference.html\">the original<\/a>).<br \/>\nDerivatives may be found on <a href=\"http:\/\/weathermap.ovh.net\/\">OVH own network weathermap<\/a>\u00a0(by the way, my congratulations to the intern that most likely spend several days, configuring this map). You&#8217;ve got the idea: placing and connecting your objects, associating your rrdtool collections to specific links.<\/p>\n<p>So far, I&#8217;ve mostly used 14all.cgi, which is awesome dealing with graphs &#8211; generating graphs by clicking specific points on an image is not possible, using generic MRTG interface.<br \/>\nAlthough, I&#8217;m still not convinced by the overall presentation of these graphs. While working for Smile, my manager was nagging me about this. I ended up writing\u00a0<a href=\"https:\/\/gitlab.dedibox.unetresgrossebite.com\/DevOps\/puppet\/blob\/master\/modules\/mrtg\/files\/js\/mrtg.js\">my own client<\/a>, re-using munin CSS and 14all.cgi graphs. Then, adding weathermap support. And finally, keeping a copy of generated maps to provide with an history presented to web clients.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Also known as MRTG, this solution is perfect to generate graphs from SNMP checks. MRTG would most likely be used to graph bandwidths and throughput: running their configuration generation utility (cfgmaker) without options would output everything related to your SNMP target network interfaces. Although, MRTG is virtually able to deal with anything your SNMP target [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":81,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,2],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/posts\/80"}],"collection":[{"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=80"}],"version-history":[{"count":1,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions\/82"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/media\/81"}],"wp:attachment":[{"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}