Ad Widget
Collapse
Trigger on string change
Collapse
X
-
-
Comment
-
yes, unfortunately this is a problem
strlen This function is supported since Zabbix 1.8.4.
http://www.zabbix.com/documentation/...onfig/triggersComment
-
hmm damn.. okay i will see to if i can upgrade the zabbix server, the documentation states that i don't need to upgrade my clients for thatComment
-
In this case your trigger will fire up on string value change, however, this condition has downside as wellCode:{HP LaserJet P2055dn:display.diff(0)}>0
So if value of item is "Ready " and item receives new value like "Load Paper" - trigger will fire up, however, if item receives this value again it will be acknowledged as normal and there will be no longer trigger active. And if after a while you`ll receive "Ready " again, your trigger will fire up
and so on…
See diff function
http://www.zabbix.com/documentation/...onfig/triggers
there might be something i`m missing about this function and you`ll be able to accomplish your goal
Comment
-
Comment
-
You did remember to put the =1 at the end, right?
{HP LaserJet P2055dn:display.str(Load Paper)}=1
Also, if Load Paper is referring to the Item key 'paper', then it would be
{HP LaserJet P2055dn
aper.str(Load Paper)}=1
Failing that, keep in mind that the string is case sensitive, for example - Load paper.
MrKenDisclaimer: All of the above is pure speculation.Comment
-
That seemed to do the trick -thanks!You did remember to put the =1 at the end, right?
{HP LaserJet P2055dn:display.str(Load Paper)}=1
Also, if Load Paper is referring to the Item key 'paper', then it would be
{HP LaserJet P2055dn
aper.str(Load Paper)}=1
Failing that, keep in mind that the string is case sensitive, for example - Load paper.
MrKenComment


Comment