Ad Widget

Collapse

Simple Check - SMTP on Windows Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JulianMummery
    Junior Member
    • Apr 2009
    • 4

    #1

    Simple Check - SMTP on Windows Question

    Hi all,

    I have read the ZABBIX manual quite a lot and also read a load of threads here on the forums about 'Simple Checks'.

    Anyway, I have setup a 'Simple Check' that monitors a remote Windows 2003 Server's SMTP service. Seems to work just fine until the SMTP service on the Windows Server hangs and then ZABBIX still thinks it is fine when it obviously is not.

    Example 1 - SMTP is Working
    Zabbix returns the value of 1 every 30 seconds which tells me that the SMTP service is OK. I fire up a cmd prompt and type 'telnet ipaddress 25'. This then returns some text from the SMTP server acknowledging the connection. So far so good.

    Example 2 - SMTP Stops Working
    Zabbix still returns the value of 1 every 30 seconds, this is not correct as the SMTP on the remote server has stopped sending and receiving emails. Also when you issue the 'telnet ipaddress 25' command from another machine it just returns blank with no welcome message. This tells me that SMTP is not working correctly. However ZABBIX thinks otherwise.

    I thought that a simple check could reliably test the status of SMTP, am I doing anything wrong.

    I will supply additional info/images etc if needed. Just wondered if anyone has experienced this also.
  • troffasky
    Senior Member
    • Jul 2008
    • 567

    #2
    No, a simple check is just that; it'll connect to a TCP port and report OK if it can connect and not OK if it can't. If it connects but gets no output [because some part of the SMTP server has hung, for example] it'll still report it as being OK. You might like to have a look at using 'echoping -S hostname' as an SMTP checker.

    Comment

    • atran
      Junior Member
      • May 2008
      • 8

      #3
      SMTP check

      I also have this problem...
      how do i use "echoping -S hostname" ?

      Comment

      • JulianMummery
        Junior Member
        • Apr 2009
        • 4

        #4
        Thanks Troffasky, do you know how to use echoping from within ZABBIX?

        Comment

        Working...