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 :
- com2sec Local localhost private
- group ROGrout v1 Local
- group ROGroup v2c Local
- group ROGroup v3 Local
- group ROGroup usm Local
- view all included .1
- 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 :
- Cannot find module (IP-MIB): At line 0 in (none)
- Cannot find module (IF-MIB): At line 0 in (none)
- Cannot find module (TCP-MIB): At line 0 in (none)
- Cannot find module (UDP-MIB): At line 0 in (none)
- Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
- Cannot find module (SNMPv2-MIB): At line 0 in (none)
- Cannot find module (SNMPv2-SMI): At line 0 in (none)
- Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
- Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
- Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
- Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
- Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
- Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
- Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
- Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
- Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
- Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
- Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
- Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
- Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
- Cannot find module (SNMPv2-TM): At line 0 in (none)
- 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 :
- Cannot find module (IP-MIB): At line 0 in (none)
- Cannot find module (IF-MIB): At line 0 in (none)
- Cannot find module (TCP-MIB): At line 0 in (none)
- Cannot find module (UDP-MIB): At line 0 in (none)
- Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
- Cannot find module (SNMPv2-MIB): At line 0 in (none)
- Cannot find module (SNMPv2-SMI): At line 0 in (none)
- Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
- Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
- Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
- Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
- Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
- Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
- Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
- Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
- Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
- Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
- Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
- Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
- Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
- Cannot find module (SNMPv2-TM): At line 0 in (none)
- 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
) .. 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