Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am writing a custom munin plugin/graph and it's slightly computationally expensive. It's also unlikely to change much in a few minutes. Is it possible to have this one graph/plugin only update once per hour, and leave the rest of my graphs to update at the usual once per 5 minutes?

share|improve this question

2 Answers 2

I had a similar problem and had the real plugin in cron writing the data every hour to a temp file and then a reading plugin that ran every 5 minutes from munin, but only displayed the last line from the temp file.

share|improve this answer

A better way to do it is to change your munin so that graphs are generated on demand, not every five minutes.

This page appears to have an overview: http://waste.mandragor.org/munin_tutorial/munin.html#cgi

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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