[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-19 Thread Launchpad Bug Tracker
This bug was fixed in the package monitoring-plugins - 2.2-6ubuntu0.1 --- monitoring-plugins (2.2-6ubuntu0.1) eoan; urgency=medium [Haw Loeung] * fix check_http - was having constant socket timeouts (LP: #1875517) - d/p/14_check_http_socket_timeouts -- Rafael David Tinoco Sa

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-19 Thread Launchpad Bug Tracker
This bug was fixed in the package monitoring-plugins - 2.2-3ubuntu3 --- monitoring-plugins (2.2-3ubuntu3) bionic; urgency=medium [Haw Loeung] * fix check_http - was having constant socket timeouts (LP: #1875517) - d/p/14_check_http_socket_timeouts -- Rafael David Tinoco Sat,

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-19 Thread Brian Murray
The Eoan verification is actually better than the other two as it shows the problem occurring. -- 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

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-19 Thread Launchpad Bug Tracker
This bug was fixed in the package monitoring-plugins - 2.2-6ubuntu1.1 --- monitoring-plugins (2.2-6ubuntu1.1) focal; urgency=medium [Haw Loeung] * fix check_http - was having constant socket timeouts (LP: #1875517) - d/p/14_check_http_socket_timeouts -- Rafael David Tinoco S

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-10 Thread Haw Loeung
Eoan: | https://pastebin.ubuntu.com/p/gWFFFJdP2d/ ** Tags removed: verification-needed verification-needed-eoan ** Tags added: verification-done verification-done-eoan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.laun

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-10 Thread Haw Loeung
Tested with the packages from *-proposed. Looks good. Bionic: | https://pastebin.ubuntu.com/p/gkw5JWqtN7/ Focal: | https://pastebin.ubuntu.com/p/rJgmHhfJ6v/ ** Tags removed: verification-needed-bionic verification-needed-focal ** Tags added: verification-done-bionic verification-done-focal -

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-08 Thread Steve Langasek
Hello Haw, or anyone else affected, Accepted monitoring-plugins into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/monitoring- plugins/2.2-6ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new packa

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-08 Thread Steve Langasek
Hello Haw, or anyone else affected, Accepted monitoring-plugins into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/monitoring- plugins/2.2-6ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new pack

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-05 Thread Haw Loeung
** Tags added: verification-done-focal -- 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: http

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-05 Thread Haw Loeung
** Tags added: verification-done-bionic -- 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: htt

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-05 Thread Launchpad Bug Tracker
This bug was fixed in the package monitoring-plugins - 2.2-6ubuntu2 --- monitoring-plugins (2.2-6ubuntu2) groovy; urgency=medium [Haw Loeung] * fix check_http - was having constant socket timeouts (LP: #1875517) - d/p/14_check_http_socket_timeouts -- Rafael David Tinoco Sat,

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-05 Thread Rafael David Tinoco
Haw, I have just uploaded all SRUs to the archive. Now the SRU team will be in charge of approving/reviewing them. After, and if, they are accepted, you will be asked to verify the fixes from [proposed] repository and change tags here at this bug, from verification-needed to verification- done. W

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-05 Thread Rafael David Tinoco
** Description changed: [Impact] - * check_http nagios plugin module faces timeouts multiple times when - checking for http health. + * Based on the test case numbers, and the numbers provided by the end + user, it seems that memory reclaiming for the http buffer, in check_http + module, is

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-05 Thread Rafael David Tinoco
** Also affects: monitoring-plugins (Ubuntu Eoan) Importance: Undecided Status: New ** Also affects: monitoring-plugins (Ubuntu Groovy) Importance: Undecided Status: In Progress ** Also affects: monitoring-plugins (Ubuntu Bionic) Importance: Undecided Status: New **

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-04 Thread Rafael David Tinoco
** Description changed: + [Impact] + + * check_http nagios plugin module faces timeouts multiple times when + checking for http health. + + [Test Case] + + * not specific clear one. to measure http health in a big environment. + * being tested by real user case. + + [Regression Potential] +

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-03 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/monitoring-plugins/+git/monitoring-plugins/+merge/383306 ** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/monitoring-plugins/+git/monitoring-plugins/+merge/383307 ** Merge

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-01 Thread Rafael David Tinoco
Nice! Knowing that the patch is a a small subset of an upstream patch makes our life easier! Since you provided the test, we can go ahead and do the SRU with the testcase you provided. I'll sponsor the backport for you. ** Changed in: nagios-plugins (Ubuntu) Assignee: Rafael David Tinoco (ra

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-05-01 Thread Haw Loeung
I set something up for you to test: | /usr/lib/nagios/plugins/check_http -p 443 --ssl -H people.canonical.com -j GET -u '/~hloeung/tmp/lp1875517-test.txt' -r haproxy -t 60 Without the patch, it's ~25secs. With reduces that to under 1sec. This works for testing too (~2secs vs. ~0.1secs): | /usr/

Re: [Bug 1875517] Re: check_http inefficient and sometimes times out

2020-04-30 Thread Haw Loeung
On Thu, Apr 30, 2020 at 03:01:28PM -, Rafael David Tinoco wrote: > I need some clarification here. You have applied a temporary mitigation > that improves check_http by not constantly freeing and allocating heap > memory. You have indicated upstream patches (2 of them) dealing with the > consta

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-04-30 Thread Rafael David Tinoco
@Haw, I need some clarification here. You have applied a temporary mitigation that improves check_http by not constantly freeing and allocating heap memory. You have indicated upstream patches (2 of them) dealing with the constant timeout for the checker. monitoring-plugins 2.2 version check_http

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-04-29 Thread Rafael David Tinoco
$ git log -1 -p 2b38350d546ef9632ccd90e300eeaf6eda0ca32c | diffstat check_http.c | 127 + 1 file changed, 77 insertions(+), 50 deletions(-) $ git describe --tags 2b38350d546ef

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-04-28 Thread Haw Loeung
** Also affects: monitoring-plugins (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: monitoring-plugins (Ubuntu Groovy) Importance: Undecided Status: Confirmed ** Also affects: monitoring-plugins (Ubuntu Eoan) Importance: Undecided Status: New -- Y

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-04-28 Thread Ubuntu Foundations Team Bug Bot
The attachment "check_http_socket_timeouts.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-04-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: monitoring-plugins (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/18

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-04-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: monitoring-plugins (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875517

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-04-27 Thread Haw Loeung
** Also affects: monitoring-plugins (Ubuntu Bionic) Importance: Undecided Status: New -- 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 time

[Bug 1875517] Re: check_http inefficient and sometimes times out

2020-04-27 Thread Haw Loeung
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.00;50.00 size=