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, "status": true,
"tracked": true, "tracked": true,
"check_status": true, "check_status": true,
"last_chk": true, "lastchg": true,
"pid": true, "pid": true,
"iid": true, "iid": true,
"sid": true, "sid": true,
"lastchg": true, "last_chk": true,
"last_agt": true,
"check_code": true, "check_code": true,
"agent_status": true, "agent_status": true,
"agent_code": true, "agent_code": true,

View File

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