SMTP/POP3 Critical

Subhendu Ghosh sghosh at sghosh.org
Fri May 30 19:41:44 CEST 2003


look at your command.cfg/checkcommand.cfg/miscommand.cfg  for the command 
definitions.

the service definition should probably be something like:

check_smtp!6!9   - where 6 for warning and 9 for critical

the command definition should be something like:

check_smtp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$


On Fri, 30 May 2003, Obantec Support wrote:

> Hi
> 
> ok so i get the warning but where do i increase the 3 sec to say 6 sec for
> normal nagios running. (i.e not on the command line).
> 
> tried adding  -w 6 to services config line but syntax check -v fails.
> 
> Mark
> 
> ----- Original Message -----
> From: "Subhendu Ghosh" <sghosh at sghosh.org>
> To: <Nagios-users at lists.sourceforge.net>
> Sent: Thursday, May 29, 2003 8:47 PM
> Subject: Re: [Nagios-users] SMTP/POP3 Critical
> 
> 
> >
> > This looks fine.  you are getting a warning  because 6 sec is longer than
> > 3 sec...
> >
> > -sg
> >
> > On Thu, 29 May 2003, Obantec Support wrote:
> >
> > > Hi
> > >
> > > input
> > >
> > > [root at proteus3 libexec]# ./check_smtp -H mail.mydomainhere.com -w 3 -c
> 10 -f
> > > support at mydomainhere.com; echo $?
> > > SMTP WARNING - 6 second response time 1
> > >
> > > log
> > >
> > > May 29 09:17:37 proteus2 sendmail[31039]: NOQUEUE: connect from [IP of
> > > Nagios Box]
> > > May 29 09:17:37 proteus2 sendmail[31039]: AUTH: available mech=PLAIN
> LOGIN
> > > DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN
> > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 220
> > > relay.obantec.net ESMTP Sendmail 8.12.9/8.12.9; Thu, 29 May 2003
> 09:17:37
> > > +0100
> > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- HELO
> proteus3
> > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250
> > > relay.obantec.net Hello [IP of Nagios Box], pleased to meet you
> > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- MAIL FROM:
> > > support at mydomainhere.com
> > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250 2.1.0
> > > support at mydomainhere.com... Sender ok
> > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- QUIT
> > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 221 2.0.0
> > > relay.mydomainhere.net closing connection
> > > May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039:
> > > from=support at mydomainhere.com, size=0, class=0, nrcpts=0, proto=SMTP,
> > > daemon=MTA, relay=[IP of Nagios Box]
> > >
> > > As to the versions well i just downloaded the code and using
> check_smtp -V
> > > reveals
> > >
> > > check_smtp (nagios-plugins 200211131100-snapshot) 1.8
> > >
> > > mark
> > >
> > >
--



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list