[mrtg] Problem with mrtg and snmp version 2
Karina Gómez
kgs at btu.com.mx
Tue Mar 18 23:37:45 CET 2008
ifInOctets.2&ifOutOctets.2:Canopy at 192.168.13.49:::::2 <mailto:ifInOctets.2&ifOutOctets.2:Canopy at 192.168.13.49:::::2c>
isn't activated with that last 2 ?
Karina
Sean Cheesman wrote:
>
> Some devices only respond to v2 queries. Just enable v2 polling for
> that device in your config and you should be ok.
>
>
>
> Sean
>
>
>
> *From:* mrtg-bounces at lists.oetiker.ch
> [mailto:mrtg-bounces at lists.oetiker.ch] *On Behalf Of *Karina Gómez
> *Sent:* Tuesday, March 18, 2008 5:16 PM
> *To:* mrtg at lists.oetiker.ch
> *Subject:* [mrtg] Problem with mrtg and snmp version 2
>
>
>
> Hi,
>
> I have a problem with some devices that only responds to snmp version
> 2c. snmpwalk and snmpget with the -v 2c option works ok. Mrtg doesn't
> send any errors but the log file is full with zeroes. I think that
> it's trying to query the device with snmp version 1 so the device
> doesn't respond.
>
> Thanks for your help,
> Karina.
>
> ### Global Config Options
>
> # for UNIX
> # WorkDir: /home/http/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
>
> ### Interface 2 >> Descr: 'Canopy-MultiPoint' | Name: '' | Ip: '192.168.101.33' | Eth: '30-78-31-61-30-30-33-65-30-33-64-37-65-66' ###
>
> Target[192.168.13.49_2]: ifInOctets.2&ifOutOctets.2:Canopy at 192.168.13.49:::::2 <mailto:ifInOctets.2&ifOutOctets.2:Canopy at 192.168.13.49:::::2c>
> SetEnv[192.168.13.49_2]: MRTG_INT_IP="192.168.101.33" MRTG_INT_DESCR="Canopy-MultiPoint"
> MaxBytes[192.168.13.49_2]: 128000
> Title[192.168.13.49_2]: Traffic Analysis for 2 --
> PageTop[192.168.13.49_2]: <h1>Traffic Analysis for 2 -- </h1>
> <div id="sysdetails">
> <table>
> .......
> </table>
> </div>
>
>
>
> root at clsv01 mrtg]# more test
> SNMPv2-MIB::sysDescr.0 = STRING: CANOPY 8.2.1 SM-DES
> SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.161.19.250.256
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (795286) 2:12:32.86
>
> SNMPv2-MIB::sysContact.0 = STRING: BTU
> SNMPv2-MIB::sysName.0 = STRING: Sol Winner
> SNMPv2-MIB::sysLocation.0 = STRING: Horacio Nelson 35 Costa Azul
> SNMPv2-MIB::sysORLastChange.0 = Timeticks: (795200) 2:12:32.00
>
> SNMPv2-MIB::sysORID.1 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
> SNMPv2-MIB::sysORID.2 = OID: SNMPv2-MIB::snmpMIB
> SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip
> SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udp
> SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcp
>
> SNMPv2-MIB::sysORDescr.1 = STRING: View-based Access Control Model for SNMP.
> SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities.
> SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations
>
> SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations
> SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
> SNMPv2-MIB::sysORUpTime.1 = Timeticks: (15) 0:00:00.15
>
> SNMPv2-MIB::sysORUpTime.2 = Timeticks: (15) 0:00:00.15
> SNMPv2-MIB::sysORUpTime.3 = Timeticks: (15) 0:00:00.15
> SNMPv2-MIB::sysORUpTime.4 = Timeticks: (15) 0:00:00.15
> SNMPv2-MIB::sysORUpTime.5 = Timeticks: (15) 0:00:00.15
>
> IF-MIB::ifNumber.0 = INTEGER: 2
> IF-MIB::ifIndex.1 = INTEGER: 1
> IF-MIB::ifIndex.2 = INTEGER: 2
> IF-MIB::ifDescr.1 = STRING: Motorola 10/100 FEC
> IF-MIB::ifDescr.2 = STRING: Canopy MultiPoint
> IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
>
> IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
> IF-MIB::ifMtu.1 = INTEGER: 0
> IF-MIB::ifMtu.2 = INTEGER: 1500
> IF-MIB::ifSpeed.1 = Gauge32: 100000000
> IF-MIB::ifSpeed.2 = Gauge32: 10000000
> IF-MIB::ifPhysAddress.1 = STRING: a:0:3e:3:d7:ef
>
> IF-MIB::ifPhysAddress.2 = STRING: 1a:0:3e:3:d7:ef
> IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
> IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
> IF-MIB::ifOperStatus.1 = INTEGER: up(1)
> IF-MIB::ifOperStatus.2 = INTEGER: up(1)
>
> IF-MIB::ifLastChange.1 = Timeticks: (397661) 1:06:16.61
> IF-MIB::ifLastChange.2 = Timeticks: (397662) 1:06:16.62
> IF-MIB::ifInOctets.1 = Counter32: 1245356
> IF-MIB::ifInOctets.2 = Counter32: 4432502
> IF-MIB::ifInUcastPkts.1 = Counter32: 10636
>
> IF-MIB::ifInUcastPkts.2 = Counter32: 10658
> IF-MIB::ifInNUcastPkts.1 = Counter32: 8943
> IF-MIB::ifInNUcastPkts.2 = Counter32: 22171
> IF-MIB::ifInDiscards.1 = Counter32: 0
> IF-MIB::ifInDiscards.2 = Counter32: 0
>
> IF-MIB::ifInErrors.1 = Counter32: 0
> IF-MIB::ifInErrors.2 = Counter32: 0
> IF-MIB::ifInUnknownProtos.1 = Counter32: 0
> IF-MIB::ifInUnknownProtos.2 = Counter32: 0
> IF-MIB::ifOutOctets.1 = Counter32: 3580102
> IF-MIB::ifOutOctets.2 = Counter32: 1103334
>
> IF-MIB::ifOutUcastPkts.1 = Counter32: 1436
> IF-MIB::ifOutUcastPkts.2 = Counter32: 10508
> IF-MIB::ifOutNUcastPkts.1 = Counter32: 22395
> IF-MIB::ifOutNUcastPkts.2 = Counter32: 22
> IF-MIB::ifOutDiscards.1 = Counter32: 0
>
> IF-MIB::ifOutDiscards.2 = Counter32: 0
> IF-MIB::ifOutErrors.1 = Counter32: 0
> IF-MIB::ifOutErrors.2 = Counter32: 0
> IF-MIB::ifOutQLen.1 = Gauge32: 0
> IF-MIB::ifOutQLen.2 = Gauge32: 8
> IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
>
> IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero
> RFC1213-MIB::atIfIndex.1.1.192.168.13.254 = INTEGER: 1
> RFC1213-MIB::atPhysAddress.1.1.192.168.13.254 = Hex-STRING: 00 19 AA 05 FA C2
> RFC1213-MIB::atNetAddress.1.1.192.168.13.254 = Network Address: C0:A8:0D:FE
>
> IP-MIB::ipForwarding.0 = INTEGER: forwarding(1)
> IP-MIB::ipDefaultTTL.0 = INTEGER: 30
> IP-MIB::ipInReceives.0 = Counter32: 9241
> IP-MIB::ipInHdrErrors.0 = Counter32: 0
> IP-MIB::ipInAddrErrors.0 = Counter32: 0
> IP-MIB::ipForwDatagrams.0 = Counter32: 0
>
> IP-MIB::ipInUnknownProtos.0 = Counter32: 0
> IP-MIB::ipInDiscards.0 = Counter32: 0
> IP-MIB::ipInDelivers.0 = Counter32: 9247
> IP-MIB::ipOutRequests.0 = Counter32: 9111
> IP-MIB::ipOutDiscards.0 = Counter32: 0
> IP-MIB::ipOutNoRoutes.0 = Counter32: 0
>
> IP-MIB::ipReasmTimeout.0 = INTEGER: 0 seconds
> IP-MIB::ipReasmReqds.0 = Counter32: 0
> IP-MIB::ipReasmOKs.0 = Counter32: 0
> IP-MIB::ipReasmFails.0 = Counter32: 0
> IP-MIB::ipFragOKs.0 = Counter32: 0
> IP-MIB::ipFragFails.0 = Counter32: 0
>
> IP-MIB::ipFragCreates.0 = Counter32: 0
> IP-MIB::ipAdEntAddr.192.168.13.49 = IpAddress: 192.168.13.49 <http://192.168.13.49>
> IP-MIB::ipAdEntAddr.192.168.101.33 = IpAddress: 192.168.101.33 <http://192.168.101.33>
>
> IP-MIB::ipAdEntIfIndex.192.168.13.49 = INTEGER: 1
> IP-MIB::ipAdEntIfIndex.192.168.101.33 = INTEGER: 2
> IP-MIB::ipAdEntNetMask.192.168.13.49 = IpAddress: 255.255.255.0 <http://255.255.255.0>
> IP-MIB::ipAdEntNetMask.192.168.101.33 = IpAddress: 255.255.255.0 <http://255.255.255.0>
>
> IP-MIB::ipAdEntBcastAddr.192.168.13.49 = INTEGER: 1
> IP-MIB::ipAdEntBcastAddr.192.168.101.33 = INTEGER: 1
> IP-MIB::ipAdEntReasmMaxSize.192.168.13.49 = INTEGER: 1502
> IP-MIB::ipAdEntReasmMaxSize.192.168.101.33 = INTEGER: 1502
>
> RFC1213-MIB::ipRouteDest.192.168.101.1 = IpAddress: 192.168.101.1 <http://192.168.101.1>
> RFC1213-MIB::ipRouteIfIndex.192.168.101.1 = INTEGER: 2
> RFC1213-MIB::ipRouteMetric1.192.168.101.1 = INTEGER: 30
>
> RFC1213-MIB::ipRouteMetric2.192.168.101.1 = INTEGER: -1
> RFC1213-MIB::ipRouteMetric3.192.168.101.1 = INTEGER: -1
> RFC1213-MIB::ipRouteMetric4.192.168.101.1 = INTEGER: -1
> RFC1213-MIB::ipRouteNextHop.192.168.101.1 = IpAddress: 192.168.101.1 <http://192.168.101.1>
>
> RFC1213-MIB::ipRouteType.192.168.101.1 = INTEGER: direct(3)
> RFC1213-MIB::ipRouteProto.192.168.101.1 = INTEGER: other(1)
> RFC1213-MIB::ipRouteAge.192.168.101.1 = INTEGER: 3972
> RFC1213-MIB::ipRouteMask.192.168.101.1 = IpAddress: 255.255.255.255 <http://255.255.255.255>
>
> RFC1213-MIB::ipRouteMetric5.192.168.101.1 = INTEGER: -1
> RFC1213-MIB::ipRouteInfo.192.168.101.1 = OID: SNMPv2-SMI::zeroDotZero
> IP-MIB::ipNetToMediaIfIndex.1.192.168.13.254 = INTEGER: 1
> IP-MIB::ipNetToMediaPhysAddress.1.192.168.13.254 = STRING: 0:19:aa:5:fa:c2
>
> IP-MIB::ipNetToMediaNetAddress.1.192.168.13.254 = IpAddress: 192.168.13.254 <http://192.168.13.254>
> IP-MIB::ipNetToMediaType.1.192.168.13.254 = INTEGER: dynamic(3)
> IP-MIB::ipRoutingDiscards.0 = Counter32: 0
>
> IP-MIB::icmpInMsgs.0 = Counter32: 1305
> IP-MIB::icmpInErrors.0 = Counter32: 0
> IP-MIB::icmpInDestUnreachs.0 = Counter32: 4
> IP-MIB::icmpInTimeExcds.0 = Counter32: 0
> IP-MIB::icmpInParmProbs.0 = Counter32: 0
> IP-MIB::icmpInSrcQuenchs.0 = Counter32: 0
>
> IP-MIB::icmpInRedirects.0 = Counter32: 0
> IP-MIB::icmpInEchos.0 = Counter32: 1302
> IP-MIB::icmpInEchoReps.0 = Counter32: 0
> IP-MIB::icmpInTimestamps.0 = Counter32: 0
> IP-MIB::icmpInTimestampReps.0 = Counter32: 0
>
> IP-MIB::icmpInAddrMasks.0 = Counter32: 0
> IP-MIB::icmpInAddrMaskReps.0 = Counter32: 0
> IP-MIB::icmpOutMsgs.0 = Counter32: 1302
> IP-MIB::icmpOutErrors.0 = Counter32: 0
> IP-MIB::icmpOutDestUnreachs.0 = Counter32: 0
>
> IP-MIB::icmpOutTimeExcds.0 = Counter32: 0
> IP-MIB::icmpOutParmProbs.0 = Counter32: 0
> IP-MIB::icmpOutSrcQuenchs.0 = Counter32: 0
> IP-MIB::icmpOutRedirects.0 = Counter32: 0
> IP-MIB::icmpOutEchos.0 = Counter32: 0
>
> IP-MIB::icmpOutEchoReps.0 = Counter32: 1302
> IP-MIB::icmpOutTimestamps.0 = Counter32: 0
> IP-MIB::icmpOutTimestampReps.0 = Counter32: 0
> IP-MIB::icmpOutAddrMasks.0 = Counter32: 0
> IP-MIB::icmpOutAddrMaskReps.0 = Counter32: 0
>
> TCP-MIB::tcpRtoAlgorithm.0 = INTEGER: vanj(4)
> TCP-MIB::tcpRtoMin.0 = INTEGER: 2000 milliseconds
> TCP-MIB::tcpRtoMax.0 = INTEGER: 128000 milliseconds
> TCP-MIB::tcpMaxConn.0 = INTEGER: 0
> TCP-MIB::tcpActiveOpens.0 = Counter32: 0
>
> TCP-MIB::tcpPassiveOpens.0 = Counter32: 2
> TCP-MIB::tcpAttemptFails.0 = Counter32: 0
> TCP-MIB::tcpEstabResets.0 = Counter32: 2
> TCP-MIB::tcpCurrEstab.0 = Gauge32: 0
> TCP-MIB::tcpInSegs.0 = Counter32: 12
> TCP-MIB::tcpOutSegs.0 = Counter32: 7
>
> TCP-MIB::tcpRetransSegs.0 = Counter32: 0
> TCP-MIB::tcpInErrs.0 = Counter32: 0
> TCP-MIB::tcpOutRsts.0 = Counter32: 0
> UDP-MIB::udpInDatagrams.0 = Counter32: 8009
> UDP-MIB::udpNoPorts.0 = Counter32: 0
> UDP-MIB::udpInErrors.0 = Counter32: 0
>
> UDP-MIB::udpOutDatagrams.0 = Counter32: 7884
> UDP-MIB::udpLocalAddress.0.0.0.0.7 = IpAddress: 0.0.0.0 <http://0.0.0.0>
> UDP-MIB::udpLocalAddress.0.0.0.0.161 = IpAddress: 0.0.0.0 <http://0.0.0.0>
>
> UDP-MIB::udpLocalPort.0.0.0.0.7 = INTEGER: 7
> UDP-MIB::udpLocalPort.0.0.0.0.161 = INTEGER: 161
> SNMPv2-MIB::snmpInPkts.0 = Counter32: 8009
> SNMPv2-MIB::snmpOutPkts.0 = Counter32: 15763
> SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 128
>
> SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0
> SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0
> SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0
> SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0
> SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0
>
> SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0
> SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0
> SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0
> SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 7738
> SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0
>
> SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 236
> SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 7316
> SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0
> SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0
> SNMPv2-MIB::snmpInTraps.0 = Counter32: 0
>
> SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0
> SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0
> SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0
> SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0
> SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0
>
> SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0
> SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0
> SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 7905
> SNMPv2-MIB::snmpOutTraps.0 = Counter32: 1
> SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1)
>
> SNMPv2-MIB::snmpSilentDrops.0 = Counter32: 0
> SNMPv2-MIB::snmpProxyDrops.0 = Counter32: 0
> IF-MIB::ifName.255 = STRING: 1
> IF-MIB::ifInMulticastPkts.1 = Counter32: 0
> IF-MIB::ifInMulticastPkts.2 = Counter32: 0
>
> IF-MIB::ifInBroadcastPkts.1 = Counter32: 0
> IF-MIB::ifInBroadcastPkts.2 = Counter32: 0
> IF-MIB::ifOutMulticastPkts.1 = Counter32: 0
> IF-MIB::ifOutMulticastPkts.2 = Counter32: 0
> IF-MIB::ifOutBroadcastPkts.1 = Counter32: 0
>
> IF-MIB::ifOutBroadcastPkts.2 = Counter32: 0
> IF-MIB::ifHCInOctets.1 = Counter64: 1257529
> IF-MIB::ifHCInOctets.2 = Counter64: 0
> IF-MIB::ifHCInUcastPkts.1 = Counter64: 10800
> IF-MIB::ifHCInUcastPkts.2 = Counter64: 0
>
> IF-MIB::ifHCInMulticastPkts.1 = Counter64: 0
> IF-MIB::ifHCInMulticastPkts.2 = Counter64: 0
> IF-MIB::ifHCInBroadcastPkts.1 = Counter64: 0
> IF-MIB::ifHCInBroadcastPkts.2 = Counter64: 0
> IF-MIB::ifHCOutOctets.1 = Counter64: 3580402
>
> IF-MIB::ifHCOutOctets.2 = Counter64: 0
> IF-MIB::ifHCOutUcastPkts.1 = Counter64: 1436
> IF-MIB::ifHCOutUcastPkts.2 = Counter64: 0
> IF-MIB::ifHCOutMulticastPkts.1 = Counter64: 0
> IF-MIB::ifHCOutMulticastPkts.2 = Counter64: 0
>
> IF-MIB::ifHCOutBroadcastPkts.1 = Counter64: 0
> IF-MIB::ifHCOutBroadcastPkts.2 = Counter64: 0
> IF-MIB::ifLinkUpDownTrapEnable.1 = INTEGER: 0
> IF-MIB::ifLinkUpDownTrapEnable.2 = INTEGER: 0
> IF-MIB::ifHighSpeed.1 = Gauge32: 0
>
> IF-MIB::ifHighSpeed.2 = Gauge32: 0
> IF-MIB::ifPromiscuousMode.1 = INTEGER: 0
> IF-MIB::ifPromiscuousMode.2 = INTEGER: 0
> IF-MIB::ifConnectorPresent.1 = INTEGER: 0
> IF-MIB::ifConnectorPresent.2 = INTEGER: 0
> IF-MIB::ifAlias.1 = STRING: None
>
> IF-MIB::ifAlias.2 = STRING: None
> IF-MIB::ifCounterDiscontinuityTime.1 = Timeticks: (0) 0:00:00.00
> IF-MIB::ifCounterDiscontinuityTime.2 = Timeticks: (0) 0:00:00.00
> IF-MIB::ifStackStatus.1 = INTEGER: 0
> IF-MIB::ifStackStatus.2 = INTEGER: 0
>
> [root at clsv01 mrtg]#
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080318/559b486d/attachment-0001.html
More information about the mrtg
mailing list