link up/down spam

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

link up/down spam

AEI Hannover

I have a link check set up like this:

check network net with interface ixl0
        if failed link then alert
        if changed link capacity then alert

The network to this interface is not connected right now, i.e., there is
no cable plugged in. However, I still get monit alert messages all the
time changing between link-up / link-down. The link-up message (which
appears to be bogus to me) comes with a description line saying

Description: link data collection succeeded

Is this expected behaviour? It looks like monit is treating merely being
able to talk to the NIC as "up" status (which is definitely not true in
this case). This is using Monit 5.25.3 on FreeBSD 12.0 (in case that
should matter).