Problem with smtp check

Brian C. Hill bchill at bch.net
Wed May 23 21:42:19 CEST 2007


	I figured this out. The check_smtp plugin doesn't like the

	-C 'mail from: joe at bloe.dom' -R 250

and

	-C 'data' -R 354 -C '.' -R 250

pieces to appear together. If you leave out the "mail from" sequence
and use -f instead, it works. That seems like a bug in the plugin.

Brian
======================================================================
On Wed, May 23, 2007 at 12:02:39PM -0700, Brian C. Hill wrote:
> 	I am having the same problem, regardless of the hardware,
> and using the latest plugins. I don't think it is a coincidence
> that we're having the same problem - seems like a bug to me.
> 
> 	Is no one else having this problem?
> 
> Brian
> ======================================================================
> On Sat, Mar 17, 2007 at 03:48:39PM -0400, Morris, Patrick wrote:
> > > I want to add the advanced smtp check such that i would try 
> > > to send a mail to the remote server form our monitoring server.
> > > 
> > > This is how i' planing to run a check 
> > > 
> > >  /opt/nagios/libexec/check_smtp -H ip-address -C "EHLO test" 
> > > -C "MAIL FROM: root" -C "RCPT TO: postmaster at any-domain.com 
> > > <mailto:postmastrer at nagioscheck.com> " -C "DATA" -C "testing 
> > > 1 2 3" -C "." -C "QUIT" 
> > > 
> > > however this gives me an error 
> > > 
> > > *** glibc detected *** realloc(): invalid next size: 
> > > 0x095ed930 *** Aborted
> > > 
> > > I have tested this on newer nagios plugins which also give me 
> > > same error................ 
> > > 
> > > Can somebody tell me if anything is wrong in this and the 
> > > likely solution  or  hint .......
> > 
> > You've apparently either got a bad plugin or a hardware problem on your
> > Nagios server.
> > 
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > 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
> 
> -- 
>    _____________________________________________________________________
>   / Brian C. Hill	bchill at bch.net   	http://brian.bch.net	\
>   | UNIX Specialist	BCH Technical Services	http://www.bch.net	|
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> 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

-- 
   _____________________________________________________________________
  / Brian C. Hill	bchill at bch.net   	http://brian.bch.net	\
  | UNIX Specialist	BCH Technical Services	http://www.bch.net	|

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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