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:
parent
c04775f88b
commit
1acb0665e8
2 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue