Check network results in a syntax error in version 5.6

Issue #417 closed
Former user created an issue

It seems that this was fixed in a previous version, but I am getting errors in a newer version.

I copied the syntax from this thread: https://bitbucket.org/tildeslash/monit/issues/272/check-network-results-in-a-syntax-error

OS: Ubuntu 14.04 Monit: This is Monit version 5.6 (apt install monit tells me it's at the newest version, if there is a special repository, please advise) Conf File: check network public0 with interface eth0 check network public1 with interface eth1 check network myinterface with interface eth2

Results in: /etc/monit/conf.d/network1.conf:1: Error: syntax error 'public0'

I've tried to use eth0 as the unique label as well, but this also results in the same error (but for eth0) check network eth0 with interface eth0

Comments (1)

  1. Log in to comment