Áú»¢¶Ä²©

This is the documentation page for an unsupported version of Áú»¢¶Ä²©.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

zabbix_sender

Section: Maintenance Commands (8)
Updated: 5 July 2011
Index Return to Main Contents


?

NAME

zabbix_sender - Áú»¢¶Ä²© sender utility. ?

SYNOPSIS

zabbix_sender [-hpzvIV] {-kso | [-T] -i <inputfile>} [-c <config-file>] ?

DESCRIPTION

zabbix_sender is a command line utility for sending data to a remote Áú»¢¶Ä²© server. On the Áú»¢¶Ä²© server an item of type Áú»¢¶Ä²© trapper should be created with corresponding key. Note that incoming values will only be accepted from hosts specified in Allowed hosts field for this item.

?

Options

-c, --config <config-file>
Specify agent configuration file for reading server details.

-z, --zabbix-server <server>
Hostname or IP address of Áú»¢¶Ä²© server.

-p, --port <port>
Specify port number of server trapper running on the server. Default is 10051.

-s, --host <host>
Specify host name as registered in Áú»¢¶Ä²© front-end. Host IP address and DNS name will not work.

-I, --source-address <IP>
Specify source IP address.

-k, --key <key>
Specify item key to send value to.

-o, --value <value>
Specify value.

-i, --input-file <inputfile>
Load values from input file. Specify - for standard input. Each line of file contains whitespace delimited: <hostname> <key> <value>. Specify - in <hostname> to use hostname from configuration file or --host argument.

-T, --with-timestamps
Each line of file contains whitespace delimited: <hostname> <key> <timestamp> <value>. This can be used with --input-file option. Timestamp should be specified in Unix timestamp format.

-r, --real-time
Send values one by one as soon as they are received. This can be used when reading from standard input.

-v, --verbose
Verbose mode, -vv for more details.

-h, --help
Display this help and exit.

-V, --version
Output version information and exit.

?

EXAMPLES

zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -s Monitored Host -k mysql.queries -o 342.45

Send 342.45 as the value for mysql.queries key in Monitored Host host using Áú»¢¶Ä²© server defined in agent daemon configuration file.

zabbix_sender -z 192.168.1.113 -i data_values.txt

Send values from file data_values.txt to server with IP 192.168.1.113. Host names and keys are defined in the file.

echo - hw.serial.number 1287872261 SQ4321ASDF | zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -T -i -

Send a timestamped value from the commandline to Áú»¢¶Ä²© server, specified in the agent daemon configuration file. Dash in the input data indicates that hostname also should be used from the same configuration file.

?

SEE ALSO

zabbix_agentd(8), zabbix_get(8), zabbix_proxy(8), zabbix_server(8) ?

AUTHOR

Alexei Vladishev <>


?

Index

NAME

SYNOPSIS

DESCRIPTION
Options

EXAMPLES

SEE ALSO

AUTHOR


This document was created by man2html, using the manual pages.
Time: 13:34:23 GMT, September 26, 2011