Check network results in a syntax error
Issue #272
resolved
Hi,
I'm using the default check network statement in my monitrc file, and when I run it I get a syntax error on the unique name.
check network public with interface eth0
I am running on linux.
Comments (5)
-
repo owner -
My check network has it's own name and I changed it to use IP address, but I'm still getting a syntax error on the name.
-
repo owner Please can you send the exact error message and your configuration file to support@mmonit.com?
Which monit version it is? ("monit -V")
-
We resolved the problem on our end. I installed monit using apt-get which installed monit-5.15 but I was using the monitrc file from a monit-5.14 tar.gz download. Using the monit-5.15 tar.gz file fixed the problem
-
repo owner - changed status to resolved
- Log in to comment
Hello,
each service in monit requires a unique descriptive name, you most probably use the same servicename ("public") for multiple services.
If you're monitoring multiple interfaces, use different names, for example: