1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

snmp__mikrotik: unify titles and category

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
Olivier Mehani 2022-01-05 22:07:04 +11:00
parent d212e1264d
commit 387bb863f1

View file

@ -88,8 +88,8 @@ if ($ARGV[0] and $ARGV[0] eq "config") {
if (defined $response) { if (defined $response) {
print "multigraph flash\n"; print "multigraph flash\n";
print "graph_args --base 1024 -l 0 --vertical-label Bytes --upper-limit " . ($response->{$sysFlashTotalOID} * 1024) . "\n"; print "graph_args --base 1024 -l 0 --vertical-label Bytes --upper-limit " . ($response->{$sysFlashTotalOID} * 1024) . "\n";
print "graph_title Flash disk usage\n"; print "graph_title Disk usage\n";
print "graph_category system\n"; print "graph_category disk\n";
print "graph_info This graph shows the router's flash disk usage.\n"; print "graph_info This graph shows the router's flash disk usage.\n";
print "graph_order Total Used\n"; print "graph_order Total Used\n";
print "graph_vlabel bytes\n"; print "graph_vlabel bytes\n";
@ -103,7 +103,7 @@ if ($ARGV[0] and $ARGV[0] eq "config") {
if (defined $response) { if (defined $response) {
print "multigraph ram\n"; print "multigraph ram\n";
print "graph_args --base 1024 -l 0 --vertical-label Bytes --upper-limit " . ($response->{$sysRAMTotalOID} * 1024) . "\n"; print "graph_args --base 1024 -l 0 --vertical-label Bytes --upper-limit " . ($response->{$sysRAMTotalOID} * 1024) . "\n";
print "graph_title RAM usage\n"; print "graph_title Memory usage\n";
print "graph_category system\n"; print "graph_category system\n";
print "graph_info This graph shows the router's memory usage.\n"; print "graph_info This graph shows the router's memory usage.\n";
print "graph_order Total Used\n"; print "graph_order Total Used\n";