- TipAndDoc/monitor/munin
- muninの集計負荷をtmpfsで低減する(集計時間の短縮も) | へびにっき
- HOWTO Rename Munin node without losing history « BeezNest Open-Source specialists
- munin設定チェックリストまとめ - Layer8 Reference
- MuninTLSSetup - Munin - Trac
If your Munin installations resides in a hostile network environment, or if you just don't want anyone passing by with a network sniffer to know the CPU load of your Munin nodes, a quick solution is to enable Munin's built-in Transport Layer Security (TLS) support.
- Munin で温度を記録しよう。 - よこいまさる日記(2010-11-12)
- http://wiki.kartbuilding.net/index.php/Munin_Statistics
- muninのプラグインの追加/削除 - 玉虫色に染まれ!
- munin で困ったときは munin-node-configure してみる - trial and error
- Bug #830564 in munin (Ubuntu): “munin_stats plugin does not work”
-
munin_stats
52 52 53 53 if ($ARGV[0] and $ARGV[0] eq "config") { 54 54 print "graph_title Munin processing time\n", 55 "graph_info This graph shows the run time of the four different processes making up a munin-master run. Munin-master is run from cron every 5 minutes and we want each of the programmes in munin-master to complete before the next instance starts. Especially munin-update and munin-graph are time consuming and their run time bears watching. If munin-update uses too long time to run please see the munin-update graph to determine which host is slowing it down. If munin-graph is running too slow you need to get clever (email the munin-users mailing list) unless you can buy a faster computer with better disks to run munin on. ",55 "graph_info This graph shows the run time of the four different processes making up a munin-master run. Munin-master is run from cron every 5 minutes and we want each of the programmes in munin-master to complete before the next instance starts. Especially munin-update and munin-graph are time consuming and their run time bears watching. If munin-update uses too long time to run please see the munin-update graph to determine which host is slowing it down. If munin-graph is running too slow you need to get clever (email the munin-users mailing list) unless you can buy a faster computer with better disks to run munin on.\n", 56 56 "graph_args --base 1000 -l 0\n", 57 57 "graph_scale yes\n", 58 58 "graph_vlabel seconds\n",
-
- Adjusting Munin's accept timeout - Server Fault
I have a Munin master that's contacting 5 nodes at the moment and I'm seeing one to two warnings like this in the munin-update.log.
[WARNING] Call to accept timed out. Remaining workers: xyz;abc
in your plugin configuration file add
timeout 120
or on a per plugin basis in plugin-conf.d
[plugin_name] timeout 120
- Fixing Munin
Here is how you fix Munin 1.24 for CPanel to get the mysql graphs, the HDD temp graphs, and the Mailman graphs:
(snip) [mailman] user mailman
- Debianでは「user list」
- MLの数が多いと数え上げがタイムアウトするので、タイムアウト秒数を増やしておくこと
- muninの設定(つづき) - 玉虫色に染まれ!
- sensors_fan のアラートを消す
- ping プラグインの追加
- 複数のグラフを1つにまとめる
- rrdtool の RRD はアーキテクチャが異なると使用できない - maruko2 Note.
この場合、XML 形式に書き出した後、バイナリ形式の RRD として読み込めばよい。
- MuninのグラフをCGIリアルタイム生成して負荷軽減する方法(munin-cgi-graph) | Pocketstudio.jp log3
- CGI 版のバグに対する対処(ここがハマりどころ)
- 1.4.6-3ubuntu3.4 では修正済の模様
munin 2.0
- デフォルトではpngによるグラフ画像は生成されなくなった模様
- CgiHowto2 - Munin - Trac
- /var/log/munin/munin-graph.log
2012/10/06 22:10:08 Opened log file 2012/10/06 22:10:08 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/munin/munin-graph line 74. 2012/10/06 22:10:08 [PERL WARNING] Use of uninitialized value $graph_fh in <HANDLE> at /usr/share/munin/munin-graph line 75. 2012/10/06 22:10:08 [PERL WARNING] readline() on unopened filehandle at /usr/share/munin/munin-graph line 75.
- バグ?
- User support list for the munin RRD graphing front end
- /usr/share/munin/munin-graph
my $graph_fh = new IO::File($config->{libdir} . "/graphs");
/etc/munin/munin.conf に次の一文を追加すればとりあえずエラーは出なくなるlibdir /var/lib/munin
- 別のエラーを引き起こす
- /usr/bin/munin-cron
2012/10/09 17:47:46 [ERROR] config error under [] for 'libdir /var/lib/munin' : Parse error in /etc/munin/munin.conf for libdir: Unknown keyword at end of left hand side of line 9 (libdir ) at /usr/share/munin/munin-update line 49 ERROR: Failed to parse config file '/etc/munin/munin.conf': [ERROR] config error under [] for 'libdir /var/lib/munin' : Parse error in /etc/munin/munin.conf for libdir: Unknown keyword at end of left hand side of line 9 (libdir ) at /usr/share/munin/munin-update line 49 at /usr/share/munin/munin-update line 49
counter vs derive
- fieldname.type – Munin
- HowToWritePlugins – Munin
To avoid spikes in the graph when counters are reset (as opposed to wrapping), use ${name}.type DERIVE and ${name}.min 0.
- munin×JMXでColdFusionのJVMをモニタリングする | @哀T
追記:GAUGE、COUNTER、DERIVE、ABSOLUTEの違いについて
change interval
- graph - Showing a longer timespan in Munin - Server Fault
- format-graph_data_size – Munin
- #1282 (update_rate needs documentation) – Munin
- Waiting for Munin 2.0 - Keep more data with custom data retention plans - Personal Workflow Blog
Windows
- Windows
[MuninNode] PortNumber=4949 LogConnections=1 MasterAddress=*
plugins
- standard plugin list => plugins
- Bash-scripting for iptables/munin
I am trying to write this munin script to log all the accepted TCP/UDP/ICMP packets that are comming trough my iptable firewall.
echo tcp.value `iptables -vxL | grep 'ACCEPT.*tcp' | cut -c1-8`
- #1341 (cpuspeed plugin doesn't work with new p-state) – Munin
Since linux-3.9 there is a new intel cpufreq scaling driver which does not provide "/sys/devices/system/cpu/cpu6/cpufreq/stats/time_in_state". Instead you will find "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq" showing the current frequency: # cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq 1598000
- https://www.kernel.org/doc/Documentation/cpu-freq/pcc-cpufreq.txt
- https://www.kernel.org/doc/Documentation/cpu-freq/user-guide.txt
- Unable to determine eth0 interface speed on KVM guest with if_ plugin · Issue #771 · munin-monitoring/munin
- https://github.com/munin-monitoring/munin/commit/f982751a
- https://github.com/munin-monitoring/munin/blob/master/plugins/node.d.linux/if_#L93
- ArchLinux ではまだ修正版が適用されていない模様 (munin-node 2.0.26-2)
$ cat /sys/class/net/ens3/speed -1
minecraft
- Minecraft Munin-Plugin [wiki.natenom.name]
- github:wckd/Dev/tree/master/Minecraft
- requred: github:rmichela/MCStats2
- Munin Plugins for Minecraft | Finn's Blog