add some more urls
[wiki.git] / monitoring / munin.mdwn
1 Official site: http://munin-monitoring.org
2
3 Demo site: http://munin.greptilian.com
4
5 Plugins: https://github.com/munin-monitoring/contrib/
6
7 ## Trouble with the munin yum plugin
8
9     [root@server1 ~]# grep yum /var/log/munin/munin-update.log | tail -1
10     2012/05/06 10:20:07 [WARNING] Service yum on server1.greptilian.com/127.0.0.1:4949 returned no data for label pending
11     [root@server1 ~]# 
12     [root@server1 ~]# rpm -qf /usr/sbin/munin-run 
13     munin-node-1.4.7-1.el6.noarch
14     [root@server1 ~]# rpm -q --qf '%{VENDOR}|%{BUILDHOST}\n' munin-node
15     Fedora Project|x86-12.phx2.fedoraproject.org
16     [root@server1 ~]# 
17     [root@server1 ~]# munin-run yum
18     Can't open /var/lib/munin/plugin-state/yum.state for reading: No such file or directory
19     Please read 'munindoc yum' to understand why if the file does not exist.
20     [root@server1 ~]# touch /var/lib/munin/plugin-state/yum.state
21     [root@server1 ~]# chown munin:munin /var/lib/munin/plugin-state/yum.state
22     [root@server1 ~]# munin-run yum
23     pending.value 0
24     [root@server1 ~]# 
25     [root@server1 ~]# file /var/lib/munin/plugin-state/yum.state
26     /var/lib/munin/plugin-state/yum.state: empty
27     [root@server1 ~]# 
28     [root@server1 ~]# tail -1 /var/log/audit/audit.log
29     type=USER_END msg=audit(1336315212.521:29175): user pid=9668 uid=498 auid=498 ses=1746 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_close acct="munin" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
30     [root@server1 ~]# 
31
32 ### See also
33
34 * http://munin-monitoring.org/browser/tags/1.4.7/plugins/node.d.linux/yum.in
35 * http://pkgs.fedoraproject.org/gitweb/?p=munin.git;a=tree
36 * http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/munin.html
37 * http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/munin-common.html
38 * http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/munin-node.html
39 * http://dl.fedoraproject.org/pub/epel/6/SRPMS/repoview/munin.html
40 * http://munin-monitoring.org/wiki/Debugging_Munin_plugins
41 * Bug 786030 - Munins yum.state is not created automatically - https://bugzilla.redhat.com/show_bug.cgi?id=786030
42 * Ticket #806 (yum plugin in 1.4.x does not cope with update from 1.2.6) - http://munin-monitoring.org/ticket/806