Inhaltsverzeichnis

Munin

Server, auf dem Munin angezeigt werden soll

zypper in munin munin-node
# Example configuration file for Munin, generated by 'make build'

# The next three variables specifies where the location of the RRD
# databases, the HTML output, and the logs, severally.  They all
# must be writable by the user running munin-cron.
dbdir   /var/lib/munin
htmldir /srv/www/htdocs/bgweiz.at/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

contacts me # may be unnecessary and cause warnings
contact.me.command mail -s "Munin notification ${var:host}" mpraunegger@bgweiz.at
contact.me.always_send warning critical


# 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

[einstein]
    address 10.67.0.1
    use_node_name yes

[feynman]
    address 10.67.0.2
    use_node_name yes

[zeilinger]
    address 10.67.0.3
    use_node_name yes

[schroedinger]
    address 10.67.0.4
    use_node_name yes

[kepler]
    address 10.67.0.5
    use_node_name yes

[newton]
    address 10.67.0.254
    use_node_name yes

[planck]
    address 193.170.221.5
    use_node_name yes

[pascal]
    address 192.168.100.3
    use_node_name yes

[heisenberg]
    address 192.168.100.203
    use_node_name yes

[sommerfeld]
    address 10.67.0.201
    use_node_name yes

Client (munin-node)

zypper in munin-node
...
#host_name nott
host_name zeilinger
...
allow ^127\.0\.0\.1$
allow ^10\.67\.0\.1$
...
insserv munin-node; rcmunin-node restart

Sonstige Anleitungen