Hi, please check your Monit version (monit -V), the network monitoring was added in Monit 5.11.
Regards, Martin > On 18 Mar 2015, at 10:37, Martin van Diemen <[email protected]> > wrote: > > Hi, > > I want to monitor my network interfaces with monit. > > I've created the following basic config file: > check network eth0 with interface eth0 > if changed link then alert > > When reloading monit it would not load this config file: > /etc/monit/conf.d/network:1: Error: syntax error 'eth0' > > I've different machines (all Ubuntu 14.04 LTS) different interfaces (eth0, > eth1, lo) without any luck. > > According to the manual it should be that simple: > http://mmonit.com/monit/documentation/monit.html#NETWORK-LINK-STATUS-TEST > <http://mmonit.com/monit/documentation/monit.html#NETWORK-LINK-STATUS-TEST> > > Any thoughts? Many Thanks! > > Martin > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
