Thanks Jesper,<div><br></div><div>It was the configuration part that I feel is something that I don't want to learn unless it's absolutely necessary. For a one-time simple job, there are better alternatives, I think.</div>
<div><br></div><div>In my case, it was pointed out to me that erlang:system_monitor/2 can make the runtime send messages when a process gets too large, which is 98% of what I needed to do. </div><div><br></div><div>regards,</div>
<div>Vlad</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 10:50 AM, Jesper Louis Andersen <span dir="ltr"><<a href="mailto:jesper.louis.andersen@erlang-solutions.com" target="_blank">jesper.louis.andersen@erlang-solutions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On Nov 20, 2012, at 1:46 PM, Vlad Dumitrescu <<a href="mailto:vladdu55@gmail.com">vladdu55@gmail.com</a>> wrote:<br>
<br>
> Yes, you're right, snmp matches the description, but it feels a bit too heavy for me. I will read about it, maybe it's not true. I would like to have the monitored nodes without any specific application running, just answering to some RPCs once in a while.<br>
<br>
</div>The SNMP agent parts are not that hard to use. Basically you define a MIB file which exposes the values your system supports. Then you define a mapping from the MIB file to Erlang functions, or to a mnesia table. The SNMP subsystem then responds on requests and calls the appropriate Erlang code, wraps things in ASN.1 and so on.<br>
<br>
What makes it "heavy" is that SNMP itself is rather heavy. And that there is quite some configuration needed in order to expose these values to the rest of the world. The advantage is, however, that once you have set it up properly, it is extremely easy to add more metrics and probes to your node. Erlang/OTP also provides a couple of things itself for monitoring. Including "what process uses the most memory and how much" etc.<br>
<span class="HOEnZb"><font color="#888888"><br>
Jesper Louis Andersen<br>
Erlang Solutions Ltd., Copenhagen<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>