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...
Munin runs each plugin twice per (five minute) cycle: once to get the configuration, and a second time to get the plugin's values.
http://munin-monitoring.org/wiki/HowToWritePlugins