Monit configuration files for funcd and certmaster

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

 



Here are a couple of configuration files for setting up funcd and certmaster to be monitored by Monit (http://mmonit.com/).  In a nutshell, Monit will restart either process should it become non-responsive.  This is especially useful in the case of funcd-- if you attempt to restart a remote minion it will not restart as expected (it will only shutdown and not come back).  Typically, you will place each file into /etc/monit.d and then run "/etc/init.d/monit reload"


--> paste the following into  /etc/monit.d/funcd:


#   Funcd: (Fedora Unified Network Controller)
#   ------------------------

check process funcd with pidfile /var/run/funcd.pid
    start program = "/etc/init.d/funcd start"
    stop  program = "/etc/init.d/funcd stop"
    if failed host 127.0.0.1 port 51234 type tcp then restart
    if 5 restarts within 5 cycles then timeout



--> paste the following into /etc/monit.d/certmaster:

check process certmaster with pidfile /var/run/certmaster.pid
    start program = "/etc/init.d/certmaster start"
    stop  program = "/etc/init.d/certmaster stop"
    if failed host 127.0.0.1 port 51235 type tcp then restart
    if 5 restarts within 5 cycles then timeout


Monit has many additional capabilities.  You will of course need to configure Monit (typically /etc/monitrc or /etc/monit.conf) if you are just now installing Monit. 

Phil

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux