Current time: 11-24-2024, 12:41 PM Hello There, Guest! (LoginRegister)


Post Reply 
vhost monitoring
Author Message
Galeon Offline


Posts: 3
Joined: Jan 2008
Reputation: 0
Post: #67
RE: vhost monitoring
hallo zusammen,

ich muss das hier mal wieder hochziehen da ich momentan auch vor dem problem stehe das mir für apache_watch keine pngs generiert werden. ich meine das wiki gewissenhaft verfolgt zu haben.
aber mal lieber ein paar daten, hoffentlich kann mir jemand weiterhelfen, ich zermarter mir schon die rübe Wink

(edit: das ganze läuft auf einem frisch aufgesetzten debian etch)

Das Modul (mod_watch-4.3_apache22_mod) ist kompiliert und geladen
Code:
server-wodan:~# apache2ctl -M
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_worker_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgid_module (shared)
dir_module (shared)
env_module (shared)
fastcgi_module (shared)
info_module (shared)
mime_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_http_module (shared)
rewrite_module (shared)
setenvif_module (shared)
status_module (shared)
suexec_module (shared)
watch_module (shared)
Syntax OK

die html-dateien werden erzeugt:
Code:
server-wodan:/var/www/munin/localdomain# ls -hal *apache*
-rw-r--r-- 1 munin munin 4.0K 2008-01-04 16:25 localhost.localdomain-apache_watch_bytes.html
-rw-r--r-- 1 munin munin 4.1K 2008-01-04 16:25 localhost.localdomain-apache_watch_documents.html
-rw-r--r-- 1 munin munin 4.0K 2008-01-04 16:25 localhost.localdomain-apache_watch_requests.html

mod_watch.pl -f ifRequests,ifDocuments bringt:
Code:
server-wodan:/usr/local/sbin# ./mod_watch.pl -f ifRequests,ifDocuments http://127.0.0.1/watch-list/
13131
2476
10:12.48
SERVER

die configs liefen meines erachtens auch gut durch
Code:
server-wodan:/usr/share/munin/plugins# munin-run apache_watch_bytes config
graph_title Apache Input/output (bytes)
graph_args --base 1000 -l 0
graph_category apache
graph_vlabel activity
admin_server_wodan_de.label admin.server-wodan.de
admin_server_wodan_de.draw AREA
admin_server_wodan_de.type COUNTER
ende_expert_gamer_de.label ende.expert-gamer.de
ende_expert_gamer_de.draw STACK
ende_expert_gamer_de.type COUNTER
expert_gamer_de.label expert-gamer.de
expert_gamer_de.draw STACK
expert_gamer_de.type COUNTER
server_wodan_de.label server-wodan.de
server_wodan_de.draw STACK
server_wodan_de.type COUNTER
server-wodan:/usr/share/munin/plugins# munin-run apache_watch_documents config
graph_title Apache Documents served
graph_args --base 1000 -l 0
graph_category apache
graph_vlabel activity
admin_server_wodan_de.label admin.server-wodan.de
admin_server_wodan_de.draw AREA
admin_server_wodan_de.type COUNTER
ende_expert_gamer_de.label ende.expert-gamer.de
ende_expert_gamer_de.draw STACK
ende_expert_gamer_de.type COUNTER
expert_gamer_de.label expert-gamer.de
expert_gamer_de.draw STACK
expert_gamer_de.type COUNTER
server_wodan_de.label server-wodan.de
server_wodan_de.draw STACK
server_wodan_de.type COUNTER
server-wodan:/usr/share/munin/plugins# munin-run apache_watch_requests config
graph_title Apache Requests
graph_args --base 1000 -l 0
graph_category apache
graph_vlabel activity
admin_server_wodan_de.label admin.server-wodan.de
admin_server_wodan_de.draw AREA
admin_server_wodan_de.type COUNTER
ende_expert_gamer_de.label ende.expert-gamer.de
ende_expert_gamer_de.draw STACK
ende_expert_gamer_de.type COUNTER
expert_gamer_de.label expert-gamer.de
expert_gamer_de.draw STACK
expert_gamer_de.type COUNTER
server_wodan_de.label server-wodan.de
server_wodan_de.draw STACK
server_wodan_de.type COUNTER

ein manuelles ausführen der requests
Code:
server-wodan:/usr/share/munin/plugins# munin-run apache_watch_requests --debug
DEBUG: Skipping "Debian-exim" (optional).
Saving mysql*->env->mysqlopts = --defaults-extra-file=/etc/mysql/debian.cnf...
# file: 'apache_watch_requests'
# Want to run as euid/egid 65534/111
# Running as uid/gid/euid/egid 65534/111 111/65534/111 111
DEBUG: About to exec "/etc/munin/plugins/apache_watch_requests".admin_server_wodan_de.value 2144
ende_expert_gamer_de.value 8
expert_gamer_de.value 658
server_wodan_de.value 8996

munin-update.log
Code:
Jan 04 16:35:01 - Starting munin-update
Jan 04 16:35:01 [27443] - Processing domain: localdomain
Jan 04 16:35:01 [27443] - Processing node: localhost.localdomain
Jan 04 16:35:01 [27444] - Configured service: localhost.localdomain -> open_inodes (0.05 sec)
Jan 04 16:35:01 [27444] - Configured service: localhost.localdomain -> if_err_eth0 (0.06 sec)
Jan 04 16:35:01 [27444] - Configured service: localhost.localdomain -> mysql_slowqueries (0.05 sec)
Jan 04 16:35:01 [27444] - Configured service: localhost.localdomain -> entropy (0.05 sec)
Jan 04 16:35:01 [27444] - Configured service: localhost.localdomain -> irqstats (0.05 sec)
Jan 04 16:35:01 [27444] - Configured service: localhost.localdomain -> postfix_mailqueue (0.05 sec)
Jan 04 16:35:01 [27444] - Configured service: localhost.localdomain -> if_eth0 (0.06 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> processes (0.05 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> apache_watch_requests (0.19 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> apache_watch_documents (0.19 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> df (0.10 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> mysql_threads (0.05 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> interrupts (0.05 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> netstat (0.05 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> swap (0.05 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> mysql_bytes (0.05 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> load (0.05 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> cpu (0.08 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> df_inode (0.06 sec)
Jan 04 16:35:02 [27444] - Configured service: localhost.localdomain -> postfix_mailvolume (0.05 sec)
Jan 04 16:35:03 [27444] - Configured service: localhost.localdomain -> mysql_queries (0.05 sec)
Jan 04 16:35:03 [27444] - Configured service: localhost.localdomain -> forks (0.05 sec)
Jan 04 16:35:03 [27444] - Configured service: localhost.localdomain -> iostat (0.06 sec)
Jan 04 16:35:03 [27444] - Configured service: localhost.localdomain -> open_files (0.05 sec)
Jan 04 16:35:03 [27444] - Configured service: localhost.localdomain -> memory (0.05 sec)
Jan 04 16:35:03 [27444] - Configured service: localhost.localdomain -> apache_watch_bytes (0.19 sec)
Jan 04 16:35:03 [27444] - Configured service: localhost.localdomain -> vmstat (0.05 sec)
Jan 04 16:35:03 [27444] - Configured node: localhost.localdomain (1.95 sec)
Jan 04 16:35:03 [27444] - Fetched service: localhost.localdomain -> open_inodes (0.05 sec)
Jan 04 16:35:03 [27444] - Fetched service: localhost.localdomain -> if_err_eth0 (0.06 sec)
Jan 04 16:35:03 [27444] - Fetched service: localhost.localdomain -> irqstats (0.05 sec)
Jan 04 16:35:03 [27444] - Fetched service: localhost.localdomain -> entropy (0.05 sec)
Jan 04 16:35:03 [27444] - Fetched service: localhost.localdomain -> mysql_slowqueries (0.07 sec)
Jan 04 16:35:03 [27444] - Fetched service: localhost.localdomain -> processes (0.06 sec)
Jan 04 16:35:03 [27444] - Fetched service: localhost.localdomain -> if_eth0 (0.06 sec)
Jan 04 16:35:03 [27444] - Fetched service: localhost.localdomain -> postfix_mailqueue (0.08 sec)
Jan 04 16:35:04 [27444] - Fetched service: localhost.localdomain -> apache_watch_requests (0.19 sec)
Jan 04 16:35:04 [27444] - Fetched service: localhost.localdomain -> apache_watch_documents (0.19 sec)
Jan 04 16:35:04 [27444] - Fetched service: localhost.localdomain -> mysql_threads (0.07 sec)
Jan 04 16:35:04 [27444] - Fetched service: localhost.localdomain -> df (0.10 sec)
Jan 04 16:35:04 [27444] - Fetched service: localhost.localdomain -> netstat (0.06 sec)
Jan 04 16:35:04 [27444] - Fetched service: localhost.localdomain -> interrupts (0.06 sec)
Jan 04 16:35:04 [27444] - Fetched service: localhost.localdomain -> swap (0.05 sec)
Jan 04 16:35:04 [27444] - Fetched service: localhost.localdomain -> mysql_bytes (0.07 sec)
Jan 04 16:35:04 [27444] - Fetched service: localhost.localdomain -> load (0.05 sec)
Jan 04 16:35:04 [27444] - Fetched service: localhost.localdomain -> df_inode (0.15 sec)
Jan 04 16:35:05 [27444] - Fetched service: localhost.localdomain -> cpu (0.06 sec)
Jan 04 16:35:05 [27444] - Fetched service: localhost.localdomain -> postfix_mailvolume (0.05 sec)
Jan 04 16:35:05 [27444] - Fetched service: localhost.localdomain -> mysql_queries (0.08 sec)
Jan 04 16:35:05 [27444] - Fetched service: localhost.localdomain -> open_files (0.05 sec)
Jan 04 16:35:05 [27444] - Fetched service: localhost.localdomain -> iostat (0.06 sec)
Jan 04 16:35:05 [27444] - Fetched service: localhost.localdomain -> forks (0.05 sec)
Jan 04 16:35:05 [27444] - Fetched service: localhost.localdomain -> memory (0.05 sec)
Jan 04 16:35:05 [27444] - Fetched service: localhost.localdomain -> apache_watch_bytes (0.19 sec)
Jan 04 16:35:06 [27444] - Fetched service: localhost.localdomain -> vmstat (1.06 sec)
Jan 04 16:35:06 [27444] - Fetched node: localhost.localdomain (3.13 sec)
Jan 04 16:35:01 [27443] - Processed node: localhost.localdomain (0.02 sec)
Jan 04 16:35:01 [27443] - Processed domain: localdomain (0.02 sec)
Jan 04 16:35:06 [27443] - connection from localdomain -> localhost.localdomain (27444)
Jan 04 16:35:06 [27443] - connection from localdomain -> localhost.localdomain (27444) closed
Jan 04 16:35:06 [27443] - Munin-update finished (5.14 sec)

die graph.log ist lustiger weise leer.

hoffe mit den ganzen infos kann jemand etwas anfangen =)


Attached File(s) Thumbnail(s)
   
(This post was last modified: 01-05-2008 01:40 AM by Galeon.)
01-05-2008 01:39 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
vhost monitoring - fulltilt - 10-12-2007, 08:48 PM
RE: vhost monitoring - BeNe - 10-12-2007, 09:31 PM
RE: vhost monitoring - fulltilt - 10-12-2007, 09:37 PM
RE: vhost monitoring - BeNe - 10-13-2007, 12:38 AM
RE: vhost monitoring - fulltilt - 10-17-2007, 03:33 AM
RE: vhost monitoring - BeNe - 10-17-2007, 04:40 AM
RE: vhost monitoring - fulltilt - 10-17-2007, 04:50 AM
RE: vhost monitoring - BeNe - 10-17-2007, 04:56 AM
RE: vhost monitoring - fulltilt - 10-17-2007, 05:04 PM
RE: vhost monitoring - BeNe - 10-17-2007, 05:20 PM
RE: vhost monitoring - fulltilt - 10-17-2007, 05:45 PM
RE: vhost monitoring - BeNe - 10-17-2007, 05:34 PM
RE: vhost monitoring - BeNe - 10-17-2007, 06:06 PM
RE: vhost monitoring - fulltilt - 10-17-2007, 06:21 PM
RE: vhost monitoring - fulltilt - 10-17-2007, 09:26 PM
RE: vhost monitoring - BeNe - 10-17-2007, 10:45 PM
RE: vhost monitoring - BeNe - 10-17-2007, 11:21 PM
RE: vhost monitoring - fulltilt - 10-17-2007, 11:30 PM
RE: vhost monitoring - BeNe - 10-17-2007, 11:23 PM
RE: vhost monitoring - joximu - 10-17-2007, 11:28 PM
RE: vhost monitoring - BeNe - 10-18-2007, 12:00 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:01 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 12:09 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:12 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 12:23 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 12:28 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:36 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 12:42 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:44 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 12:47 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:51 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:52 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 01:18 AM
RE: vhost monitoring - BeNe - 10-18-2007, 01:35 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 02:52 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 01:42 AM
RE: vhost monitoring - Slowman - 10-18-2007, 02:22 AM
RE: vhost monitoring - BeNe - 10-18-2007, 03:58 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 04:45 AM
RE: vhost monitoring - BeNe - 10-18-2007, 05:11 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 05:20 AM
RE: vhost monitoring - BeNe - 10-18-2007, 05:14 AM
RE: vhost monitoring - BeNe - 10-18-2007, 05:26 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 05:28 AM
RE: vhost monitoring - BeNe - 10-18-2007, 05:39 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 03:40 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 05:38 PM
RE: vhost monitoring - BeNe - 10-18-2007, 05:53 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 06:25 PM
RE: vhost monitoring - BeNe - 10-18-2007, 06:27 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 06:44 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 06:46 PM
RE: vhost monitoring - BeNe - 10-18-2007, 06:50 PM
RE: vhost monitoring - BeNe - 10-18-2007, 07:50 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 07:59 PM
RE: vhost monitoring - BeNe - 10-18-2007, 10:12 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 10:20 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 10:30 PM
RE: vhost monitoring - BeNe - 10-18-2007, 10:41 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 10:57 PM
RE: vhost monitoring - BeNe - 10-19-2007, 12:44 AM
RE: vhost monitoring - fulltilt - 10-19-2007, 01:12 AM
RE: vhost monitoring - BeNe - 10-19-2007, 01:37 AM
RE: vhost monitoring - hbaes - 11-29-2007, 09:40 PM
RE: vhost monitoring - BeNe - 11-29-2007, 10:03 PM
RE: vhost monitoring - hbaes - 11-30-2007, 12:10 AM
RE: vhost monitoring - Galeon - 01-05-2008 01:39 AM
RE: vhost monitoring - BeNe - 01-05-2008, 01:48 AM
RE: vhost monitoring - Galeon - 01-05-2008, 01:58 AM
RE: vhost monitoring - Galeon - 01-09-2008, 09:05 AM
RE: vhost monitoring - fulltilt - 01-09-2008, 05:34 PM

Forum Jump:


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