Re: Munin + Konfig
Der lokale User "Horst" ;)
Naklar, Tippfehler ;-)
Ich vermute einen Fehler in deinen configs. Poste die mal. Siehe auch
/var/log/munin - es wird per standard ausfuehrlich mitgeloggt.
/etc/munin/munin.conf:
dbdir /var/lib/munin
htmldir /var/www/munin
logdir /var/log/munin
rundir /var/run/munin
# Where to look for the HTML templates
tmpldir /etc/munin/templates
# Make graphs show values per minute instead of per second
#graph_period minute
# Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
# something changes (OK -> WARNING, CRITICAL -> OK, etc)
#contact.someuser.command mail -s "Munin notification" somejuser@fnord.comm
#contact.anotheruser.command mail -s "Munin notification"
anotheruser@blibb.comm
#
# For those with Nagios, the following might come in handy. In addition,
# the services must be defined in the Nagios server as well.
#contact.nagios.command /usr/sbin/send_nsca -H nagios.host.com -c
/etc/send_nsca.cfg
# a simple host tree
#[localhost.localdomain]
# address 192.168
# use_node_name yes
#
# A more complex example of a host tree
#
## First our "normal" host.
[localhost]
address 127.0.0.1
use_node_name yes
[morpheus]
address 192.168.23.1
use_node_name yes
/etc/munin/munin-node.conf:
#
# Example config-file for munin-node
#
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 127.0.0.1
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 morpheus
# 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 ^192\.168\.23\.0$
THX Marco
Reply to: