????: ?????? ????? (1)
?????: 2021-06-01
???? ??????? ???? ????? ?????
?
zabbix_sender - ??? Áú»¢¶Ä²© sender (????) ?
zabbix_sender [-v] -z server [-p port] [-I IP-address] [-t timeout] -s host -k key -o value
zabbix_sender [-v] -z server [-p port] [-I IP-address] [-t timeout] [-s host] [-T] [-N] [-r] -i input-file
zabbix_sender [-v] -c config-file [-z server] [-p port] [-I IP-address] [-t timeout] [-s host] -k key -o value
zabbix_sender [-v] -c config-file [-z server] [-p port] [-I IP-address] [-t timeout] [-s host] [-T] [-N] [-r] -i input-file
zabbix_sender [-v] -z server [-p port] [-I IP-address] [-t timeout] -s host --tls-connect cert --tls-ca-file CA-file [--tls-crl-file CRL-file] [--tls-server-cert-issuer cert-issuer] [--tls-server-cert-subject cert-subject] --tls-cert-file cert-file --tls-key-file key-file [--tls-cipher13 cipher-string] [--tls-cipher cipher-string] -k key -o value
zabbix_sender [-v] -z server [-p port] [-I IP-address] [-t timeout] [-s host] --tls-connect cert --tls-ca-file CA-file [--tls-crl-file CRL-file] [--tls-server-cert-issuer cert-issuer] [--tls-server-cert-subject cert-subject] --tls-cert-file cert-file --tls-key-file key-file [--tls-cipher13 cipher-string] [--tls-cipher cipher-string] [-T] [-N] [-r] -i input-file
zabbix_sender [-v] -c config-file [-z server] [-p port] [-I IP-address] [-t timeout] [-s host] --tls-connect cert --tls-ca-file CA-file [--tls-crl-file CRL-file] [--tls-server-cert-issuer cert-issuer] [--tls-server-cert-subject cert-subject] --tls-cert-file cert-file --tls-key-file key-file [--tls-cipher13 cipher-string] [--tls-cipher cipher-string] -k key -o value
zabbix_sender [-v] -c config-file [-z server] [-p port] [-I IP-address] [-t timeout] [-s host] --tls-connect cert --tls-ca-file CA-file [--tls-crl-file CRL-file] [--tls-server-cert-issuer cert-issuer] [--tls-server-cert-subject cert-subject] --tls-cert-file cert-file --tls-key-file key-file [--tls-cipher13 cipher-string] [--tls-cipher cipher-string] [-T] [-N] [-r] -i input-file
zabbix_sender [-v] -z server [-p port] [-I IP-address] [-t timeout] -s host --tls-connect psk --tls-psk-identity PSK-identity --tls-psk-file PSK-file [--tls-cipher13 cipher-string] [--tls-cipher cipher-string] -k key -o value
zabbix_sender [-v] -z server [-p port] [-I IP-address] [-t timeout] [-s host] --tls-connect psk --tls-psk-identity PSK-identity --tls-psk-file PSK-file [--tls-cipher13 cipher-string] [--tls-cipher cipher-string] [-T] [-N] [-r] -i input-file
zabbix_sender [-v] -c config-file [-z server] [-p port] [-I IP-address] [-t timeout] [-s host] --tls-connect psk --tls-psk-identity PSK-identity --tls-psk-file PSK-file [--tls-cipher13 cipher-string] [--tls-cipher cipher-string] -k key -o value
zabbix_sender [-v] -c config-file [-z server] [-p port] [-I IP-address] [-t timeout] [-s host] --tls-connect psk --tls-psk-identity PSK-identity --tls-psk-file PSK-file [--tls-cipher13 cipher-string] [--tls-cipher cipher-string] [-T] [-N] [-r] -i input-file
zabbix_sender -h
zabbix_sender -V ?
zabbix_sender ??? ??? ???? ????? ?????? ????? ???? ???? Áú»¢¶Ä²© ?? ??????. ???? Áú»¢¶Ä²© ???? ??????? ???? ???? Zabix trapper ?? ???? ?????. ?? ???? ?? ?????? ?????? ?????? ?? ??????? ?????? ???? ?????? ?????? ???? ???? ??. ?
-c, --config config-file ????? ?-config-file. ???? Áú»¢¶Ä²© ???? ???? ??? ??- ???? ?????? ?? agentd. ?????? ???? ???? Áú»¢¶Ä²© ???? ???? ?? ???? ?????. ?? ??????? ?? ????, ServerActive, ???? IP, TLSConnekt, TLSCAFile, TLSCRLFile, TLSServerCertIssuer, TLSServerCertSubject, TLSCertFile, TLSKeyFile, TLSPSKIdentity ?-TLSPSKFile ??????. ?? ?? ?????? ???????? ?????? ?????? ?? ????? ServerActive ?????? ?????? ??????. ?? ????? ????? ????? ????? ???? ?????, ??????? ????? ???? ?????? ?????? ??.
-z, --zabbix-server ??? ?? ???? ?? ????? IP ?? ??? Áú»¢¶Ä²©. ?? ???? ????? ?? ??? ? ????? ??? ?? ?????? ?-proxy, ??? ???? ?????? ?? ?????? IP. ??? ????? ??? ?? --config, ???? ?? ?????? ?? ServerActive ????? ????? ????? ?????? ?? agent.
-p, --port ????? ???? ?? ???? ?????? ?? Áú»¢¶Ä²© Server Trapper ????? ????. ????? ????? ??? 10051. ?????? ??? ?? --config, ???? ?? ???? ????? ?? ????? ServerActive ????? ?-agent ???? ?????.
-I, --????? ???? ????? IP ???? ????? IP ????. ?????? ??? ?? --config, ???? ?? ????? SourceIP ????? ????? ?????? ?? agent.
-t, --??? ??? ????? ???? ??? ???. ???? ????: 1-300 ????? (????? ????: 60)
-s, --???? ???? ???? ?? ?? ????? ????? ???? ????? (??? ????? ?- Áú»¢¶Ä²© ?????). ????? ?-IP ?? ????? ??? ?-DNS ?? ?????. ??? ????? ??? ?? --config, ???? ?? ????? ?? ???? ????? ????? ?????? ?? agent.
-k, --???? ???? ???? ???? ???? ????? ?? ????? ???.
-o, --value ??? ???? ??? ????.
-i, --input-file input-file ??? ????? ????? ???. ???? - ???? <input-file> ? ??? ????? ???? ???????. ?? ???? ???? ????? ???? ??? ?????: <?? ????> <????> <???>. ?? ??? ?? ????? ????? ????. ?? ???? ????? ????? 3 ?????? ????? ????? ???????: <?? ????> <????> <???>, ???? "?? ????" ??? ??? ?? ????? ?????? ??? ????? ?- Áú»¢¶Ä²© frontend, "key" ??? ???? ???? ??? ?-"value" - ???? ??? ?????. ???? - ???? <?? ????> ??? ?????? ??? ???? ????? ???? ????? ?? ???????? --host.
????? ????? ?? ???? ???:
"Linux DB3" db.connections 43
??? ???? ???? ????? ????? ????? ?????? ????? ?? Áú»¢¶Ä²© frontend. ???? Áú»¢¶Ä²© ???? ?? 250 ????? ?????? ???. ????? ???? ?????? ????? ????? ??? ???? ????? ?????? ????????? ??????? ?? Áú»¢¶Ä²©. ????? ?? ???? ???? ???? ????? ?????? UTF-8. ?? ?????? ????? ???? ?????? ???? ???? ?????? ????. ?? ???? ?? ?????? ??? ?????? ?????:
? ????? ?????? ?????? ????? ?????? ??????.
? ????? ????? ??? ?? ??????.
? ?? ???? ????? ?? ???? ???.
? ?????? ?????? ?????? ?? ???? ????? ???? ???? ?????? ?????? ????? ???? ?? ?? ???? ?????.
? ????? ???? ????? ?????? ????? ????????.
? ???? ????? ?? Linefeed (\n) ?????? ???????? ???????.
? ???? ????? ?? Linefeed ?????? ???? ???.
-T, --?? ?????? ??? ???? ?????? ??????? ?? ?? ?? ?????? --input-file.
?? ???? ????? ???? ????? ????? 4 ????? ??????? ????? ???: <?? ????> <????> <????? ???> <???>. ?? ????? ????? ??? ?????? ????? ??? ?? Unix. ?? ???? ??? ?? ??????? ????????? ????, ?? ?????? ???? ?????? ????? ?????? ???, ???? ????? ?????? ?? ???? ????.
????? ????? ?? ???? ????:
"Linux DB3" db.connections 1429533600 43
?????? ??????, ??? ?????? --input-file.
?? ???? ??? ????? ??? ???? ???? ????? ?"??? ??????" ??? ?????? ?? ??? ?? ????; ?? ???, ?? ?? ???? ????? ??? ?? ????? ??? ???? ?????? ??? ????? ????? ???? ?????.
-N, --with-ns ???? ?????? ??????? ?? ?? ?? ?????? --?? ?????? ???.
?? ???? ????? ???? ????? ????? 5 ????? ??????? ????? ???: <?? ????> <key> <????? ???> <ns> <value>.
????? ????? ?? ???? ????:
"Linux DB3" db.connections 1429533600 7402561 43
?????? ??????, ??? ?????? --input-file.
-r, --??? ??? ??? ????? ??? ??? ???? ??? ???????. ?? ???? ???? ??? ????? ???? ????.
--tls-connect ??? ???? ?????? ???? ?? ?-proxy. ?????:
?
?? ????? ????? ??? ????? (????? ????)
psk ?????? ??????? TLS ????? ????? ????
????? ?????? ??????? TLS ??????
--tls-ca-file CA-file ?? ????? ???? ?? ???? ????? ?? ?????? ?-CA ???? ??????? ???? ????? ????? ??????.
--tls-crl-file CRL-file ?? ???? ??? ?? ???? ????? ??????? ??????.
--tls-server-cert-issuer cert-insuer ????? ????? ??? ????.
--tls-server-cert-subject cert-subject ???? ????? ??? ????.
--tls-cert-file cert-file ?? ???? ??? ?? ???? ????? ?? ?????? ?? ????? ????????.
--tls-key-file key-file ?? ???? ??? ?? ???? ????? ?? ????? ?????.
--tls-psk-identity PSK-identity ?????? ???? PSK.
--tls-psk-file ???? PSK ?? ???? ??? ?? ???? ????? ?? ????? ?????? ????.
--tls-cipher13 ?????? ???? ?????? ???? ???? OpenSSL 1.1.1 ?? ??? ???? ???? TLS 1.3. ????? ?? ?????????? ?????? ????? ???? ?????? ????. ?????? ?? ???? ????? ?? ???? OpenSSL ??? ???? ?-1.1.1.
--tls-cipher ?????? ???? ?????? ?????? GnuTLS (???? TLS 1.2 ?????) ?? ?????? ???? OpenSSL (?? ???? TLS 1.2). ???? ?? ????????? ????? ????? ?? ????? ????.
-v, --???? ???? ??? ??????, -vv ?????? ??????.
-?, --???? ??? ?? ????? ??? ???.
-V, --???? ??? ???? ?? ???? ??????.
?
??? ?????? ??? 0 ?? ?????? ????? ????? ????? ????? ?????? ?? ??? ????. ?? ????? ??????, ??? ????? ?? ? ????? ??? ??????? ????, ??? ?????? ??? 2. ?? ????? ?????? ????, ??? ?????? ??? 1.
?
zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k mysql.queries -o 342.45
??? 342.45 ???? ???? ???? mysql.queries ?? ????? ????. ????? ????? ????? ????? Áú»¢¶Ä²© ???????? ????? ???? ?????.
zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -s "???? ?????" -k mysql.queries -o 342.45
??? 342.45 ???? ???? ???? mysql.queries ?? ????? ???? ???? ??????? ??? Áú»¢¶Ä²© ?????? ????? ????? ?????.
zabbix_sender -z 192.168.1.113 -i data_values.txt
??? ????? ?????? data_values.txt ???? Áú»¢¶Ä²© ?? IP 192.168.1.113. ???? ?????? ??????? ??????? ?????.
echo "- hw.serial.number 1287872261 SQ4321ASDF" | zabbix_sender -c /usr/local/etc/zabbix_agentd.conf -T -i -
??? ??? ????? ??? ????? ?????? ???? Áú»¢¶Ä²©, ????? ????? ?????? ?? ?????. ??? ?????? ???? ????? ??? ?????? ?? ??? ???? ????? ????? ??????.
echo '"??? Áú»¢¶Ä²©" trapper.item ""' | zabbix_sender -z 192.168.1.113 -p 10000 -i -
??? ??? ??? ?? ???? ???? Áú»¢¶Ä²© ?? ????? IP 192.168.1.113 ?????? 10000 ????? ??????. ????? ????? ?? ????? ??????? ?????? ?????.
zabbix_sender -z 192.168.1.113 -s "???? ?????" -k mysql.queries -o 342.45 --tls-connect cert --tls-ca-file /home/zabbix/zabbix_ca_file --tls-cert-file /home/zabbix/zabbix_agentd.crt --tls-key-file /home/zabbix/zabbix_agentd.key
??? 342.45 ???? ???? ???? mysql.queries ?-????? ???? ???? ???? ?? IP 192.168.1.113 ??????? TLS ?? ????????.
zabbix_sender -z 192.168.1.113 -s "???? ?????" -k mysql.queries -o 342.45 --tls-connect psk --tls-psk-identity "PSK ID Áú»¢¶Ä²© agentd" --tls-psk-file /home/zabbix/zabbix_agentd.psk
??? 342.45 ???? ???? ???? mysql.queries ?-????? ???? ???? ???? ?? IP 192.168.1.113 ??????? TLS ?? ???? ????? ???? (PSK).
?
????? /manuals
?zabbix_agentd(8),? ?zabbix_get(1), zabbix_proxy(8),? ?zabbix_server(8), zabbix_js(1),? ?zabbix_agent2(8),? ?zabbix_web_service(8) ??
???? ?? ???? ?? ??? man2html, ??????? ????? ?????.
????: ?08:42:39 GMT,? 11 ?????, 2021