This is a discussion on Upgraded to 5.4.1 from 5.2.1...and 'extend' is driving me nuts - SNMP ; Hi all! I've been using Net-SNMP on FreeBSD 6.2 for a while now, and I just started up my first FreeBSD 7.0 machine and installed Net-SNMP 5.4.1. First thing I noticed is that snmpd errored with my config file when ...
I've been using Net-SNMP on FreeBSD 6.2 for a while now, and I just
started up my first FreeBSD 7.0 machine and installed Net-SNMP 5.4.1.
First thing I noticed is that snmpd errored with my config file when I
/usr/local/share/snmp/snmpd.conf: line 6: Error: ERROR: This
output format has been deprecated - Please use the 'extend' directive
Line 6 (which I copied from one of my boxes running 5.2.1) is:
exec .18.104.22.168.4.1.2222.214.171.124 PartitionUse-/:root
So, I swapped out and read about extend...and replaced it with this
extend .126.96.36.199.4.1.22188.8.131.52 PartitionUse-/
Now, since the man page says that if MIBOID is specified, the results
will basically be the same. However, when I snmpwalk that, I get lines
like the following:
184.108.40.206.220.127.116.11 = STRING: "2025948"
....when I expected to see:
SNMPv2-SMI::enterprises.2218.104.22.168.101.3 = STRING: "2025948"
Can someone please tell me what I messed up? I'm including my entire
snmpd.conf file below (as simple as it may be). I'm sure I'll smack
myself in the head once I see the answer...but I'm at my wits end here
with where the heck it's pulling all those numbers from in the OID.
--Start snmpd.conf config file--
syslocation "Closet 1"
extend .22.214.171.124.4.1.22126.96.36.199 PartitionUse-/ /usr/local/bin/partuse.sh
extend .188.8.131.52.4.1.22184.108.40.206 PartitionUse-/usr
extend .220.127.116.11.4.1.2218.104.22.168 PartitionUse-/var
extend .22.214.171.124.4.1.22126.96.36.199 PartitionUse-/tmp
extend .188.8.131.52.4.1.22184.108.40.206 PartitionUse-/array1
--End snmpd.conf config file--
K12USA.com, Cool Tools for Schools
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: