Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-03-2009, 08:24 AM   #1
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,249

Rep: Reputation: 144Reputation: 144
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

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
./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

Old 05-05-2009, 04:42 AM   #2
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,249

Original Poster
Rep: Reputation: 144Reputation: 144
Please anybody help me...
Old 05-11-2011, 02:48 AM   #3
LQ Newbie
Registered: May 2011
Posts: 6

Rep: Reputation: 0

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Net-SNMP writing a Subagent - snmp.conf Unknown token: master AustinMarton Programming 0 12-16-2008 08:34 PM
SNMP master & SNMP client Script for system monitoring ratul_11 Programming 1 12-24-2007 06:32 AM
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 09:09 AM
NET-SNMP vs UCD-SNMP nitind Red Hat 1 05-20-2005 07:08 AM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration