Possible to change update interval for munin graphs?

Rizwan Sharif picture Rizwan Sharif · Dec 7, 2012 · Viewed 12.6k times · Source

I will like to munin to graph after every two minutes to increase the granularity. There are some links pointing out that its somehow possible with munin 2.0 , any idea how?

Answer

Mike picture Mike · Jan 24, 2013

I haven't tried it, but this question in the FAQ suggests you cannot:

Munin runs at an interval of every five minutes (*/5) on debian systems by default. Is it possible to change this interval to an arbitrary value?

Just edit /etc/cron.d/munin.

However, this won't change Munin's (or rather RRD's) granularity; all RRD files are constructed to create 5 minutes averages, and no matter how often you update the RRD files the output won't be (much) different. Changing this (default) behaviour has been proposed in Ticket #5.

However, if you look at ticket #5, the last post (closing it) is:

current trunk fully supports custom update_rate, and increase resolution of .rrd files accordingly.

So, if you're using a fairly recent version of munin, it might be worth a try.