Hello, I'm relatively new to monit. I have it setup to monitor a cellular pppd process and reset the cell module's USB port by calling a bash script if the process is not running. I have found that in some cases resetting the USB port still does not resolve my issue and a full reboot is required. Is it possible for monit to run a different script if X consecutive failures occur? I could write bash scripts around monit, so that monit increments a number in a file and then have a separate bash script check the file regularly and force a reboot if the number climbs too high, but this felt kludgey, and was wondering if monit supported this itself.
thanks in advance for your help, Brent -- View this message in context: http://nongnu.13855.n7.nabble.com/can-monit-act-differently-after-X-failed-attempts-tp196502.html Sent from the monit-general mailing list archive at Nabble.com. -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
