LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Integrate Mod-Apache-Snmp with Net-SNMP source (https://www.linuxquestions.org/questions/linux-server-73/integrate-mod-apache-snmp-with-net-snmp-source-723302/)

kirukan 05-03-2009 07:24 AM

Integrate Mod-Apache-Snmp with Net-SNMP source
 
To install Net-snmp from source(./configure, make, make install)
on this way it will compile and install default mib modules.

But i have to integrate Mod-Apache-snmp modules with default modules.

I have followed instruction from following website
http://mod-apache-snmp.sourceforge.net/english/docs.htm

Copy files into Net-SNMP directory to support Apache's MIB:

- Copy net-snmp-module\ -->PATH-SOURCES-NET-SNMP\agent\mibgroup\apache2\ (create apache2\)
- Copy extra\ap2_snmp.h --> PATH-SOURCES-NET-SNMP\agent\mibgroup\
- Copy mib\APACHE2-MIB.txt --> PATH-SOURCES-NET-SNMP\mibs\


I could understand just copy the files is not the only way to integrate Mod-apache-snmp modules with Net-snmp default modules. Either i have to modify somewhere in the Net-snmp sources file
OR
./configure --with-mib-modules = ap2_snmp, keep the space and mention all the modules which i want(actually i dont know what are the modules that i want to include on here)

My problem is, I have to monitor CPU, Memory, Network and this Apache related stuffs using Mrtg.

Please anydbody guide me, how to integrate Mod-apache-snmp with Net-snmp source

Thanks

kirukan 05-05-2009 03:42 AM

Please anybody help me...

tan.darell 05-11-2011 01:48 AM

Hi,

Just want to ask how to install "./configure --enable-so", I can't follow the instructions, by the way, I have no knowledge in Linux, but I'm trying to learn as much as I could, kindly help me, so that I can monitor Apache Web Server on CentOS, I can't compile the APACHE2-MIB, don't know how to do it.


Thanks...


All times are GMT -5. The time now is 04:07 PM.