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

Can a subagent change trap destination?

2012-02-23 Thread Chris Smith
Hi all, I'm coding a subagent which sends periodic reports using a trap, but it needs to send them to a destination which is itself configured using an SNMP set request. I can't find a way to directly achieve this, so is it possible to either: 1. Change the config of a running snmpd from within