Hi,

I am searching the best practice to monitor some variables of a specified 
process. I think this is a common issue but I have not found a FAQ entry. 

For the process to be monitored, I have the PID stored in a file. Due to 
regular stop and starts this may change over time, but of course, the file is 
maintained by the system.

Now I like to monitor some variables, such as memory usage... 
For the first approach a script get the PID from the file and check the 
process by ps and finally stores the result into an custom mib which is 
indexed by a "logical" id. This logical id remains the same even if the 
process is restarted. My NMS is now able to refer to a fix OID and to alarm 
me.

This approach is not very clever as I need an extra script and a custom mib.
Is there a better approach or a best practice to perform such indirect 
monitoring?

Many thanks for any idea

Reiner Nix


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to