PDA

View Full Version : newbie: cpu_util trigger on win32 host?


erv
02-02-2005, 10:11
Hello,

I wanted to set up a trigger for processor load for a win32 machine with zabbix agent installed.
In default configuration there is a sample for it like this:
{server:system[procload].last(0)}>5
But this one does not work for win32 systems, so I tried to use this expression:
{server:cpu_util.last(0)}>5
But it gives me following error message:
[ERROR:Invalid trigger expression. No such host (server) or monitored parameter (cpu_util)]
The host exists and cpu_util works just fine for graphs etc. Is there a way to make a triger based on that? Sorry for newbie question. :)

Thanks in advance,
Ervins

Alexei
02-02-2005, 12:52
Are you sure that host 'server' has item with Key='cpu_util' defined? Please, double-check!

erv
02-02-2005, 14:18
Ah, it did not. Adding corresponding item helped (before I had two separate items for each cpu's (cpu_util[0] and [1]) and not an average one), I didn't know item has to be defined to use the function in trigger. :) I guess I had to read the manual more carefully, but at least warned that its going to be newbie question. ;)

Thank you!