Page 2 of 2

Re: Plugin check_http takes too long to response

Posted: Mon Sep 30, 2019 3:27 pm
by jguzzetti
With this flags the wget command takes more time to respond that without it. I'll let you two attachments with the different outputs.

Re: Plugin check_http takes too long to response

Posted: Tue Oct 01, 2019 3:19 pm
by mbellerue
That is very strange. Is there anything on your network that may monitor packets for suspicious traffic? Because really all we changed here was the user agent, which is just informational data.

Re: Plugin check_http takes too long to response

Posted: Fri Oct 04, 2019 10:18 am
by jguzzetti
We belieave that it isn't a theme of network traffic issue. This same plugin works fine with anothers webservices and web sites that we are monitoring on the company. the webservice is in json format, Could be this the reason? Or the length of the file that should be downloaded is too long? Maybe the file size is the problem? What does the plugin do to get downloaded the file?

Re: Plugin check_http takes too long to response

Posted: Fri Oct 04, 2019 2:53 pm
by mbellerue
Can we do one more test with the useragent? Could you run your check_http command again, but with this additional flag,

Code: Select all

--useragent="Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0"
See if that comes back in a reasonable amount of time.

Re: Plugin check_http takes too long to response

Posted: Fri Oct 04, 2019 3:25 pm
by jguzzetti
Wait a minute...I've tried the flags that you pass to me in the WGET command, not in the check_http plugin. Where should I agrregate this flags?

Re: Plugin check_http takes too long to response

Posted: Fri Oct 04, 2019 3:37 pm
by mbellerue
The previous flag was for the wget command. You were able to see that without the useragent set, it was able to do its job in a timely fashion, where as with the useragent flag it took a long time.

Now we're going to try modifying check_http's useragent flag to change it to a standard useragent. So with your check_http command, add this flag.

Code: Select all

--useragent="Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0"

Re: Plugin check_http takes too long to response

Posted: Tue Oct 15, 2019 8:38 am
by jguzzetti
Those flags doesn't change the response time. Anyway, we decided to check de webservice without the json format, so it can response correctly.
You can close this issue.
Thanks for your help.
Yours faithfully.