I can get the userparemeter working with my agent (which is the local host).
I add
UserParameter=sensors.temp.planar,sudo ipmitool sdr|grep "Planar Temp" | awk '{print $4}'
to /etc/zabbix/zabbix_agentd.conf (also restarted the zabbix-agent)
and can test it with "zabbix_agentd -t sensors.temp.planar" which gives me this output: "sensors.temp.planar [t|21]"
But can't get the zabbix server to retrieve this value. The Item I add is this:
Description: Planar Temp
Type: Zabbix Agent
Key: sensors.temp.planar
Type of Info: Text
All the other fields are default.
The Item simply returns "Not Supported", why?
I add
UserParameter=sensors.temp.planar,sudo ipmitool sdr|grep "Planar Temp" | awk '{print $4}'
to /etc/zabbix/zabbix_agentd.conf (also restarted the zabbix-agent)
and can test it with "zabbix_agentd -t sensors.temp.planar" which gives me this output: "sensors.temp.planar [t|21]"
But can't get the zabbix server to retrieve this value. The Item I add is this:
Description: Planar Temp
Type: Zabbix Agent
Key: sensors.temp.planar
Type of Info: Text
All the other fields are default.
The Item simply returns "Not Supported", why?
Comment