From: Johan S. <Joh...@de...> - 2011-05-09 12:27:11
|
Hi. I have been trying to take a new grip on this problem. I can't understand why it is not working. According to Buchan, 64-bit counters should not be a problem, but Devmon fails get get any data from the 64-bit OIDs on our Netapp filer. I did a debug run against this device only, I have attached the log file. I have also attached the oids file for the "volumes" test, which is the one with problems. I want to be able to replace the dfTotalKBytes and dfUsedBytes OIDs with their 64-bit counterpaths, but for now I have just added the 64-bit OIDs as separate variables printing them in separate column. When I poll these OID:s manually from the shell, it works fine. mon01 # snmpwalk -v 2c -c public filer02 .1.3.6.1.4.1.789.1.5.4.1.29 iso.3.6.1.4.1.789.1.5.4.1.29.1 = Counter64: 7810884864 iso.3.6.1.4.1.789.1.5.4.1.29.2 = Counter64: 0 iso.3.6.1.4.1.789.1.5.4.1.29.3 = Counter64: 16777216 iso.3.6.1.4.1.789.1.5.4.1.29.4 = Counter64: 4194304 iso.3.6.1.4.1.789.1.5.4.1.29.5 = Counter64: 524288000 iso.3.6.1.4.1.789.1.5.4.1.29.6 = Counter64: 0 iso.3.6.1.4.1.789.1.5.4.1.29.7 = Counter64: 1048576000 iso.3.6.1.4.1.789.1.5.4.1.29.8 = Counter64: 0 iso.3.6.1.4.1.789.1.5.4.1.29.9 = Counter64: 104857600 iso.3.6.1.4.1.789.1.5.4.1.29.10 = Counter64: 0 iso.3.6.1.4.1.789.1.5.4.1.29.11 = Counter64: 52428800 iso.3.6.1.4.1.789.1.5.4.1.29.12 = Counter64: 0 iso.3.6.1.4.1.789.1.5.4.1.29.13 = Counter64: 524288000 iso.3.6.1.4.1.789.1.5.4.1.29.14 = Counter64: 0 iso.3.6.1.4.1.789.1.5.4.1.29.15 = Counter64: 4237309008 iso.3.6.1.4.1.789.1.5.4.1.29.16 = Counter64: 0 iso.3.6.1.4.1.789.1.5.4.1.29.17 = Counter64: 524288000 iso.3.6.1.4.1.789.1.5.4.1.29.18 = Counter64: 0 iso.3.6.1.4.1.789.1.5.4.1.29.19 = Counter64: 524288000 iso.3.6.1.4.1.789.1.5.4.1.29.20 = Counter64: 0 Does anyone have any clue why this isn't working in devmon? Could there be some problem with perl and SNMP? Can I create a simple perl script and try to poll the OIDs using the perl modules that devmon uses? /Johan > -----Original Message----- > From: Buchan Milne [mailto:bg...@st...] > Sent: den 11 mars 2011 12:00 > To: Johan Sjöberg > Subject: Re: [Devmon] 64-bit counters > > > ----- "Johan Sjöberg" <joh...@de...> wrote: > > > Hi. > > > > Thanks for your reply. I couldn't see any reasons it shouldn't support > > 64-bit counters, but I wanted to check just to make sure. I will start > > digging through the debug logs and try to find the cause of this. Is > > it possible to poll just one device with debug, so that I don't get > > all unnecessary logging for unaffected devices? Maybe I can create a > > special hosts file and run devmon in the foreground or something? > > The OIDs look correct. Here is the output of the index OID, 32-bit > > volume size and 64-bit volume size, and nothing is missing. > > > > mon01:/var/log# snmpwalk -v 2c -c public filer01 > > .1.3.6.1.4.1.789.1.5.4.1.1 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.1 = INTEGER: 1 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.2 = INTEGER: 2 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.3 = INTEGER: 3 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.4 = INTEGER: 4 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.5 = INTEGER: 5 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.6 = INTEGER: 6 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.7 = INTEGER: 7 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.8 = INTEGER: 8 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.9 = INTEGER: 9 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.10 = INTEGER: 10 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.11 = INTEGER: 11 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.12 = INTEGER: 12 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.13 = INTEGER: 13 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.14 = INTEGER: 14 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.15 = INTEGER: 15 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.16 = INTEGER: 16 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.17 = INTEGER: 17 > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.18 = INTEGER: 18 mon01:/var/log# > > snmpwalk -v 2c -c public filer01 > > .1.3.6.1.4.1.789.1.5.4.1.3 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.1 = INTEGER: -2039060528 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.2 = INTEGER: 0 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.3 = INTEGER: 16777216 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.4 = INTEGER: 4194304 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.5 = INTEGER: 524288000 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.6 = INTEGER: 0 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.7 = INTEGER: 524288000 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.8 = INTEGER: 0 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.9 = INTEGER: 524288000 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.10 = INTEGER: 0 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.11 = INTEGER: 408944640 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.12 = INTEGER: 136314880 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.13 = INTEGER: 41943040 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.14 = INTEGER: 10485760 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.15 = INTEGER: 25165824 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.16 = INTEGER: 6291456 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.17 = INTEGER: 367001600 > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.18 = INTEGER: 0 mon01:/var/log# > > snmpwalk -v 2c -c public filer01 > > .1.3.6.1.4.1.789.1.5.4.1.29 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.1 = Counter64: 2255906768 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.2 = Counter64: 0 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.3 = Counter64: 16777216 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.4 = Counter64: 4194304 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.5 = Counter64: 524288000 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.6 = Counter64: 0 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.7 = Counter64: 524288000 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.8 = Counter64: 0 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.9 = Counter64: 524288000 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.10 = Counter64: 0 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.11 = Counter64: 408944640 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.12 = Counter64: 136314880 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.13 = Counter64: 41943040 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.14 = Counter64: 10485760 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.15 = Counter64: 25165824 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.16 = Counter64: 6291456 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.17 = Counter64: 367001600 > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.18 = Counter64: 0 > > Provide the oids files for all the tests for the template you are using .. > > Regards, > Buchan |