SNMP : Perte de MIB sur windows ?

SNMP : Perte de MIB sur windows ? - Réseaux - Réseaux grand public / SoHo

Marsh Posté le 14-12-2011 à 18:16:28    

Bonjour,  
 
J'ai une machine windows 2008 R2 (avec snmpV3 agent) que je voudrais surveiller dans nagios et sonder en snmp (avec les scripts nagios check_snmp_load.pl et check_snmp_storage.pl) .  
Le retour que j'ai de nagios est : " ERROR: Description/Type table : Requested table is empty or does not exist. "  
Un problème de MIB je pense.  
Lorsque je lance la commande snmpwalk vers cette machine snmpwalk aaa.bbb.ccc.ddd -u user -A 'password' très peu d'information me sont retournée (ci dessous). Car quand je lance cette même commande vers une autre machine windows, j'ai 10 pages qui me sont affichées.  
 
voici ce que j'ai :
 

Code :
  1. SNMPv2-MIB::sysORID.1 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
  2. SNMPv2-MIB::sysORID.2 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
  3. SNMPv2-MIB::sysORID.3 = OID: SNMP-MPD-MIB::snmpMPDCompliance
  4. SNMPv2-MIB::sysORID.4 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
  5. SNMPv2-MIB::sysORDescr.1 = STRING: View-based Access Control Model for SNMP.
  6. SNMPv2-MIB::sysORDescr.2 = STRING: The SNMP Management Architecture MIB.
  7. SNMPv2-MIB::sysORDescr.3 = STRING: The MIB for Message Processing and Dispatching.
  8. SNMPv2-MIB::sysORDescr.4 = STRING: The management information definitions for the SNMP User-based Security Model.
  9. SNMPv2-MIB::sysORUpTime.1 = Timeticks: (3) 0:00:00.03
  10. SNMPv2-MIB::sysORUpTime.2 = Timeticks: (3) 0:00:00.03
  11. SNMPv2-MIB::sysORUpTime.3 = Timeticks: (3) 0:00:00.03
  12. SNMPv2-MIB::sysORUpTime.4 = Timeticks: (3) 0:00:00.03
  13. SNMPv2-MIB::snmpInPkts.0 = Counter32: 654
  14. SNMPv2-MIB::snmpOutPkts.0 = Counter32: 417
  15. SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0
  16. SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 4
  17. SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0
  18. SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0
  19. SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0
  20. SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0
  21. SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0
  22. SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0
  23. SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0
  24. SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 973
  25. SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0
  26. SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 131
  27. SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 258
  28. SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0
  29. SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0
  30. SNMPv2-MIB::snmpInTraps.0 = Counter32: 0
  31. SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0
  32. SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0
  33. SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0
  34. SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0
  35. SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0
  36. SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0
  37. SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0
  38. SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 441
  39. SNMPv2-MIB::snmpOutTraps.0 = Counter32: 0
  40. SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: disabled(2)
  41. SNMPv2-MIB::snmpSilentDrops.0 = Counter32: 0
  42. SNMPv2-MIB::snmpProxyDrops.0 = Counter32: 0


 
 
Je pense donc qu'il y a un problème de MIB sur cette machine puisque le SNMP me répond. J'ai réinstallé SNMPv3 Agent, mais je ne comprend pas comment vérifier cette MIB, ou la réinstaller....  
 
merci d'avance pour votre aide.
 
Xavier.


Message édité par xavierjf_101 le 15-12-2011 à 17:16:16
Reply

Marsh Posté le 14-12-2011 à 18:16:28   

Reply

Marsh Posté le 16-12-2011 à 15:26:58    

tu as essayé ta commande snmpwalk en browsant depuis .1 ?


---------------
"Your god is too small", Giordano Bruno, 1548 - 1600
Reply

Marsh Posté le 16-12-2011 à 15:33:51    

Ce sujet a été déplacé de la catégorie OS Alternatifs vers la categorie Réseaux grand public / SoHo par O'gure


---------------
Relax. Take a deep breath !
Reply

Marsh Posté le 19-12-2011 à 12:10:50    

roscocoltran a écrit :

tu as essayé ta commande snmpwalk en browsant depuis .1 ?


 
J'obtiens ce résultat, qui je pense n'est pas complet :
comment pourrais je réinstaller mes MIB sur windows 2008 ?
 

Code :
  1. SNMP-FRAMEWORK-MIB::snmpEngineID.0 = Hex-STRING: 80 00 1F 88 80 52 43 00 00 A4 E6 92 4E
  2. SNMP-FRAMEWORK-MIB::snmpEngineBoots.0 = INTEGER: 32
  3. SNMP-FRAMEWORK-MIB::snmpEngineTime.0 = INTEGER: 316172 seconds
  4. SNMP-FRAMEWORK-MIB::snmpEngineMaxMessageSize.0 = INTEGER: 1500
  5. SNMP-MPD-MIB::snmpUnknownSecurityModels.0 = Counter32: 0
  6. SNMP-MPD-MIB::snmpInvalidMsgs.0 = Counter32: 0
  7. SNMP-MPD-MIB::snmpUnknownPDUHandlers.0 = Counter32: 0
  8. SNMP-TARGET-MIB::snmpTargetSpinLock.0 = INTEGER: 0
  9. SNMP-TARGET-MIB::snmpUnavailableContexts.0 = Counter32: 0
  10. SNMP-TARGET-MIB::snmpUnknownContexts.0 = Counter32: 0
  11. SNMP-USER-BASED-SM-MIB::usmStatsUnsupportedSecLevels.0 = Counter32: 0
  12. SNMP-USER-BASED-SM-MIB::usmStatsNotInTimeWindows.0 = Counter32: 3132
  13. SNMP-USER-BASED-SM-MIB::usmStatsUnknownUserNames.0 = Counter32: 3
  14. SNMP-USER-BASED-SM-MIB::usmStatsUnknownEngineIDs.0 = Counter32: 17924
  15. SNMP-USER-BASED-SM-MIB::usmStatsWrongDigests.0 = Counter32: 0
  16. SNMP-USER-BASED-SM-MIB::usmStatsDecryptionErrors.0 = Counter32: 0
  17. SNMP-USER-BASED-SM-MIB::usmUserSpinLock.0 = INTEGER: 0
  18. SNMP-USER-BASED-SM-MIB::usmUserSecurityName.".....RC.....N"."superviseur" = STRING: superviseur
  19. SNMP-USER-BASED-SM-MIB::usmUserCloneFrom.".....RC.....N"."superviseur" = OID: SNMPv2-SMI::zeroDotZero
  20. SNMP-USER-BASED-SM-MIB::usmUserAuthProtocol.".....RC.....N"."superviseur" = OID: SNMP-USER-BASED-SM-MIB::usmHMACSHAAuthProtocol
  21. SNMP-USER-BASED-SM-MIB::usmUserAuthKeyChange.".....RC.....N"."superviseur" = ""
  22. SNMP-USER-BASED-SM-MIB::usmUserOwnAuthKeyChange.".....RC.....N"."superviseur" = ""
  23. SNMP-USER-BASED-SM-MIB::usmUserPrivProtocol.".....RC.....N"."superviseur" = OID: SNMP-FRAMEWORK-MIB::snmpPrivProtocols.4
  24. SNMP-USER-BASED-SM-MIB::usmUserPrivKeyChange.".....RC.....N"."superviseur" = ""
  25. SNMP-USER-BASED-SM-MIB::usmUserOwnPrivKeyChange.".....RC.....N"."superviseur" = ""
  26. SNMP-USER-BASED-SM-MIB::usmUserPublic.".....RC.....N"."superviseur" = ""
  27. SNMP-USER-BASED-SM-MIB::usmUserStorageType.".....RC.....N"."superviseur" = INTEGER: permanent(4)
  28. SNMP-USER-BASED-SM-MIB::usmUserStatus.".....RC.....N"."superviseur" = INTEGER: active(1)
  29. SNMP-VIEW-BASED-ACM-MIB::vacmContextName."" = STRING:
  30. SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.1."public" = STRING: power-user
  31. SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.2."public" = STRING: power-user
  32. SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.3."superviseur" = STRING: power-user
  33. SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStorageType.1."public" = INTEGER: readOnly(5)
  34. SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStorageType.2."public" = INTEGER: readOnly(5)
  35. SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStorageType.3."superviseur" = INTEGER: readOnly(5)
  36. SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStatus.1."public" = INTEGER: active(1)
  37. SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStatus.2."public" = INTEGER: active(1)
  38. SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupStatus.3."superviseur" = INTEGER: active(1)
  39. SNMP-VIEW-BASED-ACM-MIB::vacmAccessContextMatch."root-user"."".0.noAuthNoPriv = INTEGER: exact(1)
  40. SNMP-VIEW-BASED-ACM-MIB::vacmAccessContextMatch."power-user"."".3.noAuthNoPriv = INTEGER: prefix(2)
  41. SNMP-VIEW-BASED-ACM-MIB::vacmAccessReadViewName."root-user"."".0.noAuthNoPriv = STRING: all
  42. SNMP-VIEW-BASED-ACM-MIB::vacmAccessReadViewName."power-user"."".3.noAuthNoPriv = STRING: all
  43. SNMP-VIEW-BASED-ACM-MIB::vacmAccessWriteViewName."root-user"."".0.noAuthNoPriv = STRING: all
  44. SNMP-VIEW-BASED-ACM-MIB::vacmAccessWriteViewName."power-user"."".3.noAuthNoPriv = STRING: none
  45. SNMP-VIEW-BASED-ACM-MIB::vacmAccessNotifyViewName."root-user"."".0.noAuthNoPriv = STRING: none
  46. SNMP-VIEW-BASED-ACM-MIB::vacmAccessNotifyViewName."power-user"."".3.noAuthNoPriv = STRING: none
  47. SNMP-VIEW-BASED-ACM-MIB::vacmAccessStorageType."root-user"."".0.noAuthNoPriv = INTEGER: readOnly(5)
  48. SNMP-VIEW-BASED-ACM-MIB::vacmAccessStorageType."power-user"."".3.noAuthNoPriv = INTEGER: readOnly(5)
  49. SNMP-VIEW-BASED-ACM-MIB::vacmAccessStatus."root-user"."".0.noAuthNoPriv = INTEGER: active(1)
  50. SNMP-VIEW-BASED-ACM-MIB::vacmAccessStatus."power-user"."".3.noAuthNoPriv = INTEGER: active(1)
  51. SNMP-VIEW-BASED-ACM-MIB::vacmViewSpinLock.0 = INTEGER: 0
  52. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyMask."all".1.1 = ""
  53. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyMask."without-security".1.1 = ""
  54. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyMask."without-security".8.1.3.6.1.6.3.15.1 = ""
  55. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyMask."without-security".8.1.3.6.1.6.3.16.1 = ""
  56. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyMask."without-security".12.1.3.6.1.6.3.15.1.2.2.1.7 = ""
  57. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyMask."without-security".12.1.3.6.1.6.3.15.1.2.2.1.10 = ""
  58. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyType."all".1.1 = INTEGER: included(1)
  59. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyType."without-security".1.1 = INTEGER: included(1)
  60. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyType."without-security".8.1.3.6.1.6.3.15.1 = INTEGER: excluded(2)
  61. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyType."without-security".8.1.3.6.1.6.3.16.1 = INTEGER: excluded(2)
  62. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyType."without-security".12.1.3.6.1.6.3.15.1.2.2.1.7 = INTEGER: included(1)
  63. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyType."without-security".12.1.3.6.1.6.3.15.1.2.2.1.10 = INTEGER: included(1)
  64. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStorageType."all".1.1 = INTEGER: readOnly(5)
  65. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStorageType."without-security".1.1 = INTEGER: readOnly(5)
  66. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStorageType."without-security".8.1.3.6.1.6.3.15.1 = INTEGER: readOnly(5)
  67. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStorageType."without-security".8.1.3.6.1.6.3.16.1 = INTEGER: readOnly(5)
  68. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStorageType."without-security".12.1.3.6.1.6.3.15.1.2.2.1.7 = INTEGER: readOnly(5)
  69. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStorageType."without-security".12.1.3.6.1.6.3.15.1.2.2.1.10 = INTEGER: readOnly(5)
  70. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."all".1.1 = INTEGER: active(1)
  71. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."without-security".1.1 = INTEGER: active(1)
  72. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."without-security".8.1.3.6.1.6.3.15.1 = INTEGER: active(1)
  73. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."without-security".8.1.3.6.1.6.3.16.1 = INTEGER: active(1)
  74. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."without-security".12.1.3.6.1.6.3.15.1.2.2.1.7 = INTEGER: active(1)
  75. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."without-security".12.1.3.6.1.6.3.15.1.2.2.1.10 = INTEGER: active(1)
  76. SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."without-security".12.1.3.6.1.6.3.15.1.2.2.1.10 = No more variables left in this MIB View

Reply

Marsh Posté le 20-12-2011 à 11:41:08    

Le problème venait de 'snmpV3 agent' n'est apparemment pas compatible x64, j'ai donc installé Net-SNMP x64 + OpenSSL x64, et ça marche.  
 
Xavier.

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed