I have a bunch of zabbix_sender items defined on a host called it (ip address of 192.168.100.20), In this example the zabbix_server and zabbix_host are the same box, here is one example item:
Description IO: sda: write reqs issued per second
Type: ZABBIX trapper
Key: io_writes[sda]
Type of information Numeric (float)
Units: <no value>
Use multiplier: do not use
Keep history (in days): 30
Keep trends (in days): 365
Status: Monitored
Store value: As is
Allowed hosts: 192.168.100.20
Applications: none
Now when I execute the following line on it to "send" a value to that item via zabbix sender:
./usr/bin/zabbix_sender -z 127.0.0.1 -p 10051 -h it -k io_writes[sda] -o 30.26
I get the following error:
ZABBIX send v1.3.2 (03 January 2006)
usage: /usr/bin/zabbix_sender [<Zabbix server> <port> <server> <key> <value>]
If no arguments are given, zabbix_sender expects list of parameters
from standard input.
This is exactly according to the documentation in the manual for v1.4. So looking at the zabbix_sender code it seems I don't need to supply all the dashed params, so I try with:
/usr/bin/zabbix_sender 192.168.100.20 10051 it io_writes[sda] 30.26
This does not result in an error, however the value never gets updated for the item, AND I get nothing in the zabbix_server.log either. In fact it looks like zabbix_server stopped logging entirely. ??? I really need this to work, am I missing something?
Description IO: sda: write reqs issued per second
Type: ZABBIX trapper
Key: io_writes[sda]
Type of information Numeric (float)
Units: <no value>
Use multiplier: do not use
Keep history (in days): 30
Keep trends (in days): 365
Status: Monitored
Store value: As is
Allowed hosts: 192.168.100.20
Applications: none
Now when I execute the following line on it to "send" a value to that item via zabbix sender:
./usr/bin/zabbix_sender -z 127.0.0.1 -p 10051 -h it -k io_writes[sda] -o 30.26
I get the following error:
ZABBIX send v1.3.2 (03 January 2006)
usage: /usr/bin/zabbix_sender [<Zabbix server> <port> <server> <key> <value>]
If no arguments are given, zabbix_sender expects list of parameters
from standard input.
This is exactly according to the documentation in the manual for v1.4. So looking at the zabbix_sender code it seems I don't need to supply all the dashed params, so I try with:
/usr/bin/zabbix_sender 192.168.100.20 10051 it io_writes[sda] 30.26
This does not result in an error, however the value never gets updated for the item, AND I get nothing in the zabbix_server.log either. In fact it looks like zabbix_server stopped logging entirely. ??? I really need this to work, am I missing something?
Comment