manual:concepts:sender

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:concepts:sender [2014/09/25 15:14]
sasha Links adapted because of a move operation
manual:concepts:sender [2017/09/14 07:34] (current)
martins-v trapper item is required to send in data with zabbix_sender
Line 1: Line 1:
-==== - #6 Sender ====+==== 6 Sender ====
  
 === Overview === === Overview ===
Line 6: Line 6:
  
 The utility is usually used in long running user scripts for periodical sending of availability and performance data. The utility is usually used in long running user scripts for periodical sending of availability and performance data.
 +
 +For sending results directly to Zabbix server or proxy, a [[:​manual/​config/​items/​itemtypes/​trapper|trapper item]] type must be configured.
  
 === Running Zabbix sender === === Running Zabbix sender ===
Line 17: Line 19:
  
   * z - Zabbix server host (IP address can be used as well)   * z - Zabbix server host (IP address can be used as well)
-  * s - monitored host name (as registered in Zabbix frontend)+  * s - technical name of monitored host (as registered in Zabbix frontend)
   * k - item key   * k - item key
   * o - value to send   * o - value to send
  
-See [[manpages:​zabbix_sender|Zabbix sender manpage]] for more information.+<note important>​If objects have whitespaces,​ these objects must be quoted using double quotes.</​note>​ 
 + 
 +Zabbix sender can be used to send multiple values from an input file. See the [[manpages:​zabbix_sender|Zabbix sender manpage]] for more information.
  
-Zabbix sender accepts strings in UTF-8 encoding (for both UNIX-like systems and Windows).+Zabbix sender accepts strings in UTF-8 encoding (for both UNIX-like systems and Windows) ​without byte order mark (BOM) first in the file.
  
 Zabbix sender on Windows can be run similarly: Zabbix sender on Windows can be run similarly:
Line 42: Line 46:
 If the target item has triggers referencing it, all timestamps in an input file must be in an increasing order, otherwise event calculation will not be correct. ​ If the target item has triggers referencing it, all timestamps in an input file must be in an increasing order, otherwise event calculation will not be correct. ​
  
-<​note>​Zabbix sender will terminate if invalid (not following //​parameter=value//​ notation) parameter entry is present in specified configuration file.</​note>​+<​note>​Zabbix sender will terminate if invalid (not following //​parameter=value//​ notation) parameter entry is present in the specified configuration file.</​note>​