PDA

View Full Version : service.ntp in triggers expression


sauron
24-10-2005, 13:37
Hello. I'm trying add new trigger for item service.ntp. I'm create expression:

{server:service.ntp.last()}=0


but when i'm try added this, i'm got:

[ERROR:Invalid trigger expression]

Expression [{alfa.core:service.ntp.last()}] does not match to [server:key.func(param)]


Why i'm got this ? It's wrong expression ?

James Wells
25-10-2005, 14:56
Greetings,

Right off the bat, I suspect that you do not have an item defined for service.ntp on the server alpha.core. Double check that you have the item defined on the server alpha.core.

sauron
26-10-2005, 06:35
Ha! I'm found it! I'm added service.ntp this key service.ntp,ip,123. Where ip is my ntp server. Ofcouse i'm got bug when add trigger ;). I'm rewrite key to service.ntp, now it's working. Thanks for your explain ;)