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
(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 =)