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# |