On Mon, 5 Jan 2009, jmose...@corp.xanadoo.com wrote:

> First, the syntax of the check_command should be:
>
> check_smtp!25!60
>
> And for that to work, the entry in your checkcommands.cfg would look like:
>
> # 'check_smtp' command definition
> define command{
>        command_name    check_smtp
>        command_line    $USER1$/check_smtp -H $HOSTADDRESS$ -p $ARG1$ -t
> $ARG2$
>        }

Thanks for clearing that up. I was getting the commandline parameters 
confused with the way Nagios is configured within.

------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to