Re: Monit and VPNC

SZÉPE Viktor <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Idézem/Quoting Patrick Baldwin <[email protected]>:

> And this is how I'm invoking it from my /etc/monitrc:
>
> check process vpnc with pidfile /var/run/vpnc.pid
>
>        start = "/home/myers/vpnc-wrapper"
>
>        stop = "/home/myers/vpnc-wrapper"
>
>
> Anyone have any thoughts for where I might be going wrong here?

BTW the words "stop" and "start" are missing from Monit config.

check process vpnc with pidfile /var/run/vpnc.pid
        start program = "/home/myers/vpnc-wrapper start"
        stop program = "/home/myers/vpnc-wrapper stop"

See https://mmonit.com/monit/documentation/monit.html#SERVICE-METHODS



SZÉPE Viktor, webes alkalmazás üzemeltetés / Running your application
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
~~~
ügyelet/hotline: +36-20-4242498  [email protected]  skype: szepe.viktor
Budapest, III. kerület
smime.p7s (application/pkcs7-signature, 5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.