Build precise queries to find exactly what you need
Press ESC to close
@mattrk
Member Since: March 19, 2012
Favorites0
Views
Projects0
So far so good. The only issue i'm running into is with the STATUS check. I setup services for three of my printers and i'm getting weird results. Nagios is giving me the following: WARNING: Printer status is idle When i do an SNMPwalk on 1.3.6.1.2.1.25.3.5.1.1.1 2 of that printer i get the following: INTEGER: idle(3) Looking at the script it appears i should be getting an OK: but i'm getting a WARNING: instead. Here is my check command definition: define command { command_name check_snmp_printer command_line $USER1$/check_snmp_printer -H $HOSTADDRESS$ -C $ARG1$ -x $ARG2$ -w $ARG3$ -c $ARG4$ } And my service command: define service { service_description Status check_command check_snmp_printer!public!STATUS!! host_name media-stats-printer event_handler_enabled 0 use generic-service contact_groups +admins } Any advice would be greatly appreciated. Thanks!
Reviewed 14 years ago