Ad Widget

Collapse

Trigger for offline hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scubanator87
    Junior Member
    • Jan 2008
    • 4

    #1

    Trigger for offline hosts

    By default there is a trigger :

    Code:
    Server {HOSTNAME} is unreachable
    with an expression of:

    Code:
    {Template_Windows_Servers:status.last(0)}=2
    However if i reboot a server, this will cause this trigger to go off.

    I want to set up a trigger that will only go off if the host is unreachable for more than 10 minutes. I tried to do something like:

    Code:
    {Template_Windows_Servers:status.min(600)}=2
    but that did not seem to work. I also tried to do a simple check and have it ping the server and if it did not receive a ping for 10 minutes strait then trigger:

    Code:
    {Template_Windows_Servers:icmpping.min(600)}<1
    but that does not return true or false it just stays in a state of unknown.

    any tips or suggestions would be helpful!
  • scubanator87
    Junior Member
    • Jan 2008
    • 4

    #2
    bump

    Sorry i had to do this but

    ##bump

    Comment

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

      #3
      {Template_Windows_Servers:agent.ping.nodata(600)}= 1
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • scubanator87
        Junior Member
        • Jan 2008
        • 4

        #4
        .nodatat

        Thanks, I will be sure to give it a try in the next few minutes to see if it is indeed what im looking for.

        Comment

        • barronj
          Junior Member
          • Feb 2008
          • 17

          #5
          Please post whether this works or not, as I'm interested in more or less the same thing.

          Thanks!

          Comment

          • scubanator87
            Junior Member
            • Jan 2008
            • 4

            #6
            Thanks again

            This was exactly what i Was looking for. Now i just need to correctly configure the action so that it works for all servers without having to add each server exclusively

            Comment

            Working...