Dave Shield wrote: > [ First - *please* don't mail me privately, without copying > any responses to the mailing list. I don't have the time > or inclination to offer private, unpaid, SNMP consultancy. > Keep discussions to the list, where others can both learn > and offer advice. Thanks. ] > > > > 2008/5/22 Lean Cornelius <[EMAIL PROTECTED]>: > >> Now I'm really confused! >> >> I adjusted my script that call the OID to get the required values. Works >> perfect again. >> I just installed a new server with Net-SNMP v5.4.1 (Both servers running >> ubuntu server 64bit). >> >> Output server1: >> snmpd.conf: >> extend .1.3.6.1.4.1.2021.900.50.2.2 SAR510Info >> /usr/local/lean/bin/Net-SNMP-Linux.pl 2 >> >> [EMAIL PROTECTED]:~$ snmpwalk -v1 10.1.1.86 -c testing >> .1.3.6.1.4.1.2021.900.50.2.2.4 >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.12.83.83.83.65.82.53.49.48.73.110.102.111.1 >> = STRING: "::::::::::::::" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.12.83.83.83.65.82.53.49.48.73.110.102.111.2 >> = STRING: "/usr/local/lean/var/spool/sar510Info.txt" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.12.83.83.83.65.82.53.49.48.73.110.102.111.3 >> = STRING: "::::::::::::::" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.12.83.83.83.65.82.53.49.48.73.110.102.111.4 >> = STRING: "0.04" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.12.83.83.83.65.82.53.49.48.73.110.102.111.5 >> = STRING: "0.00" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.12.83.83.83.65.82.53.49.48.73.110.102.111.6 >> = STRING: "0.26" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.12.83.83.83.65.82.53.49.48.73.110.102.111.7 >> = STRING: "99.58" >> >> This makes perfect sense as you explained to me. >> >> Output server2: >> >> snmpd.conf: >> extend .1.3.6.1.4.1.2021.900.50.2.2 SAR510Info >> /usr/local/lean/bin/Net-SNMP-Linux.pl 2 >> >> [EMAIL PROTECTED]:~$ snmpwalk -v1 10.1.1.87 -c testing >> .1.3.6.1.4.1.2021.900.50.2.2.4 >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.10.83.65.82.53.49.48.73.110.102.111.1 >> = STRING: "::::::::::::::" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.10.83.65.82.53.49.48.73.110.102.111.2 >> = STRING: "/usr/local/lean/var/spool/sar510Info.txt" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.10.83.65.82.53.49.48.73.110.102.111.3 >> = STRING: "::::::::::::::" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.10.83.65.82.53.49.48.73.110.102.111.4 >> = STRING: "7.46" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.10.83.65.82.53.49.48.73.110.102.111.5 >> = STRING: "0.00" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.10.83.65.82.53.49.48.73.110.102.111.6 >> = STRING: "4.18" >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.10.83.65.82.53.49.48.73.110.102.111.7 >> = STRING: "88.30" >> >> This is the confusing part, the OID's for the same value changed! >> >> Server1 >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.12.83.83.83.65.82.53.49.48.73.110.102.111.7 >> = STRING: "99.58" >> Server2 >> UCD-SNMP-MIB::ucdavis.900.50.2.2.4.1.2.10.83.65.82.53.49.48.73.110.102.111.7 >> = STRING: "88.30" >> >> Could you please shed more light on this one? >> > > > Looking at those last two lines, the first server is using indexes of the form > 12.83.83.83.65.82.53.49.48.73.110.102.111 > while the second is using > 10.83.65.82.53.49.48.73.110.102.111 > > These correspond to "SSSAR510Info" and "SAR510Info" respectively. > So it's actually the first server which is broken. > > I'm not sure what's going wrong here, but: > > a) double-check that you've got exactly the same snmpd.conf > settings on both machines. > b) try deleting and re-typing the entry on the first server > > c) it might be worth trying with 5.4.2.pre1 on that system, just in > case there's a subtle problem that's biting you which has since been fixed. > (Though I'd expect this to hit both systems in the same way). > > Dave > Hi Dave,
My apologies, I did not realize that I was hitting the reply button and not the reply to all. I think I should call it a day since sleep is something I haven't had for a few days. Thanks, your last post resolved my issue.! I should learn to restart my SNMP after changing SSAR510Info to SAR510Info. Regards, Lean ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders