Hello,
be carefull that 'match' is regular expression, some characters like ': ()' are special ones.

I guess you can match only "NETDEV WATCHDOG.*" or "NETDEV WATCHDOG. eth0.*"
(A dot replace any character or may be you can escape  by  \: )


check file syslog.log with path /var/log/syslog.log
if match "NETDEV WATCHDOG: eth0 (e1000e): transmit queue 0 timed out" then exec "/sbin/init 6"


--


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to