View Full Version : 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
I believe the message is clear enough. You either have no host 'host' or no item 'status' is defined.
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))
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 ?
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