is there any snmp module to monitor apache 2.2?

link|improve this question
feedback

2 Answers

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.
link|improve this answer
feedback

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

link|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
feedback

Your Answer

 
or
required, but never shown

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