--- AnyEvent-ZabbixSender/README 2018/01/18 10:17:15 1.1 +++ AnyEvent-ZabbixSender/README 2018/01/18 15:38:11 1.2 @@ -52,17 +52,18 @@ The minimum and maximum retry times when the server cannot be reached. - on_error => $cb->(\@items, $msg) (default: log and continue) + on_error => $cb->($zbx, \@items, $msg) (default: log and continue) Called on any protocol errors - these generally indicate that something other than a zabbix server is running on a port. The given key-value pairs are the lost items. - on_loss => $cb->(\@items) (default: not called) + on_loss => $cb->$zbx, (\@items) (default: log and continue) Will be called when some data items are thrown away (this happens if the server isn't reachable for at least "queue_time" seconds), - on_response => $cb->(\@items, \%response) (default: not called) + on_response => $cb->$zbx, (\@items, \%response) (default: not + called) Will be called with the (generally rather useless) response form the zabbix server.