I have added a service check for smtp and receive a warning error (** was not set **) from my config. Here is what I have for the command check:
check_command check_smtp!-w 5 -c 7 -t 5 -e "mywebsite.com"
command_line $USER1$/check_ping -H $HOSTADDRESS$ $ARG2$
What is wrong with my config?
[EDIT: This post needs to be moved into “Nagios Configuration Support”]