link up/down spam

Gerrit Kühn <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello,

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).


cu
  Gerrit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.