Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

is there any snmp module to monitor apache 2.2?

share|improve this question

2 Answers 2

I haven't found any good SNMP modules to do this. However, you can do this yourself:

  1. Using cron, dump apachectl fullstatus to a file like /tmp/apache-status.txt. Do this once a minute or so. Or parse out the information you want, and dump it to this file.
  2. Configure the snmp agent's exec feature to run a command like grep yourvaluehere /tmp/apache-status.txt
  3. Query that value using SNMP, as needed. Since /tmp/apache-status.txt is updated every minute or so, it is pretty up to date. The query will return the value of #2. You can do this for multiple queries/values.
share|improve this answer

I never used it, but from google I found this module.

share|improve this answer
thanks, but this is only for apache 2.0.x :( –  andrés Jan 13 '11 at 16:55
Sorry, I didn't read with attention. –  lg. Jan 14 '11 at 8:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.