|| Faire tourner SNMP correctement

|| Faire tourner SNMP correctement - Linux et OS Alternatifs

Marsh Posté le 19-04-2005 à 11:39:10    

Bonjour à tous.
 
Voila j'ai install NET-SNMP.
 
j'ai suivi tout les tutos possibles et inimaginables ..  
et j'arrive tjrs pas a faire tourner SNMP
je m'explique, il est bien lancé mais aucune requete de base n'aboutie
 
voila mon snmpd.conf
 

Code :
  1. com2sec  Local  localhost   private
  2. group ROGrout v1 Local
  3. group ROGroup v2c Local
  4. group ROGroup v3  Local
  5. group ROGroup usm Local
  6. view all    included  .1
  7. access ROGroup "" any  noauth exact all none none


 
 
il est tout basique , c'est juste pour faire des tests en localhost(voir comment ca marche !!)
 
 
je veux faire un simple
 
snmpwalk localhost private .1
 
et ca me sort tout ca
 

Code :
  1. Cannot find module (IP-MIB): At line 0 in (none)
  2. Cannot find module (IF-MIB): At line 0 in (none)
  3. Cannot find module (TCP-MIB): At line 0 in (none)
  4. Cannot find module (UDP-MIB): At line 0 in (none)
  5. Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
  6. Cannot find module (SNMPv2-MIB): At line 0 in (none)
  7. Cannot find module (SNMPv2-SMI): At line 0 in (none)
  8. Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
  9. Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
  10. Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
  11. Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
  12. Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
  13. Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
  14. Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
  15. Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
  16. Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
  17. Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
  18. Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
  19. Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
  20. Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
  21. Cannot find module (SNMPv2-TM): At line 0 in (none)
  22. private: Unknown Object Identifier (Sub-id not found: (top) -> private)


 
 
par contre quand je fais un  
 
snmpget -c private -v 1 localhost .1.3.6.1.4.1.2021.10.1.5.1
 

Code :
  1. Cannot find module (IP-MIB): At line 0 in (none)
  2. Cannot find module (IF-MIB): At line 0 in (none)
  3. Cannot find module (TCP-MIB): At line 0 in (none)
  4. Cannot find module (UDP-MIB): At line 0 in (none)
  5. Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
  6. Cannot find module (SNMPv2-MIB): At line 0 in (none)
  7. Cannot find module (SNMPv2-SMI): At line 0 in (none)
  8. Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
  9. Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
  10. Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
  11. Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
  12. Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
  13. Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
  14. Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
  15. Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
  16. Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
  17. Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
  18. Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
  19. Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
  20. Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
  21. Cannot find module (SNMPv2-TM): At line 0 in (none)
  22. Timeout: No Response from localhost.


 
 
donc ya 2 problemes :

  • c'est quoi ce foutoir avec les MIBs ...?

ya t'il quelque chose à config à ce sujet (snmp.conf  :whistle: ) .. alors que aucun tuto n'en parle ?
 

  • c'est quoi ces erreurs bizarres ?


private: Unknown Object Identifier (Sub-id not found: (top) -> private)
Timeout: No Response from localhost.
 
AIDER MOI S'IL VOUS PLAIT OU JE SAUTE .. et je vais me faire mal , c sûr
 
Foppa qui devient depressif a cause de snmp

Reply

Marsh Posté le 19-04-2005 à 11:39:10   

Reply

Sujets relatifs:

Leave a Replay

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