Ad Widget

Collapse

error inserting {host:status.last(0)}=2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • freax
    Junior Member
    • Apr 2005
    • 19

    #1

    error inserting {host:status.last(0)}=2

    Hi !

    I have a router behind a firewall so I cannot do icmpping to it.

    I've read the manual and there is the option to do {host:status.last(0)}=2 but it says:

    [ERROR:Invalid trigger expression. No such host (host) or monitored parameter (status)]

    Any help to have this done, please ?

    []'s
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I believe the message is clear enough. You either have no host 'host' or no item 'status' is defined.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • freax
      Junior Member
      • Apr 2005
      • 19

      #3
      Originally posted by Alexei
      I believe the message is clear enough. You either have no host 'host' or no item 'status' is defined.
      Hi again.
      It really was my dumb problem but ...

      I added 'status' item, but still doesn't work. It shows as UNKNOWN in the triggers list.
      I've tried to configure the status item as agent, internal and simple check without success.
      Note that I don't have any agent installed (and don't want to) and nothing shows in logs.

      What I want to do is combine both icmpping and status methods as this:
      (({Firewall:icmpping.last(0)}#1)&({Firewall:status .last(0)}=2))
      Last edited by freax; 06-06-2005, 13:34.

      Comment

      • freax
        Junior Member
        • Apr 2005
        • 19

        #4
        Originally posted by freax
        What I want to do is combine both icmpping and status methods as this:
        (({Firewall:icmpping.last(0)}#1)&({Firewall:status .last(0)}=2))
        Well, this is the answer but when I insert the trigger '(({Router-VoIP:icmpping.last(0)}#1)|({Router-VoIP:status.last(0)}=2))' it is always activating and deactivating with random pattern.

        So it will say the host is OK, then down, then OK again, ... and the host is always down !
        I need it to stay fixed until the host comes really up.

        Any help, please ?
        Last edited by freax; 06-06-2005, 15:40.

        Comment

        • freax
          Junior Member
          • Apr 2005
          • 19

          #5
          Problem solved.

          It seems is an error in 1.0 which is corrected (?!?) in 1.1.
          I patched it and now it is working fine.

          I think it would be nice to have a 1.0.1 version with this patch because I only see this show stop error.
          This is very annoying and it takes all the trust in zabbix. I can't trust the Triggers screen when a alert disappear after 1 minute nor emails alerts because sometimes it says the host is ok when is down.

          Only asked to have a stable release like 1.0.1.
          Beside this it's a fabulous software.

          []'s

          Comment

          Working...