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 ran it:
/usr/local/share/snmp/snmpd.conf: line 6: Error: ERROR: This output format has been deprecated - Please use the 'extend' directive instead Line 6 (which I copied from one of my boxes running 5.2.1) is: exec .1.3.6.1.4.1.22124.1.1.1 PartitionUse-/:root /usr/local/bin/partuse.sh / So, I swapped out and read about extend...and replaced it with this line: extend .1.3.6.1.4.1.22124.1.1.1 PartitionUse-/ /usr/local/bin/partuse.sh / 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: SNMPv2-SMI::enterprises.22124.1.1.1.4.1.2.14.80.97.114.116.105.116.105.1 11.110.85.115.101.45.47.3 = STRING: "2025948" ...when I expected to see: SNMPv2-SMI::enterprises.22124.1.1.1.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. Thanks! --Brian --Start snmpd.conf config file-- rocommunity **** syslocation "Closet 1" sysservices 15 syscontact [EMAIL PROTECTED] extend .1.3.6.1.4.1.22124.1.1.1 PartitionUse-/ /usr/local/bin/partuse.sh / extend .1.3.6.1.4.1.22124.1.1.2 PartitionUse-/usr /usr/local/bin/partuse.sh /usr extend .1.3.6.1.4.1.22124.1.1.3 PartitionUse-/var /usr/local/bin/partuse.sh /var extend .1.3.6.1.4.1.22124.1.1.4 PartitionUse-/tmp /usr/local/bin/partuse.sh /tmp extend .1.3.6.1.4.1.22124.1.1.6 PartitionUse-/array1 /usr/local/bin/partuse.sh /files7/array1 --End snmpd.conf config file-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Brian McCann K12USA.com, Cool Tools for Schools 1-877-225-0100 [EMAIL PROTECTED] ------------------------------------------------------------------------- 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. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users