Ad Widget

Collapse

Zabbix getting delayed to send Email & SMS Alerts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vijaya.r85
    Junior Member
    • Apr 2009
    • 20

    #1

    Zabbix getting delayed to send Email & SMS Alerts

    Hi,

    Till friday, my Zabbix was working perfectly without any issues. Today, I found an issue like the mail and sms alerts generated are getting delayed by a period of 1 hour and more. This issue seems started on saturday. I found that there was an hour/more delay to reach the SMTP server. From there it takes a minute or two to get queued & delivered. If we think in an angle, that the issue might be due to SMTP load, why it is does not send the sms on time? I don know why this has happened and How to solve this.

    Please help.

    Thanks in Advance,
    Vijaya
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    anything interesting in zabbix server log or action log ?
    which version of zabbix ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • vijaya.r85
      Junior Member
      • Apr 2009
      • 20

      #3
      re: Zabbix getting delayed to send Email & SMS Alerts

      Nothing remains changed in server log. In dashboard, am able to see "In progress" status for the devices. From the time of configuration, I have not seen this status. Version is 1.6.4.

      Kindly help.

      Thanks in advance.
      Vijaya

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        "in progress" for the actions ?
        what is the option SenderFrequency for zabbix server set to ?
        Zabbix 3.0 Network Monitoring book

        Comment

        • vijaya.r85
          Junior Member
          • Apr 2009
          • 20

          #5
          Zabbix getting delayed to send Email & SMS Alerts

          SenderFrequency is 30 sir

          Comment

          • vijaya.r85
            Junior Member
            • Apr 2009
            • 20

            #6
            Zabbix getting delayed to send Email & SMS Alerts

            Still the problem persists and I am not able to trace the cause for it. I have disabled all the actions and enabled a test action. I found that, when an issue comes in single, it is working. When issues are coming in bulk, it moves to "In Progress". ie., takes time to get delivered.


            Kindly help.

            Thanks in advance.
            Vijaya

            Comment

            • richlv
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Oct 2005
              • 3112

              #7
              is there something like greylisting on your email server ?
              Zabbix 3.0 Network Monitoring book

              Comment

              • vijaya.r85
                Junior Member
                • Apr 2009
                • 20

                #8
                Re: Zabbix getting delayed to send Email & SMS Alerts

                No, grey listing is not there. In such a case also, it should work for the sms right?

                Comment

                • richlv
                  Senior Member
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Oct 2005
                  • 3112

                  #9
                  are sms messages being sent over direct modem connection ?
                  when you tried with the single action, did it use only single media type or multiple ?
                  if it used multiple, could you try with email only ?
                  Zabbix 3.0 Network Monitoring book

                  Comment

                  • vijaya.r85
                    Junior Member
                    • Apr 2009
                    • 20

                    #10
                    Re: Zabbix getting delayed to send Email & SMS Alerts

                    No not with Direct modem. First I tried with single media type (EMAIL). Then I tried with Multiple (SMS also). I have tried that already, same is happening. I am receiving the alerts but its getting delayed. The alerts are getting pooled and delivered slowly.

                    I am really wondering since it has worked without any problem for the past 7 months with email & sms alerts sent correctly. But what would have happened to the system now?

                    Please help

                    Thanks,
                    Vijaya

                    Comment

                    • richlv
                      Senior Member
                      Zabbix Certified Trainer
                      Zabbix Certified SpecialistZabbix Certified Professional
                      • Oct 2005
                      • 3112

                      #11
                      wait, so how _are_ you sending those sms messages if not using a modem ?
                      ideally you should try a very simple test to determine which system causes the problem here - single action, single media that executes custom alertscript which simply outputs time & message to some file.
                      if that is delayed as well, we know it's zabbix. if that works, it's most likely remote server, network or something.
                      Zabbix 3.0 Network Monitoring book

                      Comment

                      • vijaya.r85
                        Junior Member
                        • Apr 2009
                        • 20

                        #12
                        Re: Zabbix getting delayed to send Email & SMS Alerts

                        Sms are sent thro' a script. As you said, I have wrote seperate scripts to interact with DB & send alerts. SMS are working fine while Mail is taking bit time.

                        Comment

                        • richlv
                          Senior Member
                          Zabbix Certified Trainer
                          Zabbix Certified SpecialistZabbix Certified Professional
                          • Oct 2005
                          • 3112

                          #13
                          well, this does look like a problem with the mailserver.
                          could you check mailserver logs, when does zabbix connect and what response does it get ?
                          Zabbix 3.0 Network Monitoring book

                          Comment

                          • vijaya.r85
                            Junior Member
                            • Apr 2009
                            • 20

                            #14
                            Re: Zabbix getting delayed to send Email & SMS Alerts

                            You are 100% correct Mr. Rich. There was some policy setting in Mail server which delayed the zabbix alerts. Now, the Mail server has been changed and alert services got to their form immediately.

                            Thanks a lot for your wonderful & timely support Mr. Rich.

                            Thanks,
                            Vijaya

                            Comment

                            • anjiytwok
                              Member
                              • Dec 2012
                              • 44

                              #15
                              Hey.. I was facing this issue.

                              Could you please guide me, how can send the email using scripts?

                              I have got below access from my admin.

                              SMTP server details.
                              SMTP email address:
                              and port number:


                              I have crated the events based on the triggers, emails itself not triggering.
                              please help using script how we can send the email.

                              Comment

                              Working...