Ad Widget

Collapse

ARG!!! Zabbixisms... Post your's here!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #1

    ARG!!! Zabbixisms... Post your's here!

    I'm sure we've all come across something that seems straightforward, but when we try and figure out what's going wrong it's not straightforward, but when we're done, it's really quite simple. Here is one such situation. Post your's here...

    ---------------

    You'd think that after having been bit by this once before I'd remember... But I guess not. So I'll post this here just in case it may help someone else down the road.

    Problem: Email notifications of triggers are not being sent.

    Solution:
    Verify trigger is working (did this, and it is)
    Verify Action is setup correctly (yep!)
    Verify Email is setup in "Media Types" (yep!)
    Check mail logs (WTF are these "lost connection after CONNECT from localhost" errors?)

    Turns out it's a multi-step problem. ARG!!! Damm you zabbix! <pumps fist in air>

    Let's step back a bit. Turns out the action I had setup was connected to the trigger, but not the trigger on the host but the trigger in the template. Ok so I forgot that linking to a trigger within a template does not work (but you'd think it would!), you must use the "like" evaluation not the "=" evaluation... So while the trigger was happening and I would see it in the overview the action would not fire as it was evaluating to the template which will NEVER change state. Ok so I change the action expression to "like", add a description and test my trigger again. BAM! I get alerts! w00t!

    Ahh but what about that "lost connection after CONNECT from localhost" error. Turns out it's something put in by Alexei and others to throw you off, and make you think you're upside down when you're really inside out. In reality it's the net.tcp.service key checking to see if the SMTP server is up and running. Why yes thank you, it is!

    So if you're having problems getting actions to send email alerts using Postfix or whatever check to be sure you're action is tied to an alert that will actually send. ie Don't link to a template. DOH! Next when you see "lost connection after CONNECT from localhost" in your Postfix log files you can in all likelihood ignore them.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

  • bbrendon
    Senior Member
    • Sep 2005
    • 870

    #2
    LOL. Nice rant
    Unofficial Zabbix Expert
    Blog, Corporate Site

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      BTW Linking actions to a template will be supported in 1.6. Actually it is already implemented.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • nelsonab
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2006
        • 1233

        #4
        Yeah!!!!!!!!!
        RHCE, author of zbxapi
        Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
        Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

        Comment

        • cstackpole
          Senior Member
          Zabbix Certified Specialist
          • Oct 2006
          • 225

          #5
          Originally posted by Alexei
          BTW Linking actions to a template will be supported in 1.6. Actually it is already implemented.
          SWEET! Thank you! Thank you! Thank you! That news just made my day (even if it was posted some time ago)

          Comment

          • noxis
            Senior Member
            • Aug 2007
            • 145

            #6
            The zabbisms that I have come across are arse backwards logic. To me you should trigger when a partition becomes 99% full not 1% empty

            ---

            A server being "ON" is apparently a bad thing

            Comment

            • balu
              Junior Member
              • Aug 2008
              • 5

              #7
              Does anyone know if Jabber notifications work in 1.6? I was not able to get them running at all in 1.4 :-(

              Ah, I will upgrade anyway...

              Balu

              Comment

              Working...