Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Monitoring openvz resources using nagios and snmp

38 bytes added, 08:15, 7 April 2009
m
check_vzquota Without SNMP: some minor optical changes on OK state
$ret=1;
}
$ok=$ok."$vid:$resource $usage/$softlimit \n";
}
}
if ($ret == 0) {
print "OK - click on service-link for details...\n$ok";
} elsif ($ret == 1) {
print "WARNING - $warn\n";
} else {
print "CRITICAL - $crit\n";
}
exit($ret);
'
RET=$?
echo
exit $RET
</source>
15
edits