Re: monit stops

"[email protected]" <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello,

this problem was fixed already: https://bitbucket.org/tildeslash/monit/issues/501/monit-519-520-crashes-while-check-program <https://bitbucket.org/tildeslash/monit/issues/501/monit-519-520-crashes-while-check-program>

Best regards,
Martin


> On 10 Dec 2017, at 15:11, SZÉPE Viktor <[email protected]> wrote:
> 
> Good afternoon!
> 
> [UTC Dec 10 13:45:49] info     : 'rngd' restart on user request
> [UTC Dec 10 13:45:49] info     : Monit daemon with PID 26411 awakened
> [UTC Dec 10 13:45:49] info     : 'rngd' trying to restart
> [UTC Dec 10 13:45:49] info     : 'rngd' stop: '/etc/init.d/rng-tools stop'
> [UTC Dec 10 13:45:49] critical : AssertException: P
> raised in Process_exitStatus at src/system/Command.c:293
> 
> I issued monit restart rngd
> This is the config:
> 
> check process "rngd" with pidfile "/run/rngd.pid"
>   group "system"
>   group "rngd"
>   start program = "/etc/init.d/rng-tools start"
>   stop program = "/etc/init.d/rng-tools stop"
>   if 5 restarts with 5 cycles then unmonitor
>   depends on rngd_bin
>   depends on rngd_test
>   depends on rngd_rc
>   depends on rngd_init
> 
> check file "rngd_bin" with path "/usr/sbin/rngd"
>   group "rngd"
>   include "/etc/monit/templates/rootbin"
> 
> check program "rngd_test" with path "/usr/local/sbin/rng-tools-test.sh" with timeout 10 seconds every 33 cycles
>   group "rngd"
>   if status != 0 then alert
> 
> check file "rngd_rc" with path "/etc/default/rng-tools"
>   group "rngd"
>   include "/etc/monit/templates/rootrc"
> 
> check file "rngd_init" with path "/etc/init.d/rng-tools"
>   group "rngd"
>   include "/etc/monit/templates/rootbin"
> 
> 
> v5.20.0
> Please advise.
> 
> 
> SZÉPE Viktor, honlap üzemeltetés
> https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
> -- 
> +36-20-4242498  [email protected]  skype: szepe.viktor
> Budapest, III. kerület
> 
> 
> 
> 
> 
> -- 
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
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.