Build precise queries to find exactly what you need
Press ESC to close
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!
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!