Hello,

I am trying to setup a check with "check program" in the monit
configuration file, just as described in the Online-Manual at
http://mmonit.com/monit/documentation/monit.html#program_status_testing.

Unfortunately monit seems not to recognize the configuration directive.

When I check the modifications done to the config file with "monit -t",
I get:

"/etc/monit/monit.d/rc.newsletter_transmitter:22: Error: syntax error
'unique_descriptor'"

Of course I know that "unique_descriptor" is just the examples name, but
I guess it should work though.

The config looks like this:

check program uniq_descriptor with path "/path/to/my/script.sh"

I tried this with monit 4.10.1 from debian lenny, and with monit 5.3.1
from the precompiled downloads. Both versions don't accept my setup.

Can someone help?

Regards,
Hans Ulrich

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

Reply via email to