monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit won't monitor my program


From: Javier Viola
Subject: Re: Monit won't monitor my program
Date: Wed, 17 Sep 2014 16:42:17 -0300

Hi, you can try this config

check process simpleHelp matching "shelp.proxy.ProxyServerStartup
     alert <address@hidden>
     start program = "/etc/init.d/simplehelp start"
     stop program = "/etc/init.d/simplehelp stop"

assuming that your process always containst this string shelp.proxy.ProxyServerStartup

Thanks!

2014-09-17 15:40 GMT-03:00 chinaboy <address@hidden>:
After using monit procmatch, below is what I got. Not sure where to go from
here.

./jre1.6.0_16/bin/java -Xmx384m -Djava.net.preferIPv4Stack=true -cp
lib/secure_shelp.jar:lib/secure_utils.jar:lib/secure_nlink.jar:lib/mail.jar:lib/activation.jar
-Djava.awt.headless=true SecureRunner1
com.aem.shelp.proxy.ProxyServerStartup

Thanks



--
View this message in context: http://nongnu.13855.n7.nabble.com/Monit-won-t-monitor-my-program-tp189931p189941.html
Sent from the monit-general mailing list archive at Nabble.com.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]