[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
YUM System Administration
check program <unique-name> with path "/path/to/my/script.sh" does not work
Wed, 07 Dec 2011 15:27:48 +0100
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0
I am trying to setup a check with "check program" in the monit
configuration file, just as described in the Online-Manual at
Unfortunately monit seems not to recognize the configuration directive.
When I check the modifications done to the config file with "monit -t",
"/etc/monit/monit.d/rc.newsletter_transmitter:22: Error: syntax error
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?
- check program <unique-name> with path "/path/to/my/script.sh" does not work,
YUM System Administration <=