Ad Widget

Collapse

How to get the alert if server down for 72H

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luialmeida
    Junior Member
    • Aug 2022
    • 2

    #1

    How to get the alert if server down for 72H

    Hello,

    Im trying to create a trigger that send an alert for a device if it is offline for 72H but i cant figure it out how to do it.
    Can someone explain please?

    I just have to clone Template and edit Trigger?

    many thanks in advace
    LA
  • roty2024
    Junior Member
    • Apr 2024
    • 6

    #2
    Hi, this depends on the item you want to use, eg. if you are using a simple ping item, you would set the update intervall to let's say 12 h and a trigger that calculates the average of the last 6 values.
    Zero meaning no response for the last 6*12h. To do so, you could copy an existing item from a template to you template or clone a template to a different name and edit the trigger.

    Comment

    • luialmeida
      Junior Member
      • Aug 2022
      • 2

      #3
      Hello,

      Thanks for the reply.

      Yes i want to check by simple ping , im using Template Module ICMP Ping , the idea is to clone and modify to ping a Checkpoint, if it was 72h offline send an alert.
      Ok i set the trigger like this max(/Template Module ICMP Ping 72H/icmpping,#6)=0 and the item to Update interval to 12H.

      Thanks

      Comment

      • roty2024
        Junior Member
        • Apr 2024
        • 6

        #4
        instead of max you could also consider to use avg=average, just try both with a shorter update intervall, to check latest data within a working day ;-)
        also something like count(blablabla/icmpping,30m,,"0")>5 is worth a try

        Comment


        • luialmeida
          luialmeida commented
          Editing a comment
          Thanks for reply,

          I think i figure it out.
          I used this code for 2m for test and i reveive the alert 2m before the issue
          now i go to change to 3Days like this and test max(/Template Module ICMP Ping 72H/icmpping,3d)=0

        • luialmeida
          luialmeida commented
          Editing a comment
          I think i figured out.

          Im using a new line to trigger 3 days.
          max(/Template Module ICMP Ping 72H/icmpping,3d)=0
      Working...