Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
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.