On Mar 15, 2010, at 1:39 PM, Christopher Sweeney wrote:
On 3/15/10 1:23 PM, mcclainje wrote:
I am trying to build a probe to monitor named process on linux
servers. I have the ondemand table working to grab the list of
process names but I am struggling with how to alert on the presence
or absence of a process from the list. Can this be done in IM?
The on-demand tables are only for displaying the data at the moment.
They can't be used in the thresholds or calculations.
Off the top of my head, I'd say that the best bet to monitor named
processes on linux using InterMapper may be a command-line probe which
uses ssh to connect and grep the list of processes, returning a given
state on the outcome.
As an alternative if you're using net-snmp / ucd-snmp you can use the
"proc" directive in snmpd.conf to populate an SNMP table (in this case
"proc named").
The proc directive populates enterprises.ucdavis.procTable
(1.3.6.1.4.1.2021.2) with the next component of the OID (prEntry)
numbered in order of appearance in the conf file.
You can feed the appropriate parts of that table to the SNMP threshold
or OID value probes & be reasonably sure they won't move on you.
-MG
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]