[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
check program <unique-name> with path "/path/to/my/script.sh" does not w
From: |
YUM System Administration |
Subject: |
check program <unique-name> with path "/path/to/my/script.sh" does not work |
Date: |
Wed, 07 Dec 2011 15:27:48 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
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
- check program <unique-name> with path "/path/to/my/script.sh" does not work,
YUM System Administration <=