Ad Widget

Collapse

Zabbix Protocol Suggestion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dalle
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 402

    #1

    Zabbix Protocol Suggestion

    Hi,
    I've done the same question time ago, without success
    It is possible to add a timestamp to zabbix protocol?

    I mean now the protocol is the following:
    <req>
    <host>hostname</host>
    <key>item key</key>
    <data>item value</data>
    </req>
    is there any way to add a timestamp at sent zabbixitem? where for timestamp I mean the time stamp when is retrieved the item.
    On a busy environment may happen that the server is unreachable while you are sending the item and if send the item with a delay you are sending in such a way wrong data
    Andrea Dalle Vacche
    website:http://www.smartmarmot.com/
    e-mail:
    Author of:Mastering Zabbix Book - second edition
    Zabbix Network Monitoring Essentials
  • p__
    Junior Member
    • Oct 2011
    • 7

    #2
    Ciao!

    It is possible and, for instance, zabbix_sender does this with -T option when loading data from an input file. Problem is that XML has been replaced with JSON a while back: http://www.zabbix.com/wiki/doc/tech/...senderprotocol.
    You just add "clock":UNIXTIMESTAMP to your request.
    What version are you using?

    -P

    Comment

    Working...