munin refuses to work. When I go to https://surf-anonymous.info/monitoring/ I get error 403: I followed this guide : http://www.howtoforge.com/server_monitoring_monit_munin The first page only, the munin. (I also visited other guides on the subject and set several configuration options which I hope have helped and not destroyed everything). These are the highlights/differences of my install: 1) when I go with ftp to /var/run/munin, it redirects me to /run/munin which contains one file: munin-node.pid 2) The site files are here: /var/www/clients/client1/web2/web/ So I created this new dir: /var/www/clients/client1/web2/web/monitoring 3) This is what happened when I restarted munin-node: root@server1:~# /etc/init.d/munin-node restart Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service munin-node restart Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the stop(8) and then start(8) utilities, e.g. stop munin-node ; start munin-node. The restart(8) utility is also available. munin-node start/running, process 5331 4) I had to install apache utils for the password to work: sudo apt-get install apache2-utils 5) This is the password command I have issued: htpasswd -c /var/www/clients/client1/web2/web/.htpasswd admin 6) When I go with FTP to /var/www/clients/client1/web2/web/monitoring, it contains only the .htaccess file. I do not see any graphs stored there. ps: This is the best tutorial I have found on installing munin! The server specs are in my sig.
The above guide is made for apache, it will not work for nginx because e.g. the password protection wont work as nginx does not support .htaccess files. Take the above minin.conf file and change just this line: htmldir /var/www/apps/munin Then run the command: mkdir -p /var/www/apps/munin chown munin:munin /var/www/apps/munin /etc/init.d/munin-node restart you should now be able to see the munin stats with this url: http://yourserver.tld:8081/munin/ if you want to password protect the output, then you will have to edit the nginx configuration file of the apps vhost and add a password protection there.
Munin does not update the graphs, the images/figures are the same from Friday Jan 17th. Not updating the graphs seems to be a common problem so I started to follow this FAQ: http://munin-monitoring.org/wiki/FAQ_no_graphs Although I did have plugins in here /etc/opt/munin/plugins, I did run "munin-node-configure --shell | sh -x", but this caused errors: Code: root@server1:~# munin-node-configure --shell | sh -x # The following plugins caused errors: # apache_processes: # Junk printed to stderr # diskstats: # Non-zero exit during autoconf (1) # ip_: # Nothing printed to stdout # No valid suggestions # irqstats: # Non-zero exit during autoconf (1) # postgres_bgwriter: # Non-zero exit during autoconf (255) # postgres_cache_: # Non-zero exit during autoconf (255) # postgres_checkpoints: # Non-zero exit during autoconf (255) # postgres_connections_: # Non-zero exit during autoconf (255) # postgres_connections_db: # Non-zero exit during autoconf (255) # postgres_locks_: # Non-zero exit during autoconf (255) # postgres_querylength_: # Non-zero exit during autoconf (255) # postgres_scans_: # Non-zero exit during autoconf (255) # postgres_size_: # Non-zero exit during autoconf (255) # postgres_transactions_: # Non-zero exit during autoconf (255) # postgres_tuples_: # Non-zero exit during autoconf (255) # postgres_users: # Non-zero exit during autoconf (255) # postgres_xlog: # Non-zero exit during autoconf (255) # users: # Junk printed to stderr Shoud I ignore the above errors? Edit: after some research I found this: http://munin-monitoring.org/ticket/738 It seems that is a known error, it is out of munin's responsibility and nobody is fixing it.
10 minutes after I run the above, I DID see the graphs to update. But I have the feeling that again they do not update. Right now I am searching for a way to change the display interval of munin, so that I can be sure that they do not update.
Munin graphs where frozen for all day. Now I see more data. Does munin generate graphs every 12 hours maybe?
I am googling for days with no result. Munin shows Mondays data and does not update. Where can I start looking? http://surf-anonymous.info:8081/munin/index.html
After checking the logs I found an error: Code: kernel 2.4 not supported yet Which was very confusing since I have kernel 2.6.x. It turned out to be a bug in munin. I had to change the munin code to make it work. Details here: http://bbb-solutions.blogspot.com/2014/02/munin-error-kernel-24-not-supported-yet.html