Hello! I`m trying to implement hdd temp monitoring with userparameters, but I`m getting ZBX_NOTSUPPORTED unfortunately.
Config lines are
but when i`m testing with debug these lines are in log(i do not restart agent between tries):
Parameters listing gives me nothing with temperature
But the fact, that some times it works says me something wrong.
Mysql Example (from config) works just fine.
Config lines are
Code:
root@hyperion:/home/scaytrace# tail -n2 /etc/zabbix/zabbix_agentd.conf UserParameter=temperature.sdc,nc 10.10.10.11 7634 | cut --fields 4 --delimiter '|' UserParameter=temperature.sdb,nc 10.10.10.11 7634 | cut --fields 9 --delimiter '|'
Code:
root@hyperion:/home/scaytrace# zabbix_get -s10.10.10.11 -k temperature.sdc ZBX_NOTSUPPORTED root@hyperion:/home/scaytrace# zabbix_get -s10.10.10.11 -k temperature.sdc 42 root@hyperion:/home/scaytrace# zabbix_get -s10.10.10.11 -k temperature.sdc ZBX_NOTSUPPORTED
Code:
9420:20120414:224018.613 Sleeping for 1 seconds
9419:20120414:224018.772 Processing request.
9419:20120414:224018.772 Requested [temperature.sdc]
9419:20120414:224018.774 Before
9419:20120414:224018.774 Sending back [ZBX_NOTSUPPORTED]
9419:20120414:224019.332 Processing request.
9419:20120414:224019.332 Requested [temperature.sdc]
9419:20120414:224019.334 Before
9419:20120414:224019.334 Run remote command [nc 10.10.10.11 7634 | cut --fields 4 --delimiter '|'] Result [2] [42]...
9419:20120414:224019.334 Sending back [42]
9420:20120414:224019.613 In send_buffer('10.10.10.11','10051')
9420:20120414:224019.613 Values in the buffer 0 Max 100
9420:20120414:224019.613 Sleeping for 1 seconds
9419:20120414:224019.880 Processing request.
9419:20120414:224019.880 Requested [temperature.sdc]
9419:20120414:224019.882 Before
9419:20120414:224019.882 Sending back [ZBX_NOTSUPPORTED]
9419:20120414:224020.348 Processing request.
Code:
root@hyperion:/home/scaytrace# zabbix_agentd -p | grep temperature
Mysql Example (from config) works just fine.