On Wed, May 12, 2010 at 08:05:42AM +0200, Sigurd Mytting wrote:
If I go to "IP device info" in NAV the ports Fa0/1 and Fa0/2 are missing from the figure at the bottom.
Please use the switch port report. Either find the device in the All IP Devices report, or click on the # of swports in the summary on the IP Device Info page. Are these ports missing from this report? Are any switch ports lacking a port number in the port column?
On all my 2960, 3560 and 3750 interface descriptions are missing, but it's ok on 2940 and 4500.
It sounds like getDeviceData might have gotten confused while checking SNMP OID support on your devices.
When viewing the All IP Devices report there is a column titled "snmp". This shows the number of NAV-used SNMP OIDs the device has been found to reply to. Clicking this column will take you to a report of all the OIDs supported by that device. Make sure your 2960s, 3560s and 3750s have the ifAlias oidkey listed in these reports.
Alternately, you could install this report in report.local.conf to find the specific switches that NAV thinks does not support the ifAlias oidkey:
no_portname_support { $sql = " SELECT sysname, catid FROM netbox WHERE netboxid NOT IN (SELECT netboxid FROM netboxsnmpoid JOIN snmpoid USING (snmpoidid) WHERE oidkey='ifAlias') AND catid IN ('GSW', 'SW'); "; $title = "Switches apparently without ifAlias support"; }