# 'check_p4' command definition # Ensure that the path to 'check_p4.rb' is correct! define command{ command_name check_p4 command_line /usr/local/lib/nagios/plugins/check_p4.rb -H '$HOSTADDRESS$' -p '$ARG1$' -w 30 -c 7 } define command{ command_name check_p4_ssl command_line /usr/local/lib/nagios/plugins/check_p4.rb -H '$HOSTADDRESS$' -p '$ARG1$' --ssl -w 30 -c 7 }