Ad Widget

Collapse

trigger for template: host is online/offline

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • just2blue4u
    Senior Member
    • Apr 2006
    • 347

    #1

    trigger for template: host is online/offline

    I wanted to set up the Trigger " {hostname:status.last(0)}=2 " in a template, but it didn't work. Maybe because it's a "special parameter " ?

    How can i set up a trigger for my whole host group to check which hosts are up / down?
    Big ZABBIX is watching you!
    (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)
  • edeus
    Senior Member
    • Aug 2005
    • 120

    #2
    Anyone, Alexei?

    Thanks

    Comment

    • dantheman
      Senior Member
      • May 2006
      • 209

      #3
      How did it "not work" ? ...

      and what did you setup? How did you configure the different pieces?

      Comment

      • just2blue4u
        Senior Member
        • Apr 2006
        • 347

        #4
        My template is called "standard", so I tried the trigger expression ' {standard:status.last(0)}=2 ' as written in the Docs (see link in 1st Post).

        The error i get is the same as described by edeus in his thread:
        [ERROR:Cannot add trigger]

        No such host (adelaide.host.com) or monitored parameter (status)
        As expected, this error comes up when creating the trigger for a single host (in my case "localhost"), too.
        Big ZABBIX is watching you!
        (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

        Comment

        • tnjpatton
          Junior Member
          • Feb 2006
          • 3

          #5
          Does the host have the agent installed?

          Comment

          • Little_rU
            Junior Member
            • Jul 2006
            • 5

            #6
            Did you setup an item with key=status before ?

            Comment

            • just2blue4u
              Senior Member
              • Apr 2006
              • 347

              #7
              @ tnjpatton:
              Yes:
              Originally posted by myself
              As expected, this error comes up when creating the trigger for a single host (in my case "localhost"), too.
              @ Little_rU:
              No:
              Originally posted by Zabbix Documentation
              ‘status’ is special parameter which is calculated if and only if corresponding host has at least one parameter for monitoring.
              But of course i monitor some items @ localhost...
              Big ZABBIX is watching you!
              (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

              Comment

              Working...