no OID issue and a minor update for warning levels

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;
}