Re: [Nagios-users] Return code of 141 is out of bounds - SMTP Monitor

2009-01-06 Thread jmoseley




Duane Hill   wrote:


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

You're welcome.

James



--
___
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


Re: [Nagios-users] Return code of 141 is out of bounds - SMTP Monitor

2009-01-06 Thread Duane Hill
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_namecheck_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


Re: [Nagios-users] Return code of 141 is out of bounds - SMTP Monitor

2009-01-05 Thread jmoseley
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_namecheck_smtp
command_line$USER1$/check_smtp -H $HOSTADDRESS$ -p $ARG1$ -t
$ARG2$
}


James Moseley




   
 Duane Hill
 To 
   Nagios-users@lists.sourceforge.net  
 01/05/2009 10:31   cc 
 PM
   Subject 
   [Nagios-users] Return code of 141   
 Please respond to is out of bounds - SMTP Monitor 
 d.h...@yournetplu 
   s.com   
   
   
   
   




Every once in a while I will get a critical alert stating:

 Notification Type: PROBLEM

 Service: SMTP
 Host: Secondary Spam Filter
 Address: 192.168.1.50
 State: CRITICAL

 Date/Time: Tue Jan 6 00:43:01 UTC 2009

 Additional Info:

 (Return code of 141 is out of bounds)

I have the SMTP service defined as such:

 define service {   ; smtp port 25
 useynp-services-duane
 host_name  sec_spam_filt
 service_descriptionSMTP
 check_command  check_smtp!-p 25 -t 60
 }

I've checked list archives and have not found anything that closely
resembles the issue at hand.

What should I be looking for to correct this? Perhaps this is a FreeBSD
port issue that needs to be reported to the port maintainer.

Nagios version is v3.0.5 running on FreeBSD v6.3.

-d

--

___
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



--
___
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