Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@jerico79
Favorites0
Views
Projects0
Hello, Thanks a lot for the grate check. Have updated the check with the following three new checks: - Information-LED - System-Error-LED - Temperature-LED Would be grate if you could update thee script so all can profit of new additional checks: elsif($test_name =~ m/^Information-LED$/i){ $oid = "2.8.1.2.0"; $data = SNMP_getvalue($snmp_session,$oid_prefix.$oid); $data_text='Check Fail'; $data_text='OK' if $data eq 0; } elsif($test_name =~ m/^System-Error-LED$/i){ $oid = "2.8.1.1.0"; $data = SNMP_getvalue($snmp_session,$oid_prefix.$oid); $data_text='Check Fail'; $data_text='OK' if $data eq 0; } elsif($test_name =~ m/^Temperature-LED$/i){ $oid = "2.8.1.3.0"; $data = SNMP_getvalue($snmp_session,$oid_prefix.$oid); $data_text='Check Fail'; $data_text='OK' if $data eq 0; }
Reviewed 13 years ago