1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-01 13:53:51 +00:00

Added suggestion made by @sumpfralle

This commit is contained in:
Alejandro Suarez 2019-11-29 12:59:05 +01:00 committed by Lars Kruse
parent c04775f88b
commit 1acb0665e8
2 changed files with 15 additions and 15 deletions

View file

@ -78,7 +78,6 @@ if ($ARGV[0] and $ARGV[0] eq "config")
{
die "Croaking: " . $session->error();
}
# print "graph_args --base 1000 -r --lower-limit 0 --upper-limit 100\n";
print "graph_args --base 1024 -l 0 --vertical-label Bytes --upper-limit " . ($response->{$sysRAMTotal} * 1024) . "\n";
print "graph_title RAM usage\n";
print "graph_category system\n";
@ -101,6 +100,7 @@ if (defined ($response = $session->get_request(-varbindlist => [$sysRAMUsage, $s
else
{
print "sysRAMUsage.value U\n";
print "sysRAMTotal.value U\n";
}
# vim:syntax=perl