Re: Adapting UCD proc MIB to support regex

2012-02-24 Thread Douglas Hubler
On Tue, Feb 21, 2012 at 2:45 PM, Douglas Hubler wrote: > I want to adapt the UCD MIB that find process by exact process name > and have it instead perform a regex on the command line > (/proc/pid/cmdline) using the PCRE library.  I was able to compile a > sample loadable module in net-snmp 5.7 and

Re: Adapting UCD proc MIB to support regex

2012-02-23 Thread Douglas Hubler
On Tue, Feb 21, 2012 at 2:45 PM, Douglas Hubler wrote: > I want to adapt the UCD MIB that find process by exact process name > and have it instead perform a regex on the command line > (/proc/pid/cmdline) using the PCRE library.  I was able to compile a > sample loadable module in net-snmp 5.7 and

Adapting UCD proc MIB to support regex

2012-02-23 Thread Douglas Hubler
I want to adapt the UCD MIB that find process by exact process name and have it instead perform a regex on the command line (/proc/pid/cmdline) using the PCRE library. I was able to compile a sample loadable module in net-snmp 5.7 and get snmpd to load it. Before I get started, does anyone think t