[mrtg] Can not determine ifNumber and duplicate entries of IP-Ifindex at the .ok files

Marinos Chondrogiannoglou mchon at otenet.gr
Mon Jan 31 13:12:04 CET 2011


Hello all,

I'm running mrtg and monitoring various cisco routers. Lately I noticed
in some of them empty graphs on many of their interfaces. After
searching the logs I noticed errors like the following

$mrtg router.cfg
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.126.37.1'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.83.235.253'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.126.141.1'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.135.0.13'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.135.2.77'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '172.17.3.117'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.126.71.1'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.126.64.1'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.224.129.29'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.248.11.9'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.195.9.9'
2011-01-31 13:24:01: WARNING: Can not determine ifNumber for
public at router:::2::1   ref: 'Ip'       key: '10.248.10.249'

The problem is not platform specific because it is noticed in routers
like CRS-16/S, 7206VXR, 3845,C10008 etc on various IOS releases. The
router is returning the right things at the snmp quiries so there is no
problem with the snmp engines


IP-MIB::ipAdEntIfIndex.10.83.235.253 = INTEGER: 264
IP-MIB::ipAdEntIfIndex.10.126.37.1 = INTEGER: 200
IP-MIB::ipAdEntIfIndex.10.126.64.1 = INTEGER: 207
IP-MIB::ipAdEntIfIndex.10.126.71.1 = INTEGER: 190
IP-MIB::ipAdEntIfIndex.10.126.141.1 = INTEGER: 182
IP-MIB::ipAdEntIfIndex.10.135.0.13 = INTEGER: 78
IP-MIB::ipAdEntIfIndex.10.195.9.9 = INTEGER: 258
IP-MIB::ipAdEntIfIndex.10.224.129.29 = INTEGER: 87
IP-MIB::ipAdEntIfIndex.10.248.10.249 = INTEGER: 229
IP-MIB::ipAdEntIfIndex.10.248.11.9 = INTEGER: 239
IP-MIB::ipAdEntIfIndex.172.17.3.117 = INTEGER: 146


IF-MIB::ifDescr.78 = STRING: Multilink1
IF-MIB::ifDescr.87 = STRING: Serial6/0.1/1/3/1:0
IF-MIB::ifDescr.146 = STRING: Serial1/2:17
IF-MIB::ifDescr.178 = STRING: E1 5/4
IF-MIB::ifDescr.182 = STRING: Serial6/0.1/3/6/2:4
IF-MIB::ifDescr.187 = STRING: Serial6/0.1/3/5/3:7
IF-MIB::ifDescr.190 = STRING: Serial6/0.1/3/6/1:8
IF-MIB::ifDescr.200 = STRING: Serial6/0.1/3/5/3:2
IF-MIB::ifDescr.207 = STRING: Serial6/0.1/3/6/1:2
IF-MIB::ifDescr.229 = STRING: Multilink12
IF-MIB::ifDescr.239 = STRING: Multilink17
IF-MIB::ifDescr.258 = STRING: Serial3/7:1
IF-MIB::ifDescr.264 = STRING: Serial6/0.1/1/1/2:25
IF-MIB::ifDescr.278 = STRING: Serial6/0.1/3/5/3:17


After searching I noticed that in the router.ok files there were
duplicate entries about the ip-ifindex matching and the in the first set
there is no ifindex number. When I delete the .ok file the graphs start
again but after some time the problem starts again.

This is the duplicate entries from the router.ok file

public at router__1    Ip      10.126.141.1
public at router__1    Ip      10.126.37.1
public at router__1    Ip      10.126.64.1
public at router__1    Ip      10.126.71.1
public at router__1    Ip      10.135.0.13
public at router__1    Ip      10.195.9.9
public at router__1    Ip      10.224.129.29
public at router__1    Ip      10.248.10.249
public at router__1    Ip      10.248.11.9
public at router__1    Ip      10.83.235.253
public at router__1    Ip      172.17.3.117
public at router__2    Ip      10.126.141.1    182
public at router__2    Ip      10.126.37.1     200
public at router__2    Ip      10.126.64.1     207
public at router__2    Ip      10.126.71.1     190
public at router__2    Ip      10.135.0.13     78
public at router__2    Ip      10.195.9.9      258
public at router__2    Ip      10.224.129.29   87
public at router__2    Ip      10.248.10.249   229
public at router__2    Ip      10.248.11.9     239
public at router__2    Ip      10.83.235.253   264
public at router__2    Ip      172.17.3.117    146


Any Ideas about this??

Thanks in advance,
Marinos




-- 
**************************
Marinos Chondrogiannoglou
Network Management Center
OTE S.A.
99 Kifisias Av. Marousi
GR-151 24 Athens, HELLAS
PGP Key ID: 0x2EEFC190
**************************



More information about the mrtg mailing list