Hello Christoper, Russell,
thanks for the suggestions.
Yes, in general it's a handlings problem.
All the time someone use an old script to start somethings, monit doesn't
notice this.
I add some additional code to use the right commands inside the schripts now.
'restart')
if [ "$MONIT_SERVICE" = 'Manager' ]; then
$0 stop
sleep 30
$0 start
else
$HOME/monit/bin/monit restart Manager
fi
On the other hand, the scripts handle the "start" of a running appliaction well.
There is no way to start an application twice, there is a check inside the
scripts.
In general I thing, "Not monitored" is the wrong status on a "Stopped"
"Process" or "Program".
But "Not monitored" is an easy way to prevent an application to be startet
again by monit, but it's the wrong way and doesn't fit well (sometimes), sorry.
In general monit is a nice/usefull/easy tool,
regards,
Lutz
---
Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen!
https://email.freenet.de/mail/Uebersicht?epid=e9900000451
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general