Is there anywhere to record a port’s desired speed? For example, if I have a 1G port that’s negotiating at 100Mbps I’d want that highlighted? Ideally when a device is first added via SNMP then the desired speed would be set then unless overwritten by operator.
Similar to high and low thresholds for other sensors.
No, I don’t mean for a port that has its speed manually set.
Yes, I understand the SMTP will report the port is 100Mbps. What I’d like is a threshold to alert me that the port is not doing 1Gbps like it should.
This would be a pretty common thing to monitor so I’m wondering if I’m missing something obvious with how I’m using LibreNMS?
The only way I can think of doing it is to put ports into groups depending on their desired (non faulty) speed and create rules based on that but it seems a hack?
You might think it’s a common thing but how is LibreNMS supposed to know this port should be 1Gb when it’s being told it’s 100Mb?
Anyway, a way around that would be for you to use Interface Description Parsing - LibreNMS Docs, configure the port type and speed there then you can access that info in your rules under ports.port_descr_speed and ports.port_descr_type