Ad Widget

Collapse

Significant Trigger Difficulty

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SAT QPass
    Member
    • Oct 2005
    • 61

    #1

    Significant Trigger Difficulty

    How do you create a trigger such that when a host is "MONITORED", but the availability is "Not available" you generate an alert?

    Status used to be a vaiable trigger value, but it no longer seems to exist. Why did this get depricated? What replaces it?

    This issue has me completely stumped as I used to rely on the status item to generate this alert. This appears to have been depricated, but what replaces it I have no idea.

    Can someone please help me with this? I need an alert for a host if the agent is not avaialable (such a case would be if agentd goes down, is stopped, etc.). The problem is .last(0) and prev(0) contain the last received values (even if they are days old) so agent.ping is still functionally useless. I would want to generate an alert if a host is added and agentd is not available (so regardless if there was previous data or not).

    Please I would appreciate any help or advise.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Originally posted by SAT QPass
    Status used to be a vaiable trigger value, but it no longer seems to exist. Why did this get depricated? What replaces it?
    This is wrong! The status still exists and works as before. If there are any issues with the status let us know.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • bbrendon
      Senior Member
      • Sep 2005
      • 870

      #3
      Status only works for non-active agents correct?
      Unofficial Zabbix Expert
      Blog, Corporate Site

      Comment

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

        #4
        Originally posted by bbrendon
        Status only works for non-active agents correct?
        Yes, this is nature of the status field. Of course one is not limited to use the status for availability of a host, there are plenty of other ways: TCP ping, ICMP ping, services checks, etc.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • bbrendon
          Senior Member
          • Sep 2005
          • 870

          #5
          Originally posted by Alexei
          Yes, this is nature of the status field. Of course one is not limited to use the status for availability of a host, there are plenty of other ways: TCP ping, ICMP ping, services checks, etc.
          Yep. Agreed. Just making sure my memory is working. Thanks.
          Unofficial Zabbix Expert
          Blog, Corporate Site

          Comment

          • SAT QPass
            Member
            • Oct 2005
            • 61

            #6
            Originally posted by Alexei
            Yes, this is nature of the status field. Of course one is not limited to use the status for availability of a host, there are plenty of other ways: TCP ping, ICMP ping, services checks, etc.
            Can you please explain the proper use of status then?

            I have the following item key defined for the host "status". Could you provide the syntax for both the item and the trigger of status? As I am unable to make it work.

            Comment

            Working...