Ad Widget

Collapse

SMTP sending test

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gregtompkins
    Junior Member
    • Sep 2011
    • 23

    #1

    SMTP sending test

    I am trying to figure out why my alerts are not going out. I am sending to a Microsoft SMTP server which then relays it to a hosted Exchange account. I checked the logs on my SMTP server and there is no activity coming from my debian zabbix server. But if I do the telnet test to port 25 from my debian server to my SMTP server i am getting messages. So how can I test a send and check the log (and which one) to make sure it is working?

    Thx!
  • heaje
    Senior Member
    Zabbix Certified Specialist
    • Sep 2009
    • 325

    #2
    1. How is your email media type defined?
    2. You can test by using "mutt" or "send mail" (assuming they are configured to use whatever SMTP server zabbix is configured for).

    Comment

    • vienna
      Junior Member
      • Mar 2013
      • 7

      #3
      I ran into the same problem yesterday.

      First configure your usermail. (administration->Users->Paul->Media->add)

      Now configure a notification for every state change (Configuration->Actions) and add the mail sending under Operations.

      Hope I didn't forget something, otherwise simply consult documentation -> notification.

      You can now just "do" something to breach a configured trigger and a mail will be sent.

      Check the successful sending under Monitoring->Events. There you should see your status change and an Ok or Failed as Action. If it is failed, something went wrong with the mail... . You got a little error report if you click the time of the event. Yesterday I got something like that: "wrong answer on MAIL FROM ..."

      BR,
      vienna

      Comment

      Working...