Ad Widget

Collapse

change HUP behavior of zabbix_sender

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • david@lang.hm
    Junior Member
    • Jan 2016
    • 5

    #1

    change HUP behavior of zabbix_sender

    instead of exiting if it receives a HUP, please consider changing it to send all queued items.

    This will allow processes to write to a single zabbix_sender instance and have it batch up the messages for efficiency, but not have them sit for hours if there isn't much traffic (by having a log-rotation-like job send it a HUP periodically)

    I have my rsyslog server gather a bunch of stats that I use zabbix_sender to deliver, and over the long run everything arrives timestamped, so it's accurate over the long term. But it would be really nice to be able to flush the pending messages every minute so that the data shows up in the zabbix console in a timely fashion

    David Lang
Working...