Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there any snmp module to monitor apache 2.2?

share|improve this question

closed as off-topic by Jenny D, womble Oct 13 '15 at 9:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

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

I would recommend to use PRTG. PRTG OFFICIAL WEB-PAGE

From my experience i can say that it's one of the best SNMP ever, with custom sensors. Until 100 sensors it's totally free.

share|improve this answer

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