Bonjour.
J’ai un autre problème qui suivient aujourd’hui.
Ce problème se rapporte au graphique MRTG.
J’ai cherché pendant plus de 3heures.
J’ai même utilisé la fonction rechercher du forum !
Mais je n’ai rien trouvé.
Voilà le problème que me dit ma machine :
# cfgmaker --global 'WorkDir: /home/reg-www/www/mrtg' --global 'Language: French' --output /etc/mrtg.cfg public@127.0.0.1
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.1.9.1.4.9)
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: -1662868514
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 733
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: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: -1662868508
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public@127.0.0.1::::::v4only
at /usr/bin/cfgmaker line 181
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: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: -1662868507
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@127.0.0.1::::::v4only
at /usr/bin/cfgmaker line 181
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: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: -1662868506
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public@127.0.0.1::::::v4only
at /usr/bin/cfgmaker line 181
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: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: -1662868505
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public@127.0.0.1::::::v4only
at /usr/bin/cfgmaker line 181
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.4)
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: -1662868504
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.4 on public@127.0.0.1::::::v4only
at /usr/bin/cfgmaker line 181
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: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: -1662868503
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public@127.0.0.1::::::v4only
at /usr/bin/cfgmaker line 220
Je ne sais pas quoi faire.
Voici mon /etc/mrtg.cfg
# Created by
# /usr/bin/cfgmaker --global 'WorkDir: /home/reg-www/www/mrtg' --global 'Language: French' --output /etc/mrtg.cfg public@127.0.0.1
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# 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
EnableIPv6: no
WorkDir: /home/reg-www/www/mrtg
Language: French
######################################################################
# System: ks357764.kimsufi.com
# Description: Linux ks357764.kimsufi.com 2.6.24.5-grsec-xxxx-grs-ipv4-32 #1 SMP Wed Apr 23 17:14:18 CEST 2008 i686
# Contact: Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
# Location: Unknown (configure /etc/snmp/snmpd.local.conf)
######################################################################
Les lignes posant problème dans /usr/share/perl5/SNMP_util.pm :
[...]
627 while(($SNMP_util::Version ne '1' && $session->{'use_getbulk'})
? $session->getbulk_request_response(0,
$session->default_max_repetitions(),
@nnoid)
: $session->getnext_request_response(@nnoid))
632 {
$got = 1;
$response = $session->pdu_buffer;
635 ($bindings) = $session->decode_get_response($response);
$ix = 0;
while ($bindings) {
638 ($binding, $bindings) = decode_sequence($bindings);
unless ($nnoid[$ix]) { # IlvJa
$ix = ++$ix % (scalar @avars);
641 next;
642 }
[...]
Je vous remercie de l’aide que vous y apporterez.
Yukiz