Removed 'last_agt' and 'lastchg' because they're not usable metrics.

This commit is contained in:
Greg Linton 2016-12-22 14:45:35 -05:00
parent 5f221db98f
commit c5528035b5
2 changed files with 3 additions and 4 deletions

View File

@ -176,11 +176,12 @@ func importCsvResult(r io.Reader, acc telegraf.Accumulator, host string) error {
"status": true,
"tracked": true,
"check_status": true,
"last_chk": true,
"lastchg": true,
"pid": true,
"iid": true,
"sid": true,
"lastchg": true,
"last_chk": true,
"last_agt": true,
"check_code": true,
"agent_status": true,
"agent_code": true,

View File

@ -191,7 +191,6 @@ func HaproxyGetFieldValues() map[string]interface{} {
"bck": uint64(0),
"chkfail": uint64(1),
"chkdown": uint64(0),
"lastchg": uint64(70698),
"downtime": uint64(0),
"lbtot": uint64(171013),
"type": uint64(2),
@ -208,7 +207,6 @@ func HaproxyGetFieldValues() map[string]interface{} {
"cli_abrt": uint64(73),
"srv_abrt": uint64(1),
"lastsess": uint64(0),
"last_agt": uint64(0),
"qtime": uint64(0),
"ctime": uint64(2),
"rtime": uint64(312),