Build precise queries to find exactly what you need
Press ESC to close
Guys, what’s wrong?
error: Invalid check specified by -x parameter.
but from terminal is okay: /etc/nagios-plugins/printer_status -H 192.168.0.197 -x “MODEL” Samsung SCX-472x Series, Serial # Z8Z7BJDC400094K
define command:
define command{ command_name printer_status command_line /etc/nagios-plugins/printer_status -H $HOSTADDRESS$ -C $ARG1$ -x $ARG2 -w $ARG3$ -c $ARG4$ }
service: define service{ use generic-service hostgroup_name printers service_description Printer_Model check_command printer_status!public!”MODEL” }
I believe the wrong is check_command string. But it’s the same as aytor’s and autor can’t lie to us.
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!