ispCP - Board - Support
vhost monitoring - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: vhost monitoring (/thread-1511.html)

Pages: 1 2 3 4 5 6 7 8


vhost monitoring - fulltilt - 10-12-2007 08:48 PM

Gibt es ein Script mit dem man alle vhosts monitoren kann?
Traffic, Prozesse, evtl. ddos ...
Also eine Übersicht aller vhost Aktivitäten auf einen Blick.


RE: vhost monitoring - BeNe - 10-12-2007 09:31 PM

Könnte man vielleicht mit Munin machen --> http://www.freshnet.org/wordpress/2007/03/08/monitoring-apaches-virtualhost-with-munin/

Greez BeNe


RE: vhost monitoring - fulltilt - 10-12-2007 09:37 PM

Hi BeNe,

Danke für den Link - habe Munin schon im Einsatz wusste aber nicht dass dies mit vhosts möglich ist.
Genau das habe ich gesucht :-)

BeNe Wrote:Könnte man vielleicht mit Munin machen --> http://www.freshnet.org/wordpress/2007/03/08/monitoring-apaches-virtualhost-with-munin/

Greez BeNe



RE: vhost monitoring - BeNe - 10-13-2007 12:38 AM

Kein Problem!
Vielleicht findest sich ja noch jemand der ein HowTo dazu schreibt.
Die sourcen für den Apache 2 sind ja auch schon da.
Und nützlich kann das sicher auch sein.

Greez BeNe


RE: vhost monitoring - fulltilt - 10-17-2007 03:33 AM

Hi BeNe,

komme mit dem kompilieren von mod_watch nicht klar Shy
Das liegt wohl an den Pfadangaben auf Etch ...
Wie müsste das aussehen?

Code:
# The location of apxs utility.
#
#APXS=/home/apache2/bin/apxs
APXS=/usr/bin/apxs

#
# The location of apachectl utility to stop/start/restart targets.
#
APACHECTL=apache2ctl

#
# Where the scripts should live
#
SCRIPTDIR=/usr/sbin

#
# Where to store the weenie files.
#
STATEDIR=/usr/local/apache2/modules/mod_watch/

#
# Define to use unsigned long long counters.
#
#BIG=-DUSE_OCTET_COUNTER_64
[/code]

BeNe Wrote:Kein Problem!
Vielleicht findest sich ja noch jemand der ein HowTo dazu schreibt.
Die sourcen für den Apache 2 sind ja auch schon da.
Und nützlich kann das sicher auch sein.

Greez BeNe



RE: vhost monitoring - BeNe - 10-17-2007 04:40 AM

Muss ich mir grad mal selber anschauen wie das taugt.

Welche Version hast du denn genommen ?
Mod_watch 4.3 für Apache 2.2 ? (mod_watch-4.3_apache22_mod.tar.gz)
-> http://forums.cacti.net/download.php?id=8888

Greez BeNe


RE: vhost monitoring - fulltilt - 10-17-2007 04:50 AM

Habe diese beiden getestet:
mod_watch403.tgz
mod_watch-4.3_apache22_mod.tar.gz

Code:
apxs:Break: Command failed with rc=1
make: *** [mod_watch.lo] Fehler 1

ich glaube dieser Pfad stimmt nicht:
Code:
# Where to store the weenie files.
#
STATEDIR=/usr/local/apache2/modules/mod_watch/
Code:
which apxs
/usr/bin/apxs

BeNe Wrote:Muss ich mir grad mal selber anschauen wie das taugt.

Welche Version hast du denn genommen ?
Mod_watch 4.3 für Apache 2.2 ? (mod_watch-4.3_apache22_mod.tar.gz)
-> http://forums.cacti.net/download.php?id=8888

Greez BeNe



RE: vhost monitoring - BeNe - 10-17-2007 04:56 AM

Ja, unter Etch ware das dann:
Code:
/usr/lib/apache2/modules/mod_watch/

Teste mal damit.

Greez BeNe


RE: vhost monitoring - fulltilt - 10-17-2007 05:04 PM

Sieht nicht gut aus Sad

Hier meine Makefile.dso
Code:
# The location of apxs utility.
#
#APXS=/home/apache2/bin/apxs
APXS=/usr/bin/apxs
# The location of apachectl utility to stop/start/restart targets.
#
APACHECTL=apache2ctl
#
# Where the scripts should live
#
SCRIPTDIR=/usr/sbin
#
# Where to store the weenie files.
#
STATEDIR=/usr/lib/apache2/modules/
#
# Define to use unsigned long long counters.
#
#BIG=-DUSE_OCTET_COUNTER_64
#
# Extras
#
DEF=$(BIG) -DSTATEDIR='\"$(STATEDIR)\"'
INC=/usr/sbin/
LIB=/usr/lib/

########################################################################
### No further configuration beyond this point.
########################################################################

Das ist auch seltsam >>>>>>>>

MODULEDIR = $(APACHEDIR)/src/modules/$(MODULE)

Fehler beim makefile build:
Code:
mod_watch.c:74:17: error: apr.h: Datei oder Verzeichnis nicht gefunden
mod_watch.c:75:21: error: apr_lib.h: Datei oder Verzeichnis nicht gefunden
mod_watch.c:76:25: error: apr_strings.h: Datei oder Verzeichnis nicht gefunden
mod_watch.c:83:19: error: unixd.h: Datei oder Verzeichnis nicht gefunden
[/code]


RE: vhost monitoring - BeNe - 10-17-2007 05:20 PM

Hast du denn überhaupt das apache2-dev paket drauf ?
Sieht nicht so aus... Rolleyes
Code:
APXS=/usr/bin/apxs
Muss sicherlich
Code:
/usr/bin/apxs2
sein.
Oder gibt es "/usr/bin/apxs" bei Dir ?

Greez BeNe