[Mod-apache-snmp-users] [notice] child pid 26926 exit signal Segmentation fault (11)
Monitor Apache using SNMP
Brought to you by:
eplx
|
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
|