PDA

View Full Version : newbie question on triggers


grabber
15-04-2005, 08:58
Is there a document just for triggers. The information I can find seems a bit sketchy, also in existing triggers the hostname is used but if I try to create a new trigger with the same hostname zabbix tells me there is no host by that name :mad:

example:
{fw-trads-2:ifInOctets1.delta(0)}>150000 is accepted
{fw-trads-2:status.last(0)}=2 is not accepted [ERROR:Invalid trigger expression. No such host (fw-trads-2) or monitored parameter (status)] this is an snmp host and I want to monitor it's availabilty, I realise now that "satus" is only used with the agent so apart from the host issue how do I set a trigger based on availability? currently this box is offline but zabbix is showing it as ok in the maps screen

this is really confusing now.

sauron
15-04-2005, 15:01
Read docs. status item overable only you used zabbix agent

grabber
15-04-2005, 15:14
Read docs. status item overable only you used zabbix agent


That's what I said above...the question is...how do I record the status of an snmp device, can I somehow use the availbel info. from the hosts screen?

what about the host name issue....any ideas?

Alexei
15-04-2005, 16:12
That's what I said above...the question is...how do I record the status of an snmp device, can I somehow use the availbel info. from the hosts screen?

what about the host name issue....any ideas?

Obviously you haven't created an item with key 'status', that's why it complains.

You may monitor availability (status) of a host if the host has either ZABBIX or SNMP agent running.