SCOM: UNIX/Linux Process Monitoring in the Net-SNMP MP In Detail
September 23, 2009 2 Comments
Regardless of the operating system, monitoring of the availability and resource utilization of individual processes is a pretty standard requirement. Between WMI and PerfMon counters, this is easy on Windows systems, but doing the same on UNIX/Linux systems can be a little bit more complicated. In Operations Manager 2007 (R2) environments, there are three general approaches (excluding third party products) that can be utilized to monitor individual processes on UNIX and Linux systems:
- An agent-based solution using the R2 Cross Platform agents
- A purely SNMP solution using tables in the HOST-RESOURCES MIB
- An extended SNMP solution using the proc or exec directives in the Net-SNMP agent’s snmpd.conf file
I think it’s fair to say that in most cases (and when it is supported), the R2 Cross Platform agent is the best and most robust approach. However, it’s almost an inevitability in medium and large enterprises that there will be some UNIX or Linux servers or appliances running distributions not supported by the R2 agents. In these cases, or if there is another compelling reason not to deploy agent software to the device, SNMP may be the best or only option. The pure SNMP option is probably the most universally applicable approach, but introduces a number of challenges, which I will discuss in this post. The third option brings a great degree of flexibility (particularly with the exec directive, which can return the result of an on-demand shell script to an SNMP OID) but requires decentralized configuration.
The approach that I took in the Net-SNMP Management Pack is a hybrid of the pure SNMP and extended SNMP options. The latest version of the MP (which I will be posting soon) supports process resource utilization through the HOST-RESOURCES MIB tables in addition to process availability monitoring facilitated by identifying the monitored processes with the proc directive in snmpd.conf. And as described in the previous post about the MP, if ultimate flexibility is needed, the Extensible Object capability with the exec directive is still supported.
UNIX/Linux SNMP Process Monitoring In-Depth

