Re: [Mod-apache-snmp-users] mod_apache_snmp v1.03 Zero Counters ???
Monitor Apache using SNMP
Brought to you by:
eplx
From: Esteban P. <est...@gm...> - 2005-11-17 13:10:11
|
Hello Ross, Has SNMP community configured in mod-apache-snmp directive write access? The "tmp" folder that you define in the config file, has write permission for the user running apache? If this doesn't work, please send the configuration that you are using for mod-apache-snmp. Esteban On 11/17/05, R. Fujii <rf...@ci...> wrote: > > 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 =3D STRING: > APACHE2-MIB::serverVersion.0 =3D STRING: > APACHE2-MIB::serverBuilt.0 =3D STRING: > APACHE2-MIB::serverRestart.0 =3D STRING: > APACHE2-MIB::serverRoot.0 =3D STRING: > APACHE2-MIB::serverPidfile.0 =3D STRING: > APACHE2-MIB::serverTmpDir.0 =3D STRING: > APACHE2-MIB::agentHttpAddress.0 =3D STRING: > APACHE2-MIB::totalServerPorts.0 =3D INTEGER: 0 > APACHE2-MIB::totalTraffic.0 =3D INTEGER: 0 > APACHE2-MIB::totalAccess.0 =3D Counter32: 0 > APACHE2-MIB::busyWorkers.0 =3D Gauge32: 0 > APACHE2-MIB::idleWorkers.0 =3D Gauge32: 0 > APACHE2-MIB::serverStatus.0 =3D INTEGER: up(1) > APACHE2-MIB::serverUptime.0 =3D STRING: 13104 days 4 hours 32 mins 8 sec > APACHE2-MIB::agentHttpAccess.0 =3D Counter32: 80 > APACHE2-MIB::serverRequestsPerSec.0 =3D STRING: > APACHE2-MIB::serverKBytesPerSec.0 =3D STRING: > APACHE2-MIB::serverKBytesPerRequest.0 =3D STRING: > APACHE2-MIB::httpError400.0 =3D Counter32: 0 > APACHE2-MIB::httpError403.0 =3D Counter32: 0 > APACHE2-MIB::httpError404.0 =3D Counter32: 0 > APACHE2-MIB::httpError405.0 =3D Counter32: 0 > APACHE2-MIB::httpError500.0 =3D Counter32: 0 > APACHE2-MIB::httpError501.0 =3D Counter32: 0 > APACHE2-MIB::httpError505.0 =3D 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 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick > _______________________________________________ > Mod-apache-snmp-users mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/mod-apache-snmp-users > -- ---------------------------------------------------------------------- Esteban Pizzini (http://mod-apache-snmp.sourceforge.net) |