Re: More questions on exec/extend

2007-04-25 Thread Dave Shield
On 25/04/07, Lambert, Eric <[EMAIL PROTECTED]> wrote: > Apr 25 15:19:44 lx-chtdell2950 snmpd[14938]: trigger OID: = > Apr 25 15:19:44 lx-chtdell2950 snmpd[14938]: /etc/snmp/snmpd.conf: line > 99: Error: unknown monitor OID > Apr 25 15:19:44 lx-chtdell2950 snmpd[14938]: net-snmp: 1 error(s) in > con

RE: More questions on exec/extend

2007-04-25 Thread Lambert, Eric
3:14 PM To: Lambert, Eric Cc: net-snmp-users@lists.sourceforge.net Subject: Re: More questions on exec/extend On 25/04/07, Lambert, Eric <[EMAIL PROTECTED]> wrote: > From a quick read of the NET-SNMP-EXTEND-MIB file am I correct in > assuming that the NET-SNMP-EXTEND-MIB::nsExtendResult

Re: More questions on exec/extend

2007-04-25 Thread Dave Shield
On 25/04/07, Lambert, Eric <[EMAIL PROTECTED]> wrote: > From a quick read of the NET-SNMP-EXTEND-MIB file am I correct in > assuming that the NET-SNMP-EXTEND-MIB::nsExtendResult."swap_percent" > line is the integer result of the command I want to use as the argument > in my "monitor" statement? Th

RE: More questions on exec/extend

2007-04-25 Thread Lambert, Eric
as the argument in my "monitor" statement? Something like: monitor -r 10 -u citadelInternal NET-SNMP-EXTEND-MIB::nsExtendResult."swap_percent" = 0 Thanks again. -Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent:

Re: More questions on exec/extend

2007-04-25 Thread Dave Shield
On 25/04/07, Lambert, Eric <[EMAIL PROTECTED]> wrote: > I have the following lines in my snmpd.conf file: > extend .1.3.6.1.4.1.7594.400 swap_percent > /etc/snmp/bin/check_swap_pct.bash > When I run an snmpwalk I get the following data, which I am having trouble > understanding…

More questions on exec/extend

2007-04-25 Thread Lambert, Eric
I've followed the thread on exec examples, but I'm still having some trouble of my own. I have the following lines in my snmpd.conf file: extend .1.3.6.1.4.1.7594.400 swap_percent /etc/snmp/bin/check_swap_pct.bash monitor -r 10 -u citadelInternal -o .1.3.6.1.4.1.7594.400.101 "cig-swap_percent