Understanding Port status rules. I have two identical switch ports with the same config. One gets marked as Warning when the port goes down and the other port gets marked as crit. Im not sure why there is a difference between the two
Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)
Im so confused. Both are physically unplugged at the switch so wouldn’t they have the same state?
I have also shutdown vlan 252 as a test. I have confirmed that the rules to ignore state and speed has not been applied. Yet the status is green OKAY how does that work? If the vlan is down why isnt it set to CRIT
No. The port status is saved when Checkmk does a first service discovery of the host.
Only when the port status changes (from up to down or from down to up) the check will show a CRIT.
Yes, but you can always do a rediscovery of the port when its operational state changes (and is intended).
Go to the service discovery page of the host and set the interface’s service to “undecided” (blue question mark), do a rescan (necessary for SNMP devices) and set the service back to “monitored” (green plus sign).