LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

Rep: Reputation: 132Reputation: 132
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
 
Old 05-05-2009, 03:42 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,230

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

Rep: Reputation: 0
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...
 
  


Reply


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 07:34 PM
SNMP master & SNMP client Script for system monitoring ratul_11 Programming 1 12-24-2007 05:32 AM
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 08:09 AM
NET-SNMP vs UCD-SNMP nitind Red Hat 1 05-20-2005 06:08 AM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 10:45 AM


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

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