mod-apache-snmp-users Mailing List for SNMP Apache Module (Page 3)
Monitor Apache using SNMP
Brought to you by:
eplx
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(2) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
(2) |
Jul
(5) |
Aug
(1) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
|
Dec
(1) |
2009 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(27) |
Aug
(7) |
Sep
(4) |
Oct
|
Nov
|
Dec
(11) |
2010 |
Jan
(5) |
Feb
(4) |
Mar
(6) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(2) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Esteban P. <est...@gm...> - 2007-01-05 13:20:24
|
Hello, Have you enabled mod_status in apache conf?? Regards, Esteban On 1/5/07, cba...@eu... <cba...@eu...> wrote: > > Hello, > > I've installed mod_ap2_snmp on my Apache 2.0.58 with Net-SNMP-5.3.1. I can > read serverName, serverVersion, serverTmpDir, etc... but all the infos > regarding the activity are empty (busyWorkers, totalTraffic, > idleWorkers...) > > Is mod_ap2_snmp compatible with the worker MPM ? Any other idea ? > > Regards, > > Christophe > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > 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) |
From: <cba...@eu...> - 2007-01-05 12:40:13
|
Hello, I've installed mod_ap2_snmp on my Apache 2.0.58 with Net-SNMP-5.3.1. I can read serverName, serverVersion, serverTmpDir, etc... but all the infos regarding the activity are empty (busyWorkers, totalTraffic, idleWorkers...) Is mod_ap2_snmp compatible with the worker MPM ? Any other idea ? Regards, Christophe |
From: 'S. B. <su...@de...> - 2006-05-08 02:01:16
|
Le dimanche 07 mai 2006 =E0 15:16 +0200, Rapha=EBl 'SurcouF' Bordet a =E9crit : > Hi, >=20 > Im' trying to get mod-apache-snmp working under a debian sarge, using > apache2 (2.0.54-5). I've successfully compiled ap2_snmp as net-snmp > module and ap2_snmp_module as apache2 module. > I've configure apache2 like this (: >=20 > --( /etc/apache2/mods-available/ap2_snmp.conf )-- > <Location /ap2_snmp> > Sethandler ap2_snmp > Order Deny,Allow > Deny from all > Allow from 127.0.0.1 10.0.0.0/24 > </Location> > snmp_community apache2 > snmp_agent_address localhost > snmp_tmp_dir /tmp/ > snmp_version 1 > snmp_http_address 10.0.0.1 80 > ---8<--- [...] > And I've got these error messages every 30 s in error.log: >=20 > --( /var/log/apache2/error.log )-- > [Sun May 07 15:13:37 2006] [notice] child pid 27222 exit signal > Segmentation fault (11) > [Sun May 07 15:14:07 2006] [notice] child pid 27509 exit signal > Segmentation fault (11) > [Sun May 07 15:14:37 2006] [notice] child pid 27804 exit signal > Segmentation fault (11) > [Sun May 07 15:14:37 2006] [notice] child pid 27804 exit signal > Segmentation fault (11) > ---8<--- I've finally find which module was the origin of this segfault: cfg_ldap. By disable this module, ap2_snmp is working fine. However, I must set =AB snmp_http_address =BB to "127.0.0.1" and configur= e apache2 to listen also upon 80 port of 127.0.0.1.=20 Thanks Esteban et best regards, --=20 Rapha=EBl 'SurcouF' Bordet http://debianfr.net/ | surcouf at debianfr dot net |
From: Esteban P. <est...@gm...> - 2006-05-07 14:25:54
|
Hi Raphael, Please, can you try this? snmpset -v1 -c apache2 localhost APACHE2-MIB::totalTraffic.0 i 123 if it works fine, then replace this line: snmp_http_address 10.0.0.1 80 with this. snmp_http_address 127.0.0.1 80 Regards, Esteban On 5/7/06, Rapha=EBl 'SurcouF' Bordet <su...@de...> wrote: > > Hi, > > Im' trying to get mod-apache-snmp working under a debian sarge, using > apache2 (2.0.54-5). I've successfully compiled ap2_snmp as net-snmp > module and ap2_snmp_module as apache2 module. > I've configure apache2 like this (: > > --( /etc/apache2/mods-available/ap2_snmp.conf )-- > <Location /ap2_snmp> > Sethandler ap2_snmp > Order Deny,Allow > Deny from all > Allow from 127.0.0.1 10.0.0.0/24 > </Location> > snmp_community apache2 > snmp_agent_address localhost > snmp_tmp_dir /tmp/ > snmp_version 1 > snmp_http_address 10.0.0.1 80 > ---8<--- > > --( /etc/apache2/mods-available/ap2_snmp.load )-- > LoadModule ap2_snmp_module /usr/lib/apache2/modules/mod_ap2_snmp.so > ---8<--- > > When I restart apache2, I'm getting these following error messages: > > # /etc/init.d/apache2 restart > Forcing reload of web server: Apache2[Sun May 07 15:00:53 2006] [error] > AP2_SNMP: agentHttpAddress set to: > [Sun May 07 15:00:53 2006] [error] 10.0.0.1:80 > [Sun May 07 15:00:55 2006] [error] AP2_SNMP: agentHttpAddress set to: > [Sun May 07 15:00:55 2006] [error] 10.0.0.1:80 > > This is just a warning, yes... > > I've set up some directives for snmpd: > > --( /etc/snmp/snmpd.conf )-- > com2sec apache2 default apache2 > group ap2RWGroup v1 apache2 > view apache2 included .1.3.6.1.4.1.19786.1.1 > access ap2RWGroup "" any noauth exact all all none > ---8<--- > > I've tried to execute an snmpwalk command like this: > > $ snmpwalk -v 1 -c public -m /usr/share/snmp/mibs/APACHE2-MIB.txt > localhost .1.3.6.1.4.1.19786.1.1.2 > 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: notResponding(2) > APACHE2-MIB::serverUptime.0 =3D STRING: 10 sec > APACHE2-MIB::agentHttpAccess.0 =3D Counter32: 0 > APACHE2-MIB::serverRequestsPerSec.0 =3D STRING: > APACHE2-MIB::serverKBytesPerSec.0 =3D STRING: > APACHE2-MIB::serverKBytesPerRequest.0 =3D STRING: > > And I've got these error messages every 30 s in error.log: > > --( /var/log/apache2/error.log )-- > [Sun May 07 15:13:37 2006] [notice] child pid 27222 exit signal > Segmentation fault (11) > [Sun May 07 15:14:07 2006] [notice] child pid 27509 exit signal > Segmentation fault (11) > [Sun May 07 15:14:37 2006] [notice] child pid 27804 exit signal > Segmentation fault (11) > [Sun May 07 15:14:37 2006] [notice] child pid 27804 exit signal > Segmentation fault (11) > ---8<--- > > > Do you have any idea ? > > Regards, > > -- > Rapha=EBl 'SurcouF' Bordet > http://debianfr.net/ | surcouf at debianfr dot net > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmdlnk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > 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) |
From: 'S. B. <su...@de...> - 2006-05-07 13:17:14
|
Hi, Im' trying to get mod-apache-snmp working under a debian sarge, using apache2 (2.0.54-5). I've successfully compiled ap2_snmp as net-snmp module and ap2_snmp_module as apache2 module. I've configure apache2 like this (: --( /etc/apache2/mods-available/ap2_snmp.conf )-- <Location /ap2_snmp> Sethandler ap2_snmp Order Deny,Allow Deny from all Allow from 127.0.0.1 10.0.0.0/24 </Location> snmp_community apache2 snmp_agent_address localhost snmp_tmp_dir /tmp/ snmp_version 1 snmp_http_address 10.0.0.1 80 ---8<--- --( /etc/apache2/mods-available/ap2_snmp.load )-- LoadModule ap2_snmp_module /usr/lib/apache2/modules/mod_ap2_snmp.so ---8<--- When I restart apache2, I'm getting these following error messages: # /etc/init.d/apache2 restart Forcing reload of web server: Apache2[Sun May 07 15:00:53 2006] [error] AP2_SNMP: agentHttpAddress set to: [Sun May 07 15:00:53 2006] [error] 10.0.0.1:80 [Sun May 07 15:00:55 2006] [error] AP2_SNMP: agentHttpAddress set to: [Sun May 07 15:00:55 2006] [error] 10.0.0.1:80 This is just a warning, yes... I've set up some directives for snmpd: --( /etc/snmp/snmpd.conf )-- com2sec apache2 default apache2 group ap2RWGroup v1 apache2 view apache2 included .1.3.6.1.4.1.19786.1.1 access ap2RWGroup "" any noauth exact all all none ---8<--- I've tried to execute an snmpwalk command like this: $ snmpwalk -v 1 -c public -m /usr/share/snmp/mibs/APACHE2-MIB.txt localhost .1.3.6.1.4.1.19786.1.1.2 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: notResponding(2) APACHE2-MIB::serverUptime.0 =3D STRING: 10 sec APACHE2-MIB::agentHttpAccess.0 =3D Counter32: 0 APACHE2-MIB::serverRequestsPerSec.0 =3D STRING: APACHE2-MIB::serverKBytesPerSec.0 =3D STRING: APACHE2-MIB::serverKBytesPerRequest.0 =3D STRING: And I've got these error messages every 30 s in error.log: --( /var/log/apache2/error.log )-- [Sun May 07 15:13:37 2006] [notice] child pid 27222 exit signal Segmentation fault (11) [Sun May 07 15:14:07 2006] [notice] child pid 27509 exit signal Segmentation fault (11) [Sun May 07 15:14:37 2006] [notice] child pid 27804 exit signal Segmentation fault (11) [Sun May 07 15:14:37 2006] [notice] child pid 27804 exit signal Segmentation fault (11) ---8<--- Do you have any idea ? Regards, --=20 Rapha=EBl 'SurcouF' Bordet http://debianfr.net/ | surcouf at debianfr dot net |
From: Guillaume R. <Gui...@in...> - 2005-12-27 13:54:54
|
Esteban Pizzini wrote: > Hello, >=20 > ap2_snmp module in net-snmp can't be unloaded.. :( because it's build > with net-snmp and it's not a dynamic module. I'm working on this > (dymanic module for net-snmp) and that will fix this problem. Thanks, this answer my questions #2 and #3. But what about the first one (aka why isn't just -I -ap2_snmp switch enough to disable ap2_snmp) ? > To avoid log access messages from ap2_snmp you can refer to the module = faq's > http://mod-apache-snmp.sourceforge.net/english/docs.htm#FAQ where is an > example for avoid this. But this only avoid the logging. :( Yes, I'd prefer to stop server harassment directly. --=20 If you can keep your head when all about you are losing theirs, maybe you just don't understand the situation -- Sad Truths of Life n=B017 |
From: Esteban P. <est...@gm...> - 2005-12-20 13:27:12
|
Hello, ap2_snmp module in net-snmp can't be unloaded.. :( because it's build with net-snmp and it's not a dynamic module. I'm working on this (dymanic module for net-snmp) and that will fix this problem. To avoid log access messages from ap2_snmp you can refer to the module faq'= s http://mod-apache-snmp.sourceforge.net/english/docs.htm#FAQ where is an example for avoid this. But this only avoid the logging. :( Esteban On 12/20/05, Guillaume Rousse <Gui...@in...> wrote: > > Hello. > > We just ran into a problem with official net-snmp mdk package, that kept > sending http request to local apache server every 30s without explicit > configuration for doing it. It appears the reason is the inclusion of > ap2_snmp snmp module in the package at build time, which is not easily > disable at runtime unless listing a tons of values for snmpd -I options. > Full discussion available at http://qa.mandriva.com/show_bug.cgi?id=3D202= 56 > > As the solution given is jsut a workaround, I have a few question that > may help us find a real solution: > - why isn't just -I -ap2_snmp switch enough to disable it, whereas > --with-mib-modules =3D ap2_snmp is enough to build it ? > > - couldn't this module get build as a dynamic module instead, as > explained at http://www.net-snmp.org/tutorial/tutorial-5/toolkit/dlmod, > so as to be optionally used at runtime, as apache modules ? > > - couldn't this module get build separatly from the core of net-snmpd, > so as to be packaged separatly ? > > Thanks for your help. > > -- > Before you find your handsome prince, you've got to kiss a lot of frogs > -- Murphy's Laws on Sex n=B026 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&opclick > _______________________________________________ > 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) |
From: Guillaume R. <Gui...@in...> - 2005-12-20 13:04:26
|
Hello. We just ran into a problem with official net-snmp mdk package, that kept sending http request to local apache server every 30s without explicit configuration for doing it. It appears the reason is the inclusion of ap2_snmp snmp module in the package at build time, which is not easily disable at runtime unless listing a tons of values for snmpd -I options. Full discussion available at http://qa.mandriva.com/show_bug.cgi?id=3D202= 56 As the solution given is jsut a workaround, I have a few question that may help us find a real solution: - why isn't just -I -ap2_snmp switch enough to disable it, whereas --with-mib-modules =3D ap2_snmp is enough to build it ? - couldn't this module get build as a dynamic module instead, as explained at http://www.net-snmp.org/tutorial/tutorial-5/toolkit/dlmod, so as to be optionally used at runtime, as apache modules ? - couldn't this module get build separatly from the core of net-snmpd, so as to be packaged separatly ? Thanks for your help. --=20 Before you find your handsome prince, you've got to kiss a lot of frogs -- Murphy's Laws on Sex n=B026 |
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) |
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 |
From: Esteban P. <est...@gm...> - 2005-08-30 16:15:14
|
--=20 ---------------------------------------------------------------------- Esteban Pizzini (http://mod-apache-snmp.sourceforge.net) |