Munin per-plugin timeouts

Wednesday, June 27. 2007

I had a munin plugin that suddenly stopped reporting, and in the munin-node log there were lots of errors like this: 2007/06/27-06:50:26 Plugin timeout: myplugin : Interrupted system call So it looks like the plugin is taking too long, but how to extend the timeout? Seems I'm not alone in wondering this. So I had a rummage in the source of munin-node, and it seems to want a 'timeout' parameter in its config. So I added a simple timeout 60 to munin-node.conf and it worked! However, that's a global setting rather than a per-plugin timeout, so I took a flying guess at putting the same directive in my plugin spec in /etc/munin/plugin-conf.d/munin-node like this: [myplugin] timeout 60 user root And that worked too!

Trackbacks


Trackback specific URI for this entry
    No Trackbacks

Comments


    No comments

Add Comment

You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA