I am stuck with munin alerts through external scripts. I followed the guide here(http://guide.munin-monitoring.org/en/latest/tutorial/alert.html#alerts-to-or-through-external-scripts), but it turned out wrong.
contact.test.command >/etc/munin/scripts/sendsms.py /etc/munin/scripts/sendsms.py
munin-limits log shows:
[WARNING] Found ">" at beginning of command. This should no longer be necessary and will be removed from the command before execution.
[WARNING] Failed to close pipe for contact test: Broken pipe
And sendsms.py receives nothing from stdin, which is weird.
Where is the alert info? What's the correct way to write the command?