Comment 1 for bug 1875517

Revision history for this message
Haw Loeung (hloeung) wrote :

Tested in my PPA:

| https://launchpad.net/~hloeung/+archive/ubuntu/nagios-nrpe/+packages

With output:

| $ time ./check_http -I 127.0.0.1 -p 9103 -u /metrics -r haproxy_rate -t 50
| HTTP OK: HTTP/1.0 200 OK - 13239810 bytes in 1.157 second response time |time=1.156696s;;;0.000000;50.000000 size=13239810B;;;0
|
| real 0m1.194s
| user 0m0.045s
| sys 0m0.064s

vs.

| $ time /usr/lib/nagios/plugins/check_http -I 127.0.0.1 -p 9103 -u /metrics -r haproxy_rate -t 50
| HTTP OK: HTTP/1.0 200 OK - 13239139 bytes in 14.090 second response time |time=14.090071s;;;0.000000;50.000000 size=13239139B;;;0
|
| real 0m14.128s
| user 0m4.650s
| sys 0m8.808s