|
Has anyone tried to have splunk parse the output of the machine readable apache server-status page, e.g http://$apachehost/server-status?auto I need to keep track of the status of workers, whether they are waiting, logging, etc. Thanks |
|
I use a scripted input - I wrote a perl script to make a call to the Apache servers to pull stats.. I'll include the code below to get you started:
Outstanding, thank you. Figured this was the direction to take if there was no direct read of the status page.
(25 Jul '11, 14:01)
mhouts001
Please accept the answer if it solves your issue. Thanks!
(26 Jul '11, 10:22)
Brian Osburn
|
|
Hi, I fixed a few typos and extended the script to work on lower-traffic servers and to provide CPU usage:
Not sure why all the backslashes doubled themselves. Please be sure to correct that before using the script.
(02 Aug '11, 15:11)
LK
|
