Current time: 04-20-2024, 09:51 AM Hello There, Guest! (LoginRegister)


Post Reply 
vhost monitoring
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #21
RE: vhost monitoring
Ich bin da auch noch ein bisschen am Forschen, was mir nicht klar ist
Code:
And now install the plugin

    cp mod_watch /usr/share/munin/plugins/
    cd /etc/munin/plugins
    ln -sf /usr/share/munin/plugins/apache_watch apache_watch_bytes
    ln -sf /usr/share/munin/plugins/apache_watch apache_watch_documents
    ln -sf /usr/share/munin/plugins/apache_watch apache_watch_requestes
Diese Dateien gibt es aber nicht [Image: a015.gif]


Habe sogar eine Seite gefunden die das genau so betreibt
-> http://www.banjoandsullivan.com/munin/lo...tml#Apache

Greez BeNe
10-18-2007 12:00 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #22
RE: vhost monitoring
Mein post ist schon wieder nicht da [Image: a005.gif]

EDIT zum zweiten Mal: IST JETZT WIEDER SICHTBAR!! ABER ERST NACH DIESEM POST HIER?!

Greez BeNe
(This post was last modified: 10-18-2007 12:02 AM by BeNe.)
10-18-2007 12:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #23
RE: vhost monitoring
Hm:

Code:
cd /root/mod_watch-4.3_apache22_mod
cp mod_watch.c /usr/share/munin/plugins/

ln -sf /usr/share/munin/plugins/apache_watch_ /etc/munin/plugins/apache_watch_

cd /etc/munin/plugins
ln -sf /usr/share/munin/plugins/apache_watch apache_watch_bytes
ln -sf /usr/share/munin/plugins/apache_watch apache_watch_documents
ln -sf /usr/share/munin/plugins/apache_watch apache_watch_requestes



ich habs mal so gemacht we oben:
und das apache_watch_ nach /usr/share/munin/plugins/ geladen.
Dann die Links angelegt.
Jetzt versuche ich das Teil in Munin zu aktivieren ...
cd /usr/share/munin/plugins/
./apache_watch_ autoconf
LWP::UserAgent not found

Da fehlen wohl noch ein paar Perl Module ...


BeNe Wrote:Ich bin da auch noch ein bisschen am Forschen, was mir nicht klar ist
Code:
And now install the plugin

    cp mod_watch /usr/share/munin/plugins/
    cd /etc/munin/plugins
    ln -sf /usr/share/munin/plugins/apache_watch apache_watch_bytes
    ln -sf /usr/share/munin/plugins/apache_watch apache_watch_documents
    ln -sf /usr/share/munin/plugins/apache_watch apache_watch_requestes
Diese Dateien gibt es aber nicht [Image: a015.gif]


Habe sogar eine Seite gefunden die das genau so betreibt
-> http://www.banjoandsullivan.com/munin/lo...tml#Apache

Greez BeNe
10-18-2007 12:09 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #24
RE: vhost monitoring
Quote:Da fehlen wohl noch ein paar Perl Module ...
Sicher das hier:
Code:
apt-get install libwww-perl

Ok - dann werde ich das auch mal so machen...

Greez BeNe
10-18-2007 12:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #25
RE: vhost monitoring
Code:
apt-get install libcrypt-ssleay-perl libwww-perl

Hm - ist immer noch nicht aktiv .. keine Graphen.
Ich schicke Dir nochmal den ganzen Teil per Mail.
(This post was last modified: 10-18-2007 12:25 AM by fulltilt.)
10-18-2007 12:23 AM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #26
RE: vhost monitoring
Code:
Plugin must be symlinked to aspect to be monitored at /etc/munin/plugins/apache_watch_ line 86.

Sehr komisch - das Teil ist ja verlinkt ...
Kann nicht mehr weit sein :-)
(This post was last modified: 10-18-2007 12:29 AM by fulltilt.)
10-18-2007 12:28 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #27
RE: vhost monitoring
Genau da stehe ich auch gerade... Wink
Wenn ich die Zeilen rausnehme dann läuft es ohne Fehler durch.
Jetzt mal sehen ob was passiert ist.

Greez BeNe
10-18-2007 12:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #28
RE: vhost monitoring
Hi BeNe,

schau mal unten bei comments:
apache_watch

heisst das - dass Modul muss 3x umbenannt werden:
the name of the plugin is apache_watch_documents, apache_watch_bytes,
apache_watch_requests

und dann verlinkt?

BeNe Wrote:Genau da stehe ich auch gerade... Wink
Wenn ich die Zeilen rausnehme dann läuft es ohne Fehler durch.
Jetzt mal sehen ob was passiert ist.

Greez BeNe
10-18-2007 12:42 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #29
RE: vhost monitoring
Ich habe es (teilweise) Wink
Es werden von Munin grafiken erstellen, ABER auch mit allen Modulen in dem Verzeichniss Big Grin Aber immerhin.

Kannst es hier mal anschauen --> http://ispcpdemo.homeip.net/munin/locald...tml#Apache

Greez BeNe
10-18-2007 12:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #30
RE: vhost monitoring
Immerhin Wink

was hast Du gemacht?

BeNe Wrote:Ich habe es (teilweise) Wink
Es werden von Munin grafiken erstellen, ABER auch mit allen Modulen in dem Verzeichniss Big Grin Aber immerhin.

Kannst es hier mal anschauen --> http://ispcpdemo.homeip.net/munin/locald...tml#Apache

Greez BeNe
10-18-2007 12:47 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)