Check smtp service warning error


#1

Hello all,

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:

[code]define service{
use linux-service
host_name realperson12
service_description SMTP_Response_Time_-rp12_TEST-
check_command check_smtp!-w 5 -c 7 -t 5 -e "mywebsite.com"
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups nagios-admins
notification_interval 30
notification_period 24x7
}

define command{
command_name check_smtp
command_line $USER1$/check_ping -H $HOSTADDRESS$ $ARG2$
}[/code]
What is wrong with my config?

[EDIT: This post needs to be moved into “Nagios Configuration Support”]


#2

This

    command_name                    check_smtp
    command_line                    $USER1$/**check_ping** -H $HOSTADDRESS$ $ARG2$

#3

snicker heheheh


#4

we’ve all done it at one time or another… !shy :wink: