SNMP - Problème avec MRTG - Linux et OS Alternatifs
Marsh Posté le 20-01-2003 à 20:50:07
Justement, j'ai installé net-smtp, mais je sais pas qu'est-ce qu'il faut configurer. Le fichier de conf est horriblement long.
Marsh Posté le 20-01-2003 à 21:02:08
il faut configurer les communautés et compagnie.
=> cf le site officiel de ucd/net-snmp.
et ensuite lancer snmpd
et là, ça roulera
Marsh Posté le 23-11-2002 à 14:41:32
Voila, j'ai installé MRTG ainsi que les librairies requises (gd, libpng...) mais apparement le SNMP ne tourne pas !
L'installation de MRTG s'est bien déroulé.
Je tape donc
/usr/local/mrtg-2/bin/cfgmaker public@localhost >test
La il me dit :
--base: Get Device Info on public@localhost:
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 937321926
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on public@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 673
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifDescr scanning because public@localhost: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public@localhost: does not seem to support it
--snpo: Skipping ifName scanning because public@localhost: does not seem to support it
--snpo: Skipping ifType scanning because public@localhost: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public@localhost: does not seem
to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 937321932
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifType
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 937321933
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifSpeed
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 937321934
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifAdminStatus
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 937321935
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifOperStatus
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 937321936
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 107
Donc je ne peux pas créer le .cfg, appamrent le SMNP tourne pas / mal. Pourtant ce module est bien démarré. Quelque est l'erreur ? aidez moi