Thanks, I've just installed the binary release which works great.
I do have a virtual interfaces namede eth0:0. Monit would not recognise the interface when reloading monit: /etc/monit/conf.d/network:7: syntax error ':' When using quotes monit starts but monit.log shows: [CET Mar 18 13:04:32] error : 'eth0:0' link data gathering failed -- Cannot read /sys/class/net/eth0:0/operstate -- No such file or directory Does monit support virtual interfaces? Martin On Wed, Mar 18, 2015 at 1:09 PM, Martin Pala <[email protected]> wrote: > We're sorry we provide only source code release and binary releases as > tar.gz archive, but no deb/rpm packages ... the Debian package maintainers > are very pro-active and keep the Monit package updated, you can try to > rebuild it for Ubuntu: https://packages.debian.org/sid/monit > > Best regards, > Martin > > > > On 18 Mar 2015, at 11:18, Martin van Diemen <[email protected]> > wrote: > > Thanks Martin, > > $ monit -V > This is Monit version 5.6 > > Do you know a repository with a recent version? Thanks. > > Groeten, > > Martin > > On Wed, Mar 18, 2015 at 11:04 AM, Martin Pala <[email protected]> > wrote: > >> 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 >> >> 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 >> > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general > > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general >
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
