SNMP problems
Hi,
I'm running a Debian Testing with a 2.6.8-2 Debian patched kernel.
I try to use mrtg.
The problem is I cant get mrtg's cfgmaker working properly because of some
weird errors. snmpd is launched.
The kernel is a custom-compiled kernel, but from the Debian sources. May
be I missed one option, but which one? Where could I find the lists of the
needed options for mrtg/snmp to work?
Thak you! :-)
root-mail>>>>dpkg -l | grep snmp
ii libnet-snmp-pe 5.0.1-1 Script SNMP connections
ii libsnmp-base 5.1.2-6.1 NET SNMP (Simple Network Management Protocol
ii libsnmp-perl 5.1.2-6.1 NET SNMP (Simple Network Management Protocol
ii libsnmp-sessio 1.07-1 Perl support for accessing SNMP-aware device
ii libsnmp4.2 4.2.5-5 NET SNMP (Simple Network Management Protocol
ii libsnmp5 5.1.2-6.1 NET SNMP (Simple Network Management Protocol
ii snmp 5.1.2-6.1 NET SNMP (Simple Network Management Protocol
ii snmpd 5.1.2-6.1 NET SNMP (Simple Network Management Protocol
ii snmptrapfmt 1.08 A configurable snmp trap handler daemon for
root-mail>>>>ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:02:45:B1:0F
inet addr:83.143.18.14 Bcast:83.143.18.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX
packets:37735950 errors:0 dropped:0 overruns:0 frame:0 TX
packets:28120360 errors:0 dropped:0 overruns:0 carrier:890
collisions:0 txqueuelen:1000
RX bytes:92612657 (88.3 MiB) TX bytes:2090140865 (1.9 GiB)
Interrupt:22 Base address:0xb800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:634212 errors:0 dropped:0 overruns:0 frame:0
TX packets:634212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:615137901 (586.6 MiB) TX bytes:615137901 (586.6 MiB)
root-mail>>>> grep SNMP /boot/config-2.6.8-3
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set
root-mail>>>> cfgmaker --global 'WorkDir: /var/www/mrtg' --output
/etc/mrtg.cfg public@127.0.0.1 --base: Get Device Info on
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: 106089820
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 733
--base: Vendor Id:
--base: Populating confcache
--coca: populate confcache public@127.0.0.1: --coca: Skipping ifName
scanning because public@127.0.0.1: does not seem to support it --coca:
Skipping ifDescr scanning because public@127.0.0.1: does not seem to
support it --coca: Skipping ifType scanning because public@127.0.0.1: does
not seem to support it --coca: Skipping ipAdEntIfIndex scanning because
public@127.0.0.1: does not seem to support it --coca: Skipping
ifPhysAddress scanning because public@127.0.0.1: 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: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 106089826
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 144
--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: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 106089827
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 144
--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: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 106089828
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 144
--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: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 106089829
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 144
--base: Walking ifMtu
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: 106089830
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 144
--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: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 106089831
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 183
--base: Writing /etc/mrtg.cfg
--
Miroir de logiciels libres http://www.etud-orleans.fr
Développement de logiciels libres http://aspo.rktmb.org/activites/developpement
Infogerance de serveur dédié http://aspo.rktmb.org/activites/infogerance
(En louant les services de l'ASPO vous luttez contre la fracture numerique)
Reply to: