monit stops

SZÉPE Viktor <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
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
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.