Also ich monitore zur Zeit Server1 (CHiCK) mit munin und wollte nun Server2 (Server2) nun auch noch als munin-node mit "aufnehmen"...
Das Problem ist, das der munin-master die Daten wohl nicht richtig empfängt und/oder auswertet... Das schließe ich daraus das ich per telnet vom Master zur Node connecten kann (= Verbindung sollte also möglich sein) und die plugins per munin-run aufgerufen, auf der node funktionieren.
munin.conf (master) (ip wurde geändert, stimmt aber natürlich)
munin-node.conf (node) (ip wurde geändert, stimmt aber natürlich)
--------------------------------------------------------------------------------------------
munin-update.log (master)
munin-node.log (node) (ip wurde geändert, stimmt aber natürlich)
--------------------------------------------------------------------------------------------
munin HTML-Übersicht sieht ca so aus:
--------------------------------------------------------------------------------------------
Wo liegt der Fehler? Bin am verzweifeln
Dankeschoen
Das Problem ist, das der munin-master die Daten wohl nicht richtig empfängt und/oder auswertet... Das schließe ich daraus das ich per telnet vom Master zur Node connecten kann (= Verbindung sollte also möglich sein) und die plugins per munin-run aufgerufen, auf der node funktionieren.
munin.conf (master) (ip wurde geändert, stimmt aber natürlich)
Code:
[Ben;CHiCK]
address 127.0.0.1
use_node_name yes
[Marc;Server2]
address 91.163.174.23
munin-node.conf (node) (ip wurde geändert, stimmt aber natürlich)
Code:
log_level 4
log_file /var/log/munin/munin-node.log
port 4949
pid_file /var/run/munin/munin-node.pid
background 1
setseid 1
# Which port to bind to;
host *
user root
group root
setsid yes
# Regexps for files to ignore
ignore_file ~$
ignore_file \.bak$
ignore_file %$
ignore_file \.dpkg-(tmp|new|old|dist)$
ignore_file \.rpm(save|new)$
# Set this if the client doesn't report the correct hostname when
# telnetting to localhost, port 4949
#
host_name Marc;Server2
# A list of addresses that are allowed to connect. This must be a
# regular expression, due to brain damage in Net::Server, which
# doesn't understand CIDR-style network notation. You may repeat
# the allow line as many times as you'd like
allow ^127\.0\.0\.1$
allow ^93\.34\.17\.225$
--------------------------------------------------------------------------------------------
munin-update.log (master)
Code:
Sep 26 19:40:01 - Starting munin-update
Sep 26 19:40:01 [14255] - Processing domain: Ben
Sep 26 19:40:01 [14255] - Processing node: CHiCK
Sep 26 19:40:01 [14255] - Processed node: CHiCK (0.01 sec)
Sep 26 19:40:01 [14255] - Processed domain: Ben (0.01 sec)
Sep 26 19:40:01 [14255] - Processing domain: Marc
Sep 26 19:40:01 [14255] - Processing node: Server2
Sep 26 19:40:02 [14266] - Configured node: Server2 (0.07 sec)
Sep 26 19:40:02 [14266] - Fetched node: Server2 (0.00 sec)
Sep 26 19:40:01 [14264] - Configured service: CHiCK -> cpu (0.07 sec)
Sep 26 19:40:01 [14264] - Configured service: CHiCK -> entropy (0.04 sec)
Sep 26 19:40:01 [14264] - Configured service: CHiCK -> mysql_slowqueries (0.05 sec)
Sep 26 19:40:02 [14264] - Configured service: CHiCK -> processes (0.04 sec)
Sep 26 19:40:02 [14264] - Configured service: CHiCK -> mysql_queries (0.05 sec)
Sep 26 19:40:02 [14264] - Configured service: CHiCK -> open_files (0.05 sec)
Sep 26 19:40:02 [14264] - Configured service: CHiCK -> forks (0.04 sec)
Sep 26 19:40:02 [14264] - Configured service: CHiCK -> memory (0.05 sec)
Sep 26 19:40:02 [14264] - Configured service: CHiCK -> mysql_threads (0.04 sec)
Sep 26 19:40:02 [14264] - Configured service: CHiCK -> netstat (0.05 sec)
Sep 26 19:40:02 [14264] - Configured service: CHiCK -> interrupts (0.04 sec)
Sep 26 19:40:02 [14264] - Configured service: CHiCK -> mysql_bytes (0.05 sec)
Sep 26 19:40:02 [14264] - Configured service: CHiCK -> load (0.05 sec)
Sep 26 19:40:02 [14264] - Configured node: CHiCK (0.66 sec)
Sep 26 19:40:02 [14264] - Fetched service: CHiCK -> mysql_slowqueries (0.06 sec)
Sep 26 19:40:02 [14264] - Fetched service: CHiCK -> entropy (0.05 sec)
Sep 26 19:40:02 [14264] - Fetched service: CHiCK -> cpu (0.08 sec)
Sep 26 19:40:02 [14264] - Fetched service: CHiCK -> processes (0.05 sec)
Sep 26 19:40:02 [14264] - Fetched service: CHiCK -> mysql_queries (0.06 sec)
Sep 26 19:40:02 [14264] - Fetched service: CHiCK -> open_files (0.05 sec)
Sep 26 19:40:02 [14264] - Fetched service: CHiCK -> forks (0.05 sec)
Sep 26 19:40:02 [14264] - Fetched service: CHiCK -> memory (0.05 sec)
Sep 26 19:40:02 [14264] - Fetched service: CHiCK -> mysql_threads (0.06 sec)
Sep 26 19:40:02 [14264] - Fetched service: CHiCK -> interrupts (0.05 sec)
Sep 26 19:40:03 [14264] - Fetched service: CHiCK -> netstat (0.05 sec)
Sep 26 19:40:03 [14264] - Fetched service: CHiCK -> mysql_bytes (0.06 sec)
Sep 26 19:40:03 [14264] - Fetched service: CHiCK -> load (0.05 sec)
Sep 26 19:40:03 [14264] - Fetched node: CHiCK (0.69 sec)
Sep 26 19:40:01 [14255] - Processed node: Server2 (0.01 sec)
Sep 26 19:40:01 [14255] - Processed domain: Marc (0.02 sec)
Sep 26 19:40:02 [14255] - connection from Marc -> Server2 (14266)
Sep 26 19:40:02 [14255] - connection from Marc -> Server2 (14266) closed
Sep 26 19:40:03 [14255] - connection from Ben -> CHiCK (14264)
Sep 26 19:40:03 [14255] - connection from Ben -> CHiCK (14264) closed
Sep 26 19:40:03 [14255] - Munin-update finished (1.37 sec)
munin-node.log (node) (ip wurde geändert, stimmt aber natürlich)
Code:
2008/09/26-19:16:43 CONNECT TCP Peer: "93.21.37.111:52695" Local: "91.121.84.209:4949"
2008/09/26-19:19:18 CONNECT TCP Peer: "93.21.37.111:59569" Local: "91.121.84.209:4949"
2008/09/26-19:24:04 CONNECT TCP Peer: "93.21.37.111:60928" Local: "91.121.84.209:4949"
2008/09/26-19:28:53 CONNECT TCP Peer: "93.21.37.111:47327" Local: "91.121.84.209:4949"
2008/09/26-19:33:45 CONNECT TCP Peer: "93.21.37.111:39702" Local: "91.121.84.209:4949"
2008/09/26-19:38:29 CONNECT TCP Peer: "93.21.37.111:35602" Local: "91.121.84.209:4949"
--------------------------------------------------------------------------------------------
munin HTML-Übersicht sieht ca so aus:
Code:
Ben
CHiCK :: [ Mysql Network Processes System ]
Marc
Server2 :: [ ]
--------------------------------------------------------------------------------------------
Wo liegt der Fehler? Bin am verzweifeln
Dankeschoen