PDA

View Full Version : Error when creating Trigger


thorra
07-06-2005, 15:37
When i want to create a trigger with " {Srv_test:system[procload].last(0)}>5 " as expression this error message appear : [ERROR:Invalid trigger expression].
The server "Srv_test" exist and the item system[procload] is active.
Where is my error ??? I search in forums and in the documentation and i don't see what's wrong :confused: .

(Excuse me fo my poor english... I'm french :rolleyes: )

thorra
07-06-2005, 15:57
I saw my error.
There is simply a space character at the end of expression....

Ok Ok... -->[]

Alexei
07-06-2005, 15:57
Please, remove spaces. Note that starting from 1.1alpha11 trigger expressions will not be so sensible to the spaces.

thorra
07-06-2005, 15:59
I remove spaces and it's ok now.
Thanks for your response.

thorra
07-06-2005, 16:06
When i want to create a trigger with snmp Item this message appear :

[ERROR:Invalid trigger expression]
No such host (netopia) or monitored parameter (NetIn)

Expression is (no space :rolleyes: ) : {netopia:NetIn.min(300)}>100K

The host "netopia" and Item "NetIn" both exist.
What's wrong ?

thorra
07-06-2005, 16:12
I saw my error. I did not fill the "key" field well (i put the OID instead of good name... :rolleyes: )

thorra
07-06-2005, 16:13
Excuse me for speaking myself ;)