<div>Hi Dear Erlangers!</div><div><br></div><div>I want to plot some stats from my Erlang program in munin (<a href="http://munin-monitoring.org/">http://munin-monitoring.org/</a>). For that I have to call it somehow from bash/sh script. Standart munin setup calls the script every 5 minutes.</div>
<div><br></div><div>So, I want to know, what is a best way to establish one way (Erlang -> Bash) communication?</div><div><br></div><div>One of approaches could be when Erlang program writes file to somewhere like /var/run/erl-prog and bash script reads it.</div>
<div><br></div><div>Is there are any other simpler options available?</div><div><br></div><div>p.s. I know that ejabberd has some interface to bash, but its code too complex to my task.</div><br clear="all"><div>Best regards,</div>
<div>Max</div><br><br>