PDA

View Full Version : Trouble with UserParameter


mOlive
23-02-2010, 10:41
Hi,

I made a script to monitor temperature on my server.

UserParameter=sensor,sudo /usr/local/bin/sensors | grep temp1 | cut -c15-16

I have configured the agent and when I test from the server the agent is ok :

# zabbix_get -s arthus.xxxx.lan -k 'sensor'
68

I have created an item :

Description : Temperature on $1 in degree
Key : sensor


I have created an trigger :

Name : Temperature is too high on {HOSTNAME}
Expression : {arthus.xxxx.lan:sensor.last(0)}>70


But I have an unknow value in the overview and no value in graph.

Do you have a idea ?

Regards

richlv
23-02-2010, 17:29
in item configuration, do you see any error listed for this item ? any errors regarding this item in server logfile ?

mOlive
26-02-2010, 14:19
I don't know why.

I changed the log level in Zabbix server to see some errors so I restarted it and that's start working...

I reduced the log level and it's still working.

Thanks for this "help".

Regards