{"id":1598,"date":"2018-08-02T13:38:41","date_gmt":"2018-08-02T12:38:41","guid":{"rendered":"https:\/\/www.lightsoftai.com\/?p=1598"},"modified":"2018-08-02T13:38:41","modified_gmt":"2018-08-02T12:38:41","slug":"mrtg-cfgmaker","status":"publish","type":"post","link":"https:\/\/www.lightsoftai.com\/?p=1598","title":{"rendered":"Mrtg cfgmaker"},"content":{"rendered":"<p>How to make cfgmaker to make your configuration from making a snmp-walk over the router of any kind.<\/p>\n<h2>Cfgmaker to make the configurations<\/h2>\n<p>Example: I want to make a mrtg.router.cfg file based on the snmp the router at ip <code lang=\"bash\">192.168.0.1<\/code> have.<\/p>\n<p><code lang=\"bash\">\/usr\/bin\/cfgmaker --output mrtg.router.cfg public@192.168.0.1<\/code><\/p>\n<p>This will generate the output file mrtg.router.cfg that have the snmp information the router provides.<\/p>\n<h2>Indexmaker<\/h2>\n<p>If an index.html page should be created run this command:<\/p>\n<p><code lang=\"bash\">indexmaker --output \/var\/www\/mrtg\/index.html mrtg.router.cfg<\/code><\/p>\n<p><!--adsense--><\/p>\n<h2>Mrtg<\/h2>\n<p>Then to make mrtg make the graphs, this have to be run as an cron or deamon. Remember that the first 2-3 runs will output some errors about it not finding any logs.<\/p>\n<p><code lang=\"bash\">mrtg mrtg.router.cfg <\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to make cfgmaker to make your configuration from making a snmp-walk over the router of any kind. Cfgmaker to make the configurations Example: I want to make a mrtg.router.cfg file based on the snmp the router at ip 192.168.0.1 have. \/usr\/bin\/cfgmaker &#8211;output mrtg.router.cfg public@192.168.0.1 This will generate the output file mrtg.router.cfg that have the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[83,82],"class_list":["post-1598","post","type-post","status-publish","format-standard","hentry","category-coding","tag-cfgmaker","tag-mrtg"],"_links":{"self":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/1598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1598"}],"version-history":[{"count":1,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/1598\/revisions"}],"predecessor-version":[{"id":1599,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/1598\/revisions\/1599"}],"wp:attachment":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}