Advertisement
Guest User

snmperr

a guest
Jun 29th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | None | 0 0
  1. snmpwalk looks pretty correct for me. There are couple NA's but does it matter?
  2.  
  3. ...
  4.  
  5. $ snmpwalk -v2c -c public ipaddress NET-SNMP-EXTEND-MIB::nsExtendOutLine
  6. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarttemp".1 = STRING: 31
  7. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarttemp".2 = STRING: 32
  8. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarttemp".3 = STRING: 32
  9. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarteccrec".1 = STRING: NA
  10. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarteccrec".2 = STRING: NA
  11. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarteccrec".3 = STRING: NA
  12. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartairflow".1 = STRING: NA
  13. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartairflow".2 = STRING: NA
  14. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartairflow".3 = STRING: NA
  15. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartdevices".1 = STRING: /dev/sda
  16. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartdevices".2 = STRING: /dev/sdb
  17. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartdevices".3 = STRING: /dev/sdc
  18. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartreaderr".1 = STRING: 40
  19. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartreaderr".2 = STRING: 149
  20. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartreaderr".3 = STRING: 149
  21. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartrealloc".1 = STRING: 95
  22. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartrealloc".2 = STRING: 60
  23. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartrealloc".3 = STRING: 60
  24. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartseekerr".1 = STRING: 33
  25. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartseekerr".2 = STRING: 100
  26. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartseekerr".3 = STRING: 100
  27. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartpwrhours".1 = STRING: 96
  28. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartpwrhours".2 = STRING: 74
  29. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartpwrhours".3 = STRING: 74
  30. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarthighflywr".1 = STRING: NA
  31. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarthighflywr".2 = STRING: NA
  32. NET-SNMP-EXTEND-MIB::nsExtendOutLine."smarthighflywr".3 = STRING: NA
  33.  
  34. ...
  35.  
  36. In cacti, I tried to click green circle, still it says Success "[237 Items, 237 Rows]". While running Verbose query, it says this:
  37.  
  38. ...
  39.  
  40. + Running data query [14].
  41. + Found type = '3' [SNMP Query].
  42. + Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/disk_smart.xml'
  43. + XML file parsed ok.
  44. + <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
  45. + Executing SNMP walk for list of indexes @ 'NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartdevices"' Index Count: 2540
  46.  
  47. ...
  48.  
  49.  
  50. After that it prints ALL snmpwalk information. Everything. And after that, list starts again but with words "smartDevices", like this:
  51.  
  52. ...
  53.  
  54. + Located input field 'smartDevices' [walk]
  55. + Executing SNMP walk for data @ 'NET-SNMP-EXTEND-MIB::nsExtendOutLine."smartdevices"'
  56. + 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]
  57. + Found item [smartDevices='OID: .1.3.6.1.4.1.8072.3.2.10'] index: 0 [from value]
  58. + Found item [smartDevices='4321693'] index: 0 [from value]
  59. + Found item [smartDevices='foobar@foobar'] index: 0 [from value]
  60. + Found item [smartDevices='foo'] index: 0 [from value]
  61. + Found item [smartDevices='bar'] index: 0 [from value]
  62. + Found item [smartDevices='2'] index: 0 [from value]
  63.  
  64. ...
  65.  
  66. So for me, it looks like there's some problem with XML-file? I just downloaded it and changed path, nothing else.
  67.  
  68. Any advice?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement