- [Show page]
- [Old revisions]
- [[unknown link type]]
- []
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:monitoring:munin [2012/03/04 02:17] admin created |
linux:monitoring:munin [2016/04/21 02:04] (current) admin |
||
---|---|---|---|
Line 2: | Line 2: | ||
I shall not start by repeating cliche ''apt-get install munin-node''. | I shall not start by repeating cliche ''apt-get install munin-node''. | ||
+ | Update 1.1.2016: Debian jessie has linux_diskstat_ in munin-plugins-core, but named "diskstat_" so be careful. This plugin needs to be enabled for auto configuration by changing comment family | ||
+ | #%# family=manual | ||
+ | to | ||
+ | #%# family=auto | ||
+ | | ||
+ | | ||
Important detailed disk statistics requires more then //apt-get//. | Important detailed disk statistics requires more then //apt-get//. | ||
wget http://somewhere/linux_diskstat_ | wget http://somewhere/linux_diskstat_ | ||
Line 35: | Line 41: | ||
//That's all!// | //That's all!// | ||
+ | |||
+ | **Kratky popis patche:** | ||
+ | Skript ignoroval vsechny zarizeni se dvema cislicemi, napr. /dev/md-56 to nevzalo, protoze si skript myslel, ze je to 6. partition na zarizeni "md-5". Hledal jsem to asi hodinu :-( | ||
+ | |||
+ | <code> | ||
+ | --- /usr/share/munin/plugins/linux_diskstat_~ 2013-02-07 16:52:41.000000000 +0100 | ||
+ | +++ /usr/share/munin/plugins/linux_diskstat_ 2013-11-06 03:08:26.000000000 +0100 | ||
+ | @@ -172,6 +172,7 @@ | ||
+ | |||
+ | # Filter out devices (partitions) which are matched by existing ones | ||
+ | # e.g. sda1 -> sda, c0d0p1 -> c0d0 | ||
+ | + next if ( $devname =~ m/dm-/ ); | ||
+ | next DEVICE if ( $devname =~ m/$existing_device/ ); | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | ====== munin-node.conf ====== | ||
+ | **Vzdy doplnte hostname server.domena.cz**, z neznamych (cti: dementnich) duvodu se neaktualizuje ''munin-spool/datafile'', ze ktereho se pak generuji grafy a cely html xicht, pokud nesouhlasi jmeno na serveru munin [ahoj.example.cz] s tim, ktere zahlasi client. A jen kvuli tomu se vse zahodi :(. | ||
linux/monitoring/munin.1330823846.txt.gz · Last modified: 2013/11/06 03:12 (external edit)