Ping Triggers Update

I have updated my triggers that check availability through icmpping. I have made them check the ping result for a period of time instead of a single check.
The reason for this change is that sometimes there may be a small network hiccup that makes the server lose connectivity just for a small amount of time. When that happens, Zabbix thinks the server has dropped and come back within 30 seconds and sends the appropriate notifications, possibly flooding the recipient if the problem persists.

With the change in the trigger, it is now activated only if the target is persistently offline for the amount of time specified.
The new trigger is this:
{Router:icmpping.max(120)}<1

What this does is check to see if the server has failed persistently for the last 2 minutes. If it has, then the trigger is activated.
I also specified different time frames for each type. For example, Routers need to be down for 2 minutes, Workstations for 5 and Clocks for 10. In effect, A simple reboot of a workstation isn’t likely to register as a problem.
The added bonus is that while a trigger is activated on a persistent failure of, say, 2 minutes, it is de-activated as soon as the first packet arrives, letting you know as soon as it is restored.

I guess one could make a reverse trigger, that is actually checking the network generic health. It is activated as soon as the ping fails and de-activates as soon as the connection is persistent for at least the time frame specified.
{Router:icmpping.min(120)}<1

Which means that if the minimum of the pings is 0 the trigger is activated (such as when one of the pings within the last 2 minutes has failed) but it is de-activated only if no ping within the last 2 minutes has failed.

PS: Forgot to mention that as of 1.1beta9 this trigger will not work if the icmpping is stored in an integer value, It will always return an Unknown status. This is scheduled to be fixed in 1.1beta10.
Personally, I used floats in my Simple Ping item.

If you liked what you just read, take a chair, grab an  RSS feed and leave a comment. Thanks!


Comments: Comments

Jump to comment form | comments rss [?] | trackback uri [?]

My comments elsewhere

  • Get A Move On Google! (AtheismBeliefGeneral)
    Created Sep 3 last 3 comments, out of 3 Db0 says: Sep 3 at 07:25 AM Sandeep, as it's Open Source I'm certain their license will allow it ;)Adrian, try using a VM Db0 says: Sep 3 at 16:30 PM I was abo. […]
  • Vjack (www.haloscan.com)
    Created Sep 1 last 1 comments, out of 2 Db0 says: Sep 1 at 13:57 PM best of luck mate! add comment
  • αλλαγές στο elkosmas.gr (elkosmas)
    Created Sep 1 last 2 comments, out of 2 Db0 says: Sep 1 at 14:15 PM Ευχαριστώ για το trackback Κοσμά και ελπίζω να σου φαίνεται καλύτερο το hosting. […]
  • Reddit & Readership (AtheismBeliefGeneral)
    Created Aug 25 last 2 comments, out of 8 Db0 says: Aug 28 at 14:02 PM @ThungurKnifur If Adrian is such a spammer, it wouldn't be difficult to figure out who he is in SU from seeing who submitted most. […]
  • Starfish (Waldheri.com)
    Created Aug 31 last 1 comments, out of 1 Db0 says: Aug 31 at 13:51 PM Sounds quite interesting. I may check it out. add comment

Zoulapia

  • 28.08 Quote of the Day: Science contribution

    Quoth Matthew Cob and Jerry Coyne

    You suggest that science may bring about “advances in theological thinking”. In reality, the only contribution that science can make to the ideas of religion is atheism.

    (h/t Pharyngula)

  • 21.08 Quote of the Day: Walking

    Quoth Pat Condell

    Because you see I’m not in the market for a car, any car. I decided to walk. That’s going to take me where I’m going because I’m going where it takes me. And I’ll be happy to get there. In fact, I already am.

    As always it was another excellent vid from Pat, but this particular quote was just brilliant.

  • 15.08 Quote of the Day: Vulnerabilities

    Quoth Anonymous

    The Bible exploits unpatched vulnerabilities in the human mind.

    :D