blind-oracle / zabbix-sensors

Zabbix template & scripts to discover & monitor Linux sensors
36 stars 15 forks source link

Missing UserParameter #6

Closed NoxInmortus closed 3 years ago

NoxInmortus commented 3 years ago

Hello,

Just tried your template, items try to use this kind of parameter :

sensor["coretemp-isa-0000", "temp1"]

But your sensors.conf only contains

UserParameter=lmsensors.discover[*],/etc/zabbix/scripts/sensors.py $1
blind-oracle commented 3 years ago

Hi.

sensor key is a Zabbix Agent built-in function, the script is only used for discovery.

NoxInmortus commented 3 years ago

oooh I did not know.

Is this a zabbix 5 feature ?

blind-oracle commented 3 years ago

No, I guess it was there for ages, at least it exists in 2.2 already: https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/zabbix_agent