TECHZEN Zenoss User Community ARCHIVE  

Process monitoring memory use

Subject: Process monitoring memory use
Author: Shea Johnson
Posted: 2016-06-03 12:43

Can Zenoss monitor more data points for memory other than just physical memory for its process monitoring In particular I'm looking for virtual size for a process, but whatever data points for memory I can get would be awesome.



Subject: Don't know of a way to exted
Author: Jane Curry
Posted: 2016-06-08 08:26

Don't know of a way to exted this monitoring for processes. Easy enough to do for a device but the OSProcess performance template has always been an odd one with "internal magic" rather than an SNMP OID. This is because the HOST RESOURCES MIB only provides one memory value for a process.

If you REALLY want to get more info, you could consider swapping to monitoring with ssh rather than SNMP (look at ZenPacks.zenoss.LinuxMonitor) and then you would need to modify that to get more memory info. It currently uses:

/bin/ps -eo pid,rss,cputime,args

Not for the faint-hearted but not impossible.

Cheers,

Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



< Previous
[solved] replacing old event by new event in console
  Next
Impact - reset service status
>