Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

commando677

Reviews(1)
If you get a no OID found this occurs if you have no alerts/warnings or information at all to report, the error kind of threw me for a loop to. I just commented that No OID found as long as I verified I was connecting correctly already.

I also made a modification to the faults check to report warnings correctly to Nagios. Here is the modified section I did.

if($type eq "fs") {
if($results[$i] > 4) {
$exit_state = NAGIOS_CRITICAL;
$output .= " " . $descriptions[$i] . "
";
}
if($results[$i] == 4) {
if ($exit_state ne NAGIOS_CRITICAL) {
$exit_state = NAGIOS_WARNING;
}
$output .= " " . $descriptions[$i] . "
";
}
next;
}