Apache Status through API?
Is there a way to access the Apache Status details from the API? I'm referring to the details under WHM > Server Status > Apache Status from the WHM web admin.
I'm looking to get a list of processes and the IPs hitting them so that I can filter out IPs that are doing brute force attacks.
-
Hello @Steve Clarke, There's no WHM API 1 function to use, but the following command will produce the results you are looking for: apachectl fullstatus
Thank you.0 -
Hello @Steve Clarke, There's no WHM API 1 function to use, but the following command will produce the results you are looking for:
apachectl fullstatus
Thank you.
Ok thanks! I was wondering where the output was coming from. I'm writing a few Slack bot commands so for this one I guess I'll have to ssh out and run that command and parse the output.0
Please sign in to leave a comment.
Comments
2 comments