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:
Any thoughts? Many Thanks!