From: Olivier A. <Oli...@ex...> - 2010-03-29 10:10:53
|
Hello, I try to get the module "mod_ap2_snmp_1.04" working with the hereafter configuration : xxxxxxxx:/usr/local/apache2.2/bin# httpd -v ; snmpd -v Server version: Apache/2.2.3 Server built: Jan 15 2008 20:33:41 NET-SNMP version: 5.4.2.1 Web: http://www.net-snmp.org/ Email: net...@li... xxxxxxx:/usr/local/apache2.2/modules# rpm -qi basesystem ; rpm -qi gcc-c+ +-4.1.2-42.el5 Name : basesystem Relocations: (not relocatable) Version : 8.0 Vendor: CentOS Release : 5.1.1.el5.centos Build Date: Wed 28 Mar 2007 05:58:19 AM CEST Install Date: Wed 10 Dec 2008 06:25:14 PM CET Build Host: builder6 Group : System Environment/Base Source RPM: basesystem-8.0-5.1.1.el5.centos.src.rpm Name : gcc-c++ Relocations: (not relocatable) Version : 4.1.2 Vendor: CentOS Release : 42.el5 Build Date: Tue 27 May 2008 12:22:07 AM CEST Install Date: Wed 10 Dec 2008 06:27:09 PM CET Build Host: builder10.centos.org Group : Development/Languages Source RPM: gcc-4.1.2-42.el5.src.rpm After compilation and configuration I got these values in APACHE2-MIB (with snmpget to parse the MIB) : APACHE2-MIB::serverName.0 = STRING: APACHE2-MIB::serverVersion.0 = STRING: APACHE2-MIB::serverBuilt.0 = STRING: APACHE2-MIB::serverRestart.0 = STRING: APACHE2-MIB::serverRoot.0 = STRING: APACHE2-MIB::serverPidfile.0 = STRING: APACHE2-MIB::serverTmpDir.0 = STRING: APACHE2-MIB::agentHttpAddress.0 = STRING: APACHE2-MIB::totalServerPorts.0 = INTEGER: 0 APACHE2-MIB::totalTraffic.0 = INTEGER: 0 APACHE2-MIB::totalAccess.0 = Counter32: 0 APACHE2-MIB::busyWorkers.0 = Gauge32: 0 APACHE2-MIB::idleWorkers.0 = Gauge32: 0 APACHE2-MIB::serverStatus.0 = INTEGER: up(1) APACHE2-MIB::serverUptime.0 = STRING: 14697 days 9 hours 22 mins 14 sec APACHE2-MIB::agentHttpAccess.0 = Counter32: 51587 APACHE2-MIB::serverRequestsPerSec.0 = STRING: APACHE2-MIB::serverKBytesPerSec.0 = STRING: APACHE2-MIB::serverKBytesPerRequest.0 = STRING: APACHE2-MIB::httpError400.0 = Counter32: 0 APACHE2-MIB::httpError403.0 = Counter32: 0 APACHE2-MIB::httpError404.0 = Counter32: 0 APACHE2-MIB::httpError405.0 = Counter32: 0 APACHE2-MIB::httpError500.0 = Counter32: 0 APACHE2-MIB::httpError501.0 = Counter32: 0 APACHE2-MIB::httpError505.0 = Counter32: 0 So, only very few infos. Most of MIB tree doesn't seem to be feed at all. I know that my apache version doesn't meet the requisites (to high). I guess that i'm not alone to struggle with ??! Thanks in advance for help of any kind. Oliver. ___________________________________ The integrity of this message cannot be guaranteed on the internet .Therefore EXANE cannot be considered responsible for the contents. If you are not the intended recipient of this message ,please delete it and notify the sender. This message is provided for information purposes only and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments Although it may contain some elements from publications produced by Exane's research department ,this message is not research. Please consult our web site for important disclaimers and disclosures concerning Exane's research (http://www.exane.com) ___________________________________ |