I have setup my Munin server and alerts and have tested them aswell. I have set the alerts for disk usage as under:

df._dev_mapper_centos_root.warning 90
df._dev_md126p2.warning 90
df._dev_md126p1.warning 90
df._dev_mapper_centos_home.warning 90

I have received the alert for above (for testing I kept the lower values) in my email:

>  sha :: Server2 :: Disk usage in percent
>         WARNINGs: /boot is 33.48 (outside range [:33]), / is 17.95 (outside range [:17]), /boot/efi is 4.73 (outside range [:4]).
> sha :: Server1 :: Disk usage in percent
>         OKs: /boot is 33.48, / is 17.95, /boot/efi is 4.73

Problem I am facing now is that I am getting Disk Latency Alerts and I cannot find any values to alter the alerts. Here are couple of alerts triggered by Munin:

> sha :: Server1 :: Disk latency per device :: Average latency
> for /dev/centos/swap
>         WARNINGs: Write IO Wait time is 4.89 (outside range [0:3]).
> sha :: Server1 :: Disk latency per device :: Average latency
> for /dev/centos/home
>         WARNINGs: Write IO Wait time is 10.64 (outside range [0:3])


Even though graph for Disk latency per device is present for this server but when I telnet to node I don’t get any plugin for this to fetch the value:

telnet 4949
Connected to
Escape character is '^]'.
# munin node at localhost.localdomain
acpi cpu df df_inode entropy exim_mailqueue forks fw_conntrack 
fw_forwarded_local fw_packets hddtemp_smartctl if_enp2s0 if_err_enp2s0 
interrupts irqstats load memory netstat open_files open_inodes 
postfix_mailqueue proc_pri processes swap threads uptime users vmstat

I am not sure if I have explained it properly or not and sorry if you think it’s a silly question. I just want to either stop these alerts altogether or set the value high. I hope I will get some help here.


It´s probably the diskstats_latency plugin, try the following:

diskstats_latency.centos_home.avgwrwait.warning 0:15
diskstats_latency.centos_home.avgrdwait.warning 0:15
diskstats_latency.centos_swap.avgwrwait.warning 0:15
diskstats_latency.centos_swap.avgrdwait.warning 0:15

Please note that this is for both write (avgwrwait) and read (avgrdwait) latency.

I set the range to 0:15 which will almost completely disable the warnings as you wanted.

Dont forget to restart the munin daemon

systemctl restart munin-node
  • Where should I write these settings? I tried couple of files but had no luck. Oct 19 '18 at 9:49
  • 1
    @HenrikHeino set it in the munin master config not in the node config, for debian (ubuntu etc.) its /etc/munin/munin.conf (You could also create your own config under /etc/munin/munin-conf.d/example.conf) keep in mind that you have to change "centos_home" and "centos_swap" to your needs.
    – H4R0
    Oct 20 '18 at 11:42
  • @H4R0 Do you know if it's possible to do this change on the monitored machine? We have a situation where admin of monitored server might not have permissions to the Munin master server. Oct 22 '18 at 5:47
  • @HenrikHeino What do you want to accomplish, do you want to hide the warnings for a single drive or for all ? Maybe it works if you create the munin.conf on the node otherwise you could always change the default values within the plugin on the node its located under /etc/munin/plugins/diskstats:890 "avgrdwait.warning 0:3" and :896 "avgwrwait.warning 0:3"
    – H4R0
    Oct 27 '18 at 19:26
  • 1
    @Vaughany its the partition name, it should be in the alert mail, on the generated web page and can be listed with the config command. Execute the following: echo "config diskstats" | nc localhost 4949 | grep "avgwait" | less
    – H4R0
    May 17 '19 at 13:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.