Quoting Dave Shield <[EMAIL PROTECTED]>: > Try removing all these copies of the MIB, and check that > "snmptable" complains and bombs out. (Since it relies on > the structure of the MIB definitions, it's one of the few > tools that won't work without the MIB file).
----- s n i p -----
[EMAIL PROTECTED]:~# snmptable .1.3.6.1.4.1.8767.2.1.3
SNMP table: enterprises.bayourCom.snmp.bind9Stats.b9stTotalsTable
b9stIndexTotals b9stCounterName b9stCounterTotal b9stCounterForward
b9stCounterReverse
? success 6 6
0
? referral 0 0
0
? nxrrset 2 2
0
? nxdomain 1 1
0
? recursion 2 0
0
? failure 0 0
0
[EMAIL PROTECTED]:~# mv /usr/share/snmp/mibs/BAYOUR-COM-MIB.txt /tmp
[EMAIL PROTECTED]:~# snmptable .1.3.6.1.4.1.8767.2.1.3
Was that a table? enterprises.8767.2.1.3.1.1
[EMAIL PROTECTED]:~# mv /tmp/BAYOUR-COM-MIB.txt /usr/share/snmp/mibs/
[EMAIL PROTECTED]:~# snmptable .1.3.6.1.4.1.8767.2.1.3
SNMP table: enterprises.bayourCom.snmp.bind9Stats.b9stTotalsTable
b9stIndexTotals b9stCounterName b9stCounterTotal b9stCounterForward
b9stCounterReverse
? success 6 6
0
? referral 0 0
0
? nxrrset 2 2
0
? nxdomain 1 1
0
? recursion 2 0
0
? failure 0 0
0
----- s n i p -----
I _COULD_ do an even worse attempt and really remove all files, but
I thought/think this was prof enough...
Never mind, not that much trouble...
----- s n i p -----
[EMAIL PROTECTED]:~# cd /
[EMAIL PROTECTED]:/# tar --remove-files -cvzf tmp/bayour-mib.tgz `find -type f
-name '*BAYOUR*'`
./usr/share/snmp/mibs/BAYOUR-COM-MIB.txt
./var/cvs/scripts/Attic/BAYOUR-COM-MIB.txt,v
./var/cvs/snmp-modules/BAYOUR-COM-MIB.txt,v
./var/cvs/snmp-modules/BAYOUR-COM-MIB.bui,v
./var/www/bayour/Softwares/bind9-snmp/BAYOUR-COM-MIB.txt
./var/www/bayour/Softwares/bind9-snmp/BAYOUR-COM-MIB.xml
./mnt/chroots/pumba/usr/share/snmp/mibs/BAYOUR-COM-MIB.txt
[EMAIL PROTECTED]:/# find -type f -name '*BAYOUR*'
[EMAIL PROTECTED]:/# snmptable .1.3.6.1.4.1.8767.2.1.3
Was that a table? enterprises.8767.2.1.3.1.1
[EMAIL PROTECTED]:/# tar xvzf tmp/bayour-mib.tgz
./usr/share/snmp/mibs/BAYOUR-COM-MIB.txt
./usr/share/snmp/mibs/BAYOUR-COM-MIB.txt
[EMAIL PROTECTED]:/# find -type f -name '*BAYOUR*'
./usr/share/snmp/mibs/BAYOUR-COM-MIB.txt
[EMAIL PROTECTED]:/# snmptable .1.3.6.1.4.1.8767.2.1.3
SNMP table: enterprises.bayourCom.snmp.bind9Stats.b9stTotalsTable
b9stIndexTotals b9stCounterName b9stCounterTotal b9stCounterForward
b9stCounterReverse
? success 470 293
2
? referral 1 0
0
? nxrrset 109 109
0
? nxdomain 46 13
0
? recursion 64 0
0
? failure 0 0
0
[EMAIL PROTECTED]:/# rm usr/share/snmp/mibs/BAYOUR-COM-MIB.txt
[EMAIL PROTECTED]:/# snmptable .1.3.6.1.4.1.8767.2.1.3
Was that a table? enterprises.8767.2.1.3.1.1
[EMAIL PROTECTED]:/# find -type f -name '*BAYOUR*'
[EMAIL PROTECTED]:/# /usr/bin/snmptable 2> /dev/null | grep version
UCD-snmp version: 4.2.3
----- s n i p -----
BAYOUR-COM-MIB.txt.gz
Description: MIB - Bayour.COM
-- cracking SDI DES Mossad critical AK-47 KGB Soviet Legion of Doom iodine [Hello to all my fans in domestic surveillance] South Africa Nazi quiche $400 million in gold bullion [See http://www.aclu.org/echelonwatch/index.html for more about this] [Or http://www.europarl.eu.int/tempcom/echelon/pdf/rapport_echelon_en.pdf] If neither of these works, try http://www.aclu.org and search for echelon.
