If snmp returns a list like that, then just use grep.

Little, Chris wrote:
I'm wanting to put in a directive in snmpd.conf to monitor oracle process.
Specifically the "ora_s???_KIDS" processes as seen below.  When oracle
creates a new server process, it increments the number in the process name.
Unfortunately, snmpd doesn't seem to support wildcards for process names.
Is this an accurate observation?  Is there some way I could be able to
monitor it?


oracle   30751     1  0 Jul08 ?        00:00:01 ora_pmon_KIDS
oracle   30753     1  0 Jul08 ?        00:01:25 ora_dbw0_KIDS
oracle   30755     1  0 Jul08 ?        00:01:03 ora_lgwr_KIDS
oracle   30757     1  0 Jul08 ?        00:00:12 ora_ckpt_KIDS
oracle   30759     1  0 Jul08 ?        00:00:40 ora_smon_KIDS
oracle   30761     1  0 Jul08 ?        00:00:00 ora_reco_KIDS
oracle   30763     1 10 Jul08 ?        10:41:39 ora_s000_KIDS
oracle   30765     1  5 Jul08 ?        05:47:05 ora_s001_KIDS
oracle   30767     1  4 Jul08 ?        04:27:26 ora_s002_KIDS
oracle   30769     1  2 Jul08 ?        02:49:09 ora_s003_KIDS
oracle   30771     1  2 Jul08 ?        02:06:41 ora_s004_KIDS
oracle   30773     1  1 Jul08 ?        01:31:59 ora_s005_KIDS
oracle   30775     1  0 Jul08 ?        00:56:39 ora_s006_KIDS
oracle   30777     1  0 Jul08 ?        00:49:46 ora_s007_KIDS
oracle   30779     1  0 Jul08 ?        00:34:49 ora_s008_KIDS
oracle   30781     1  0 Jul08 ?        00:23:08 ora_s009_KIDS
oracle   30783     1  0 Jul08 ?        00:11:12 ora_s010_KIDS
oracle   30785     1  0 Jul08 ?        00:10:45 ora_s011_KIDS
+--------------------------------------------------+
 | Chris Little         OKDHS Platform Services   |
 | IS Operating Systems Specialist IV             |
 | email  [EMAIL PROTECTED]                  |
 | work (405)522-1306  cell (405)229-7822         |
+--------------------------------------------------+

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
Rich Smrcina
VM Assist, Inc.
Phone: 414-491-6001
Ans Service:  360-715-2467
rich.smrcina at vmassist.com

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to