check_smtp problem

Subhendu Ghosh sghosh at sghosh.org
Wed Aug 14 04:17:01 CEST 2002


can you run the plugin from the command line and check the result of 
'echo $?' after the completion of execution.

Also can you run strace - on a commandline execution of the plugin if the 
above echo returned a "2".

either list works for these questions...

-sg


On Tue, 13 Aug 2002 andrew.slater at netstrategy.net wrote:

> Hi all,
> 
> I know this is more suited to the plugins list but there really isnt much
> activity there, so I thought I would post here (apologies to any if this is
> out of order).
> 
> My problem is that with a fresh install of Nagios 1.04b using the 1.3b1
> plugins, I am getting a CRITICAL response to some check_smtp service
> checks.
> 
> Nagios is running on a RedHat 7.3 system (installed from source not RPMs),
> the check_smtp is the default command and actually works succesfully on
> most of my mail servers. In fact, on the problem servers the check returns
> an "SMTP OK: 0 second response time", but still returns CRITICAL as the
> service status. The details are as follows;
> 
> Domino 5.11 smtp server - OK: 0 second response time - CRITICAL
> Domino 5.10 smtp server - OK: 0 second response time - CRITICAL
> MS Exchange 2000 server - OK: 0 second response time - CRITICAL
> qmail smtp server - OK: 0 second response time - OK
> MAILsweeper esmtp server - OK: 0 second response time - OK
> 
> All configs for the above services and servers are identical (except IP
> address of course!) It appears that the problem is only occuring on Domino
> and Exchange servers.
> 
> Has anyone seen this problem before, and if so is there a solution? I would
> like to go live with the monitoring system, but really would prefer to have
> notifications working correctly on our mail servers. I have looked briefly
> at the source code of the check_smtp but cant find anything that glares out
> at me. (Havent coded in a looong time). I now throw myself on the combined
> wisdom of the list.
> 
> Any takers?
> 
> Andrew Slater
> 
> 
> 
> 
> NetStrategy Pty Ltd
> 1 Vuko Place Warriewood
> Locked Bag 2000 Warriewood 
> NSW 2102 Sydney Australia
> 
> Telephone: +61-2-9970-2000 Fax: +61-2-9970-2100 
> 24 by 7 Helpdesk +61-1300-736-383
> 
> ---What we do---
> We help more customers win by lowering their IT costs and solving
> their problems. Call us to find out how we can help you win.
> 
> ---Legal Notice---
> Confidential Communication
> This email and any files transmitted with it is intended solely for the use
> of the individual or entity to whom it is addressed. If you are not the
> intended recipient, or the person responsible for delivering the email to
> the intended recipient, please immediately notify the sender by email and
> delete the original transmission and its contents. Any use (which includes
> dissemination, forwarding, printing, or copying) of this email and any file
> attachments is prohibited.
> 
> ---Liability Disclaimer---
> Before opening or using attachments, check them for viruses and defects. 
> Our liability is limited to resupplying any affected attachments.
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 

-- 




-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31




More information about the Users mailing list