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 ** Patch added: "check_http_socket_timeouts.patch" https://bugs.launchpad.net/ubuntu/+source/monitoring-plugins/+bug/1875517/+attachment/5362235/+files/check_http_socket_timeouts.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875517 Title: check_http inefficient and sometimes times out To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/monitoring-plugins/+bug/1875517/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
