MRTG et SNMPD ? [Debian] - Débats - Linux et OS Alternatifs
Marsh Posté le 14-10-2002 à 20:03:19
Par défaut MRTG cherche à utiliser une mib snmp à monitorer. Si tu n'a pas compris ce que je dit, prends mon mrtg.cong :
http://kadreg.free.fr/perso/linux/mrtg.conf
Qui permet de faire ça :
http://rincevent.dyndns.org/mrtg/cpu.html
Marsh Posté le 14-10-2002 à 20:39:43
dans /etc/snmpd/snmpd.conf met :
com2sec readonly 127.0.0.1 public
Marsh Posté le 24-10-2002 à 20:35:48
Tu as une erreur de SNMP. As tu bien demaré le service SNMP sur le machine cliente "kernimoise".
Marsh Posté le 25-10-2002 à 20:00:58
j'avais eu un paquet d'erreurs avec le snmpd de net-snmp.
avec celui de ucd-snmp, ca marche sans probleme et sans snmpd.conf
au moins tu auras l'état de tes interfaces réseaux.
Marsh Posté le 26-10-2002 à 01:10:19
kadreg a écrit a écrit : Par défaut MRTG cherche à utiliser une mib snmp à monitorer. Si tu n'a pas compris ce que je dit, prends mon mrtg.cong : http://kadreg.free.fr/perso/linux/mrtg.conf Qui permet de faire ça : http://rincevent.dyndns.org/mrtg/cpu.html |
beuh marche pas ton lien 2ème lien
adsl suxxx comme d'hab
Marsh Posté le 26-10-2002 à 01:16:30
HJ a écrit a écrit : beuh marche pas ton lien 2ème lien adsl suxxx comme d'hab |
les miens marchent tjs
Marsh Posté le 26-10-2002 à 11:43:19
leirn a écrit a écrit : les miens marchent tjs |
Rincevent est dans ma chambre, c'est pas pratique pour dormir.
Marsh Posté le 14-10-2002 à 03:48:56
J'ai dans l'espoir de pouvoir un jour jouer avec mrtg, mais j'ai du mal a le configurer...
j'ailu qu'il fallait faire cfgmaker public@(ton histname) > mrtg.conf
hors losque je fais cela j'obtiens ceci...
apparemment ca ne marche pas, mais je ne vois pas pourquoi, qqun a til une idée ?
KerniMoise:/etc# cfgmaker public@kernimoise > mrtg.cfg
--base: Get Device Info on public@kernimoise:
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because public@kernimoise: does not seem to support it
--snpo: Skipping ifDescr scanning because public@kernimoise: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public@kernimoise: does not seem to support it
--snpo: Skipping ifType scanning because public@kernimoise: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public@kernimoise: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.1)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358810
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.1)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358810
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.1)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358810
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
no response received
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358810
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public@kernimoise:
at /usr/bin/cfgmaker line 107
--base: Walking ifType
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.3)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358811
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.3)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358811
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
no response received
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358811
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@kernimoise:
at /usr/bin/cfgmaker line 107
--base: Walking ifSpeed
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.5)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358812
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.5)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358812
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.5)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358812
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
no response received
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358812
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public@kernimoise:
at /usr/bin/cfgmaker line 107
--base: Walking ifAdminStatus
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.7)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358813
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.7)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358813
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.7)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358813
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
no response received
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358813
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public@kernimoise:
at /usr/bin/cfgmaker line 107
--base: Walking ifOperStatus
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.8)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358814
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.8)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358814
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
no response received
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
community: "public"
request ID: 26358814
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public@kernimoise:
at /usr/bin/cfgmaker line 107
KerniMoise:/etc# less mrtg.cfg
# Created by
# /usr/bin/cfgmaker public@kernimoise
### Global Config Options
# for Debian
WorkDir: /var/www/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
######################################################################
# System: KerniMoise
# Description: Linux KerniMoise 2.4.18-k7 #1 Sun Apr 14 13:19:11 EST 2002 i686
# Contact: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
# Location: Unknown (configure /etc/snmp/snmp.local.conf)
######################################################################
KerniMoise:/etc#