Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- snmpwalk looks pretty correct for me. There are couple NA's but does it matter?
- ...
- $ snmpwalk -v2c -c public ipaddress NET-SNMP-EXTEND-MIB::nsExtendOutLine
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarttemp".1 = STRING: 31
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarttemp".2 = STRING: 32
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarttemp".3 = STRING: 32
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarteccrec".1 = STRING: NA
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarteccrec".2 = STRING: NA
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarteccrec".3 = STRING: NA
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartairflow".1 = STRING: NA
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartairflow".2 = STRING: NA
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartairflow".3 = STRING: NA
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartdevices".1 = STRING: /dev/sda
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartdevices".2 = STRING: /dev/sdb
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartdevices".3 = STRING: /dev/sdc
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartreaderr".1 = STRING: 40
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartreaderr".2 = STRING: 149
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartreaderr".3 = STRING: 149
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartrealloc".1 = STRING: 95
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartrealloc".2 = STRING: 60
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartrealloc".3 = STRING: 60
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartseekerr".1 = STRING: 33
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartseekerr".2 = STRING: 100
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartseekerr".3 = STRING: 100
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartpwrhours".1 = STRING: 96
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartpwrhours".2 = STRING: 74
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartpwrhours".3 = STRING: 74
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarthighflywr".1 = STRING: NA
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarthighflywr".2 = STRING: NA
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarthighflywr".3 = STRING: NA
- ...
- In cacti, I tried to click green circle, still it says Success "[237 Items, 237 Rows]". While running Verbose query, it says this:
- ...
- + Running data query [14].
- + Found type = '3' [SNMP Query].
- + Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/disk_smart.xml'
- + XML file parsed ok.
- + <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
- + Executing SNMP walk for list of indexes @ 'NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartdevices"' Index Count: 2540
- ...
- After that it prints ALL snmpwalk information. Everything. And after that, list starts again but with words "smartDevices", like this:
- ...
- + Located input field 'smartDevices' [walk]
- + Executing SNMP walk for data @ 'NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartdevices"'
- + Found item [smartDevices='Linux foobar 2.6.32-5-686 #1 SMP Fri Sep 9 20:51:05 UTC 2011 i686'] index: 0 [from value]
- + Found item [smartDevices='OID: .1.3.6.1.4.1.8072.3.2.10'] index: 0 [from value]
- + Found item [smartDevices='4321693'] index: 0 [from value]
- + Found item [smartDevices='foobar@foobar'] index: 0 [from value]
- + Found item [smartDevices='foo'] index: 0 [from value]
- + Found item [smartDevices='bar'] index: 0 [from value]
- + Found item [smartDevices='2'] index: 0 [from value]
- ...
- So for me, it looks like there's some problem with XML-file? I just downloaded it and changed path, nothing else.
- Any advice?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement