dependency on network?
listy <[email protected]> Wed, 15 Jul 2026 16:21:03 +0200
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Message-ID | <[email protected]> |
Hi guys. I have such units: -> $ cat IP-10-1-1-252.monit check network IP-10-1-1-252 with address 10.1.1.252 -> $ cat container.containers.mine.priv.monit check process container.containers.mine.priv with matching "^/usr/bin/conmon(.*?)-n containers.mine.priv" depends on IP-10-1-1-252 start program = "/usr/bin/podman container start containers.mine.priv" stop program = "/usr/bin/podman container stop containers.mine.priv" and states/statuses: -> $ monit status IP-10-1-1-252 Monit 5.35.2 uptime: 1d 8h 17m Network 'IP-10-1-1-252' status Link down monitoring status Monitored monitoring mode active on reboot start link 0 errors capacity 25000 Mb/s half-duplex download bytes 376.4 kB/s (0.0% link saturation) upload bytes 72.5 kB/s (0.0% link saturation) download packets 1198 per second upload packets 345 per second data collected Wed, 15 Jul 2026 16:17:31 What I'm hoping for is for 'container.containers.mine.priv' to stop/fail when "Link down" - bu that does not happen. Am I missing or doing wrong some bits - would you know? many thanks, L.