Plugin check_http takes too long to response
Re: Plugin check_http takes too long to response
With this flags the wget command takes more time to respond that without it. I'll let you two attachments with the different outputs.
You do not have the required permissions to view the files attached to this post.
Re: Plugin check_http takes too long to response
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Plugin check_http takes too long to response
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
Can we do one more test with the useragent? Could you run your check_http command again, but with this additional flag,
See if that comes back in a reasonable amount of time.
Code: Select all
--useragent="Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0"As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Plugin check_http takes too long to response
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
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.
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"As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Plugin check_http takes too long to response
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.
You can close this issue.
Thanks for your help.
Yours faithfully.