{"id":1868,"date":"2019-09-27T04:34:04","date_gmt":"2019-09-27T04:34:04","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1868"},"modified":"2019-09-27T04:34:05","modified_gmt":"2019-09-27T04:34:05","slug":"manually-create-graph-of-device-in-librenms","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/manually-create-graph-of-device-in-librenms\/","title":{"rendered":"Manually create graph of device in LibreNMS"},"content":{"rendered":"<p>In LibreNMS, you can hit the &#8220;Show RRD Command&#8221; to give you the command to manually create a graph.\u00a0 Copy the command.<\/p>\n<p>In the command below, the path shows the IP address of the device to generate the graph from.\u00a0 Theoretically you can change that to a different IP to generate graphs from other devices.<\/p>\n<p>SSH into server server and run the command, change \/tmp\/randomtext to something like \/root\/mikrotik_092619.png or whatever you want.\u00a0 You can also adjust the size, color etc of the graph.<\/p>\n<pre> rrdtool graph \/tmp\/randomtext --alt-y-grid --alt-autoscale-max --rigid -E --start 1515946500 --end 1516551300 --width 1712.7 --height 483 -c BACK#EEEEEE00 -c SHADEA\n#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono -\n-font-render-mode normal COMMENT:'Volts Cur Min Max\\n' DEF:sensor495=\/opt\/librenms\/rrd\/192.168.88.1\/sensor-voltage-routeros-0.rrd:sensor:AVERAGE LINE1:sensor495#CC0000:'Voltage 0\n ' GPRINT:sensor495:LAST:%5.1lfV GPRINT:sensor495:MIN:%5.1lfV GPRINT:sensor495:MAX:%5.1lfV\\l<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>In LibreNMS, you can hit the &#8220;Show RRD Command&#8221; to give you the command to manually create a graph.\u00a0 Copy the command. In the command below, the path shows the IP address of the device to generate the graph from.\u00a0 &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/manually-create-graph-of-device-in-librenms\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[352],"tags":[720,353,389,719],"class_list":["post-1868","post","type-post","status-publish","format-standard","hentry","category-librenms","tag-graph","tag-librenms","tag-nms","tag-rrd"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1868"}],"version-history":[{"count":3,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1868\/revisions"}],"predecessor-version":[{"id":2658,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1868\/revisions\/2658"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}