send plugin with extra heartbeats

This commit is contained in:
Alan Hamlett 2016-04-29 01:10:19 +02:00
parent f5031162de
commit c3d7de3de9
1 changed files with 5 additions and 0 deletions

View File

@ -485,6 +485,11 @@ def process_heartbeat(args, configs, hostname, heartbeat):
heartbeat['hostname'] = hostname
heartbeat['timeout'] = args.timeout
heartbeat['key'] = args.key
heartbeat['plugin'] = args.plugin
heartbeat['offline'] = args.offline
heartbeat['hidefilenames'] = args.hidefilenames
heartbeat['proxy'] = args.proxy
heartbeat['api_url'] = args.api_url
return send_heartbeat(**heartbeat)