Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom made munin plugin that currently is being executed twice every time

$ ps fax
16844 ?        Ss     0:00 /usr/sbin/munin-node
18206 ?        S      0:00  \_ /usr/sbin/munin-node
18863 ?        Ss     0:00  |   \_ /bin/bash /etc/munin/plugins/fetch_partner 
18910 ?        S      0:00  |       \_ wget -q -O /tmp/partner_debug_page.txt --keep-session-cookies --save-cookies /tmp/partne
18209 ?        S      0:00  \_ /usr/sbin/munin-node
18892 ?        Ss     0:00      \_ /bin/bash /etc/munin/plugins/fetch_partner 
18917 ?        S      0:00          \_ wget -q -O /tmp/partner_debug_page.txt --keep-session-cookies --save-cookies /tmp/partne

According to the munin-node log there are no timeouts happening. According to munin master it is graphing this plugin twice every time (arround 20 seconds inbetween those graphs, so I guess it's from each fetch).

Does anyone know why this is happening? It looks funny that /usr/sbin/munin-node is being called twice...

share|improve this question

Munin runs each plugin twice per (five minute) cycle: once to get the configuration, and a second time to get the plugin's values.

share|improve this answer
Yes, I know this. But this is not the case this time. As you can see above my Munin script is called twice simultaneously every five minutes. Both invokations are done without the config parameter. The script is also invoked with the config parameter once every 5 minutes, but when "config" is given it exits immediately and does not invoke wget. – Ztyx Sep 22 '11 at 8:57

Your Answer


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.