Current time: 05-02-2024, 11:33 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Munin arbeitet nicht
Author Message
Kayaro Offline
Junior Member
*

Posts: 79
Joined: Apr 2009
Reputation: -1
Post: #1
Munin arbeitet nicht
Hallo leute,

ich habe ein Problem mit Munin.
Ich habe munin normal installiert (apt-get install munin)

In den logs steht:

munin-html.log
Code:
Jun 19 14:20:05 - Starting munin-html, checking lock
Jun 19 14:20:06 - could not copy style.css into htmldir
Jun 19 14:20:06 - could not copy logo.png into htmldir
Jun 19 14:20:06 - could not copy definitions.html into htmldir
Jun 19 14:20:06 - processing domain: xxxxx.de
munin-graph.log
Code:
Jun 19 14:20:05 - Unable to graph /var/lib/munin/xxxx.de/biliskner.xxxxx.de-vmstat-sleep-g.rrd: Could not save png to '/var/www/virtual/xxxx.de/statik/htdocs/stat/xxxx.de/biliskner.xxxx.de-vmstat-month.png'
Jun 19 14:20:05 - Unable to graph /var/lib/munin/xxxx.de/biliskner.xxxx.de-vmstat-sleep-g.rrd: Could not save png to '/var/www/virtual/xxxxx.de/statik/htdocs/stat/xxxxx.de/biliskner.xxxxx.de-vmstat-week.png'
Jun 19 14:20:05 - Unable to graph /var/lib/munin/xxxx.de/biliskner.xxxx.de-vmstat-sleep-g.rrd: Could not save png to '/var/www/virtual/xxxx.de/statik/htdocs/stat/xxxx.de/biliskner.xxxx.de-vmstat-day.png'
Jun 19 14:20:05 - Unable to graph /var/lib/munin/xxxxx.de/biliskner.xxxx.de-vmstat-sleep-g.rrd: Could not save png to '/var/www/virtual/xxxx.de/statik/htdocs/stat/xxxx.de/biliskner.xxxx.de-vmstat-year.png'
Jun 19 14:20:05 - Graphed service : vmstat (0.04 sec * 4)
munin-limits.log
Code:
Jun 19 14:25:04 - Starting munin-limits, checking lock
Jun 19 14:25:04 - Created lock: /var/run/munin/munin-limits.lock
Jun 19 14:25:04 - processing domain: xxxx.de
Jun 19 14:25:04 - processing node: biliskner.xxxxx.de
Jun 19 14:25:04 - munin-limits finished (0.00 sec)
munin-update.log
Code:
Jun 19 14:25:01 - Starting munin-update
Jun 19 14:25:01 [25123] - Processing domain: xxxxx.de
Jun 19 14:25:01 [25123] - Processing node: biliskner.xxxx.de
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxxxxxx.de -> open_inodes (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> if_err_eth0 (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> mysql_slowqueries (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxxx.de -> entropy (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> irqstats (0.05 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> postfix_mailqueue (0.05 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> if_eth0 (0.05 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> processes (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> mysql_threads (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> df (0.05 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> interrupts (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> swap (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> mysql_bytes (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> load (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> ntp_offset (0.05 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> cpu (0.05 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> df_inode (0.05 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> postfix_mailvolume (0.04 sec)
Jun 19 14:25:01 [25124] - Configured service: biliskner.xxxx.de -> mysql_queries (0.04 sec)
Jun 19 14:25:02 [25124] - Configured service: biliskner.xxxx.de -> forks (0.04 sec)
Jun 19 14:25:02 [25124] - Configured service: biliskner.xxxx.de -> iostat (0.05 sec)
Jun 19 14:25:02 [25124] - Configured service: biliskner.xxxx.de -> open_files (0.04 sec)
Jun 19 14:25:02 [25124] - Configured service: biliskner.xxxx.de -> memory (0.05 sec)
Jun 19 14:25:02 [25124] - Configured service: biliskner.xxxx.de -> nfs_client (0.05 sec)
Jun 19 14:25:02 [25124] - Configured service: biliskner.xxxx.de -> vmstat (0.04 sec)
Jun 19 14:25:02 [25124] - Configured node: biliskner.xxxx.de (1.16 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> open_inodes (0.05 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> if_err_eth0 (0.04 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> irqstats (0.05 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> entropy (0.04 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> mysql_slowqueries (0.05 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> processes (0.04 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> if_eth0 (0.04 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> postfix_mailqueue (0.06 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> df (0.05 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> mysql_threads (0.05 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> interrupts (0.04 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> swap (0.04 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> mysql_bytes (0.05 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> load (0.04 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> ntp_offset (0.05 sec)
Jun 19 14:25:02 [25124] - Fetched service: biliskner.xxxx.de -> df_inode (0.05 sec)
Jun 19 14:25:03 [25124] - Fetched service: biliskner.xxxx.de -> cpu (0.04 sec)
Jun 19 14:25:03 [25124] - Fetched service: biliskner.xxxx.de -> postfix_mailvolume (0.07 sec)
Jun 19 14:25:03 [25124] - Fetched service: biliskner.xxxx.de -> mysql_queries (0.05 sec)
Jun 19 14:25:03 [25124] - Fetched service: biliskner.xxxx.de -> open_files (0.04 sec)
Jun 19 14:25:03 [25124] - Fetched service: biliskner.xxxx.de -> iostat (0.04 sec)
Jun 19 14:25:03 [25124] - Fetched service: biliskner.xxxx.de -> forks (0.04 sec)
Jun 19 14:25:03 [25124] - Fetched service: biliskner.xxxx.de -> memory (0.04 sec)
Jun 19 14:25:04 [25124] - Fetched service: biliskner.xxxx.de -> vmstat (1.04 sec)
Jun 19 14:25:04 [25124] - Fetched service: biliskner.xxxx.de -> nfs_client (0.08 sec)
Jun 19 14:25:04 [25124] - Fetched node: biliskner.xxxx.de (2.20 sec)
Jun 19 14:25:01 [25123] - Processed node: biliskner.xxxx.de (0.00 sec)
Jun 19 14:25:01 [25123] - Processed domain: xxxx.de (0.00 sec)
Jun 19 14:25:04 [25123] - connection from xxxx.de -> biliskner.xxxx.de (25124)
Jun 19 14:25:04 [25123] - connection from xxxx.de -> biliskner.xxxx.de (25124) closed
Jun 19 14:25:04 [25123] - Munin-update finished (3.41 sec)

Kurz gesagt: es wird nicht kopiert/erstellt warum weiß ich nicht.

Meine Config:

Code:
# 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    /var/www/virtual/xxx.de/statik/htdocs/stat
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

# Graphics files are normaly generated by munin-graph, no matter if
# the graphs are used or not.  You can change this to
# on-demand-graphing by following the instructions in
# http://munin.projects.linpro.no/wiki/CgiHowto
#
#graph_strategy cgi

# 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
[biliskner.xxxx.de]
    address 127.0.0.1
    use_node_name yes

#
# A more complex example of a host tree
#
## First our "normal" host.
# [fii.foo.com]
#       address foo
#
## Then our other host...
# [fay.foo.com]
#       address fay
#
## Then we want totals...
# [foo.com;Totals] #Force it into the "foo.com"-domain...
#       update no   # Turn off data-fetching for this "host".
#
#   # The graph "load1". We want to see the loads of both machines...
#   # "fii=fii.foo.com:load.load" means "label=machine:graph.field"
#       load1.graph_title Loads side by side
#       load1.graph_order fii=fii.foo.com:load.load fay=fay.foo.com:load.load
#
#   # The graph "load2". Now we want them stacked on top of each other.
#       load2.graph_title Loads on top of each other
#       load2.dummy_field.stack fii=fii.foo.com:load.load fay=fay.foo.com:load.load
#       load2.dummy_field.draw AREA # We want area instead the default LINE2.
#       load2.dummy_field.label dummy # This is needed. Silly, really.
#
#   # The graph "load3". Now we want them summarised into one field
#       load3.graph_title Loads summarised
#       load3.combined_loads.sum fii.foo.com:load.load fay.foo.com:load.load
#       load3.combined_loads.label Combined loads # Must be set, as this is
#                                                 # not a dummy field!
#
## ...and on a side note, I want them listen in another order (default is
## alphabetically)
#
# # Since [foo.com] would be interpreted as a host in the domain "com", we
# # specify that this is a domain by adding a semicolon.
# [foo.com;]
#       node_order Totals fii.foo.com fay.foo.com
#
06-20-2010 12:33 AM
Find all posts by this user Quote this message in a reply
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #2
RE: Munin arbeitet nicht
Schaut nach einem Rechteproblem aus. Munin wird nicht in das Ausgabeverzeichnis schreiben dürfen.

An Deiner Stelle hätte ich die Standard-Config von Munin belassen und nur einen entsprechenden Alias für die Site erstellt. Wurde munin-node auch mitinstalliert ?


Knut
(This post was last modified: 06-20-2010 01:03 AM by Knut.)
06-20-2010 01:02 AM
Find all posts by this user Quote this message in a reply
Kayaro Offline
Junior Member
*

Posts: 79
Joined: Apr 2009
Reputation: -1
Post: #3
RE: Munin arbeitet nicht
Hallo,

ja, munin-node wurde auch mit installiert.
06-20-2010 01:29 AM
Find all posts by this user Quote this message in a reply
Kayaro Offline
Junior Member
*

Posts: 79
Joined: Apr 2009
Reputation: -1
Post: #4
RE: Munin arbeitet nicht
Habe jetzt eine apache conf. datei erstellt mit folgenden inhalt:

Code:
<VirtualHost xxxx:80>
  ServerName munstat.xxxx.de
  ServerAlias www.munstat.xxxx.de
  ServerAdmin stat@xxxx.de
  DocumentRoot "/var/www/munin"
Alias /munin /var/www/munin
<Directory "/var/www/munin/">
         AllowOverride FileInfo
         RewriteEngine On
         RewriteRule ^/.*  -  [F]
</Directory>
</VirtualHost>

jedoch wird mir nur die default page angezeigt.

p.s. Unter /var/www/munin schreibt munin merkwürdiger weise
06-20-2010 03:05 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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