About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Technical Blog Post
Abstract
Using the http-ping utility to generate continuous http traffic for the HT agent.
Body
When you install the HTTP "HU" agent to monitor your Web Server, you will not see any data on your APM console until you load/send some valid web/http traffic on port 80 to your monitored web server. There is a handy free utility I use called http-ping that can generate continuous or discrete http traffic in a background script. This can be useful if you don't have continuous adequate load on your web server and need to generate continuous, quick http traffic. Once you have generated a good amount of http traffic on your monitored web server, you will see data show up on the APM console for the HTTP agent.
If you would like to use this easy-to-use handy tool, download it from here. (Note: This site is external to IBM, and is not supported by IBM. You can download and use at your own risk.) I've used it on my test system with no issues so far. If you wish, install the utility on your test system and run it like this:
http-ping.exe -t -I 10 -d <your_web_server:port>
For example, in the screenshot below, am sending http requests every 10 seconds to my monitored server 9.37.226.102 on port 80 until Ctrl-C is used to stop the traffic. (You can fine tune the time interval -i from 10 seconds to say 300 seconds (5 minutes) or higher so as to not stress the network. Adjust to your own settings or use the -n <count> argument to send only certain number of http requests if you want traffic to be limited.)
After you send http traffic to your monitored web server, you will see data show up on the APM console for the HTTP agent in few minutes. If you still do not see any data, then go your web server logs dir and verify you are seeing traffic in here first. Usually the access_log and error_log will show network http traffic for the Apache web server. If you do not see traffic in these server logs, then no data is being sent to your web server, and hence no data will show up in the APM console.
Good luck.
Noel Lewis
ITCAM / APM / ICAM L2 Support team
Subscribe and follow us for all the latest information directly on your social feeds:
Check out all our other posts and updates: | |
Academy Blogs: | https://goo.gl/U7cYYY |
Academy Videos: | https://goo.gl/FE7F59 |
Academy Google+: | https://goo.gl/Kj2mvZ |
Academy Twitter : | https://goo.gl/GsVecH |
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"","label":""},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]
UID
ibm11084329