depend on iface/IP ?

lejeczek via This is the general mailing list for monit <[email protected]> Thu, 19 Feb 2026 09:22:51 +0100
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------lMvaIuP8br1b4xXgeQFYZgC6
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi guys.

How to make a unit depend on a iface/IP?
I'm trying:

check network gateway-iface with address 10.1.1.254

what I'd like to have is dependee to fail if the given iface 
has not specified IP.

many thanks, L.
--------------lMvaIuP8br1b4xXgeQFYZgC6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font size="2" face="Courier 10 Pitch">Hi guys.<br>
      <br>
      How to make a unit depend on a iface/IP?<br>
      I'm trying:<br>
      <br>
      check network gateway-iface with address 10.1.1.254<br>
      <br>
      what I'd like to have is dependee to fail if the given iface has
      not specified IP.<br>
      <br>
      many thanks, L.</font>
  </body>
</html>

--------------lMvaIuP8br1b4xXgeQFYZgC6--