[Mod-apache-snmp-users] mod_apache_snmp v1.03 Zero Counters ???
Monitor Apache using SNMP
Brought to you by:
eplx
From: R. F. <rf...@ci...> - 2005-11-17 03:44:50
|
Hello, I've tried looking through the mod_apache_snmp archives & couldn't find anything. I have a problem when trying to get statistics back from our Net-SNMP v5.2.1.2 agent. I get the following on the command line (where www4 is our Fedora Core 4 server) when starting Apache v2.0.55: Starting httpd: [Wed Nov 16 19:59:37 2005] [error] AP2_SNMP: agentHttpAddress set to: [Wed Nov 16 19:59:37 2005] [error] www4:80 Apache runs without any problems (e.g. I'm able to bring up web pages, etc.) However, when I query the SNMP agent also running on the same server, we get the following: snmpwalk -v 1 -c public -m ~/mod_apache_snmp_1.03/mib/APACHE2-MIB.TXT www4 .1.3.6.1.4.1.19786 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: 13104 days 4 hours 32 mins 8 sec APACHE2-MIB::agentHttpAccess.0 = Counter32: 80 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 The only counter that seems to be returning somewhat good info is serverStatus & agentHttpAccess. We simulate 404, 501 errors & normal HTTP 200 requests, but don't see any of the counters being incremented ... nor do we get any of the serverName, Version, Build, etc. data. Any help would be greatly appreciated or links to better documentation than on the site. We are using the latest mod_apache_snmp v1.03. Thank you in advance for your help, --Ross |