Quoting Dave Shield <[EMAIL PROTECTED]>:
> OK - I've tried running this script, using the MIB file from
> http://www.bayour.com/bind9-snmp/BAYOUR-COM-MIB.txt
>
> Bad news, I'm afraid - it works perfectly.
Thanx a lot for trying. You mean you don't get that weird 'b9stIndexTotals'
(and/or b9stIndexDomains)?!
----- s n i p -----
[EMAIL PROTECTED]:~# alias snmptable
alias snmptable='/usr/bin/snmptable <snmp_server_fqdn> private'
[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 251621 151271
1789
? referral 165 104
0
? nxrrset 51224 51089
0
? nxdomain 37905 5931
5
? recursion 26370 5
0
? failure 4037 1406
68
[EMAIL PROTECTED]:~# snmptable .1.3.6.1.4.1.8767.2.1.4
SNMP table: enterprises.bayourCom.snmp.bind9Stats.b9stDomainsTable
b9stIndexDomains b9stDomainName b9stCounterSuccess b9stCounterReferral
b9stCounterNXRRSet b9stCounterNXDomain b9stCounterRecursion b9stCounterFailure
? 0.in-addr.arpa 2 0
0 0 0 0
? 127.in-addr.arpa 1398 0
0 0 0 0
? 168.192.in-addr.arpa 386 0
0 5 0 68
? 255.in-addr.arpa 3 0
0 0 0 0
? domain1.tld 1211 2
10 3 0 144
? domain2.tld 374 0
0 0 0 73
? domain3.tld 139494 0
50265 5583 0 0
? domain4.tld 212 15
1 0 0 51
? domain5.tld 391 9
190 5 0 72
? domain6.tld 1357 39
167 43 5 145
? domain7.tld 390 0
0 0 0 71
? localhost 2538 0
8 0 0 0
? domain8.tld 391 0
0 0 0 64
? domain9.tld 132 4
7 0 0 34
? domainA.tld 125 0
42 1 0 29
? domainB.tld 157 0
30 5 0 43
? domainC.tld 380 0
1 0 0 67
? domainD.tld 380 0
0 0 0 75
? domainE.tld 933 1
11 3 0 157
? domainF.tld 1059 2
12 254 0 161
----- s n i p -----
> That's with both 5.3.pre4 and 5.2.2.rc6 installations (though
> I don't think the version is relevant here).
You don't happen to have a 4.2.3 *begging* ?
I know it's old (and that I'm asking a lot), but... I didn't think/thought
that it mattered...
I've been busy trying to compile me a 5.2.1 the last day(s?), but I'm
not sure I dare upgrade just yet any way. I want to introduce as small
changes to my live systems as possible, and my (stable) development
platform is currently broken. Gonna' take me a couple of days to get
up and running properly...
If you don't have one, that's ok by me. I _CAN_ wait (even if I don't
WANT to :).
> I am 100% convinced that your "snmptable" command must be picking
> up an old copy of the BAYOUR-COM-MIB, that still has the index
> column as readable.
That's just not possible...
----- s n i p -----
[EMAIL PROTECTED]:~# find / -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/bacula-snmp/BAYOUR-COM-MIB.txt
/var/www/bayour/Softwares/bacula-snmp/BAYOUR-COM-MIB.xml
/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
----- s n i p -----
There's more of them that I had expected... But all of these
(exept the CVS repository files of course) is identical,
so no matter WHICH file it loaded, I would still get the
same behaviour..
----- s n i p -----
[EMAIL PROTECTED]:~# strace -o /tmp/snmpd-debug.out /usr/sbin/snmpd -D -f
[Ctrl-C after a couple of seconds - plenty of time]
[EMAIL PROTECTED]:~# egrep -i 'b9stIndexTotals|b9stIndexDomains' `grep ^open
/tmp/snmpd-debug.out | grep -v 'No such file or directory' | sed -e '[EMAIL
PROTECTED]("@@' -e 's@".*@@' | sort | uniq`
/usr/share/snmp/mibs/BAYOUR-COM-MIB.txt: INDEX
{ b9stIndexTotals }p -v 'No such file or directory' | sed -e '[EMAIL
PROTECTED]("@@' -e 's@".*@@' | sort | uniq`
/usr/share/snmp/mibs/BAYOUR-COM-MIB.txt: b9stIndexTotals
CounterIndex,
/usr/share/snmp/mibs/BAYOUR-COM-MIB.txt: b9stIndexTotals
OBJECT-TYPE
/usr/share/snmp/mibs/BAYOUR-COM-MIB.txt: INDEX
{ b9stIndexDomains }
/usr/share/snmp/mibs/BAYOUR-COM-MIB.txt: b9stIndexDomains
CounterIndex,
/usr/share/snmp/mibs/BAYOUR-COM-MIB.txt: b9stIndexDomains
OBJECT-TYPE
[EMAIL PROTECTED]:~# diff -u /usr/share/snmp/mibs/BAYOUR-COM-MIB.txt
/var/www/bayour/Softwares/bind9-snmp/BAYOUR-COM-MIB.txt
[EMAIL PROTECTED]:~# file
/var/www/bayour/Softwares/bacula-snmp/BAYOUR-COM-MIB.txt
/var/www/bayour/Softwares/bacula-snmp/BAYOUR-COM-MIB.txt: symbolic link to
../bind9-snmp/BAYOUR-COM-MIB.txt
----- s n i p -----
It loads the file I had expected it to load. And I load the EXACT
same file as you downloaded...
--
tritium Ft. Bragg cracking Khaddafi Nazi Legion of Doom subway Mossad
Cuba assassination pits jihad Panama strategic arrangements
[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.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users