The Problem: Interface FastEthernet0/22 (op. state: down, admin state: down), MAC: 00:00:00:00:FA:KE, Speed: 10 MBit/s (expected: 1 GBit/s) [WARN]
Our Cisco Catalyst 2960 switchports report an interface speed of 10 MBit/s when they’re (administratively) down. I have mapped the statuses so that when both operational and administrative states are ‘down’, the check should be “OK”. This does work when the ports have already been down at the time of adding the switches to CMK, but if a device has been connected to it, the expected speed would be e.g. 1 GBit/s. If you then disable the port on the switch, the reported speed changes to 10M and CMK issues a warning for that. (Don’t ask me why the 2960 switches report 10M for admin disabled ports… )
I don’t know if there are use cases to warn for an unexpected speed on disabled ports – as for me, I’d be happy if the speed was generally ignored on ‘shutted’/disabled interfaces, because it cannot have an impact there, but this could also be made optional.