Ad Widget

Collapse

Alarm when active agent stops sending data?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hrabbach
    Junior Member
    • Sep 2009
    • 2

    #1

    Alarm when active agent stops sending data?

    Hi,

    I'm fairly new to Zabbix, but have managed to set up monitoring for a couple of hosts, some that can be contacted directly and some that I have to use active agents for because they are behind a firewall. What I can't figure out is (and I've searched these forums for hours) how to get an alarm if one of my active agents stops sending any new data. If a normal agent can't be reached, I can trigger an alarm, but if an active agent just stops, Zabbix ignores that fact and I may think everything is fine, when in fact the server has fallen off the network. Is there any straightforward way to achieve what I'm trying to do?

    Thanks in advance,
    Holger
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    Create a trigger with function .nodata(N) on some of the items (let's say the most important).
    Or add a nodata() condition to your existing triggers.


    {myhost:myactiveitem.last(0)=0}|{myhost:myactiveit em.nodata(300)=1}

    ==> last value is 0 or no data over the last 5 minutes.

    What we do here is that only some of the items have a nodata() condition.

    - agent.ping : trigger goes wrong if nodata(180)
    - some specific/important checks.

    Because if you add nodata conditions to all your triggers, you'll get lots of duplicate alerts if the agent dies or becomes unreachable for some reason.

    Another option is to create triggers dependencies.

    Comment

    • hrabbach
      Junior Member
      • Sep 2009
      • 2

      #3
      wonderful, exactly what I was looking for. Thanks a lot

      Comment

      • zabbix_zen
        Senior Member
        • Jul 2009
        • 426

        #4
        Hi Calimero.

        I'm facing exactly that alert overload problem,
        could you please check the bottom of this post and guide me in the correct direction?



        Thanks

        Comment

        • bashman
          Senior Member
          • Dec 2009
          • 432

          #5
          I had problems when using last check with nodata function, in agent.ping.

          Last edited by bashman; 15-02-2010, 08:18.
          978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

          Comment

          Working...