MonitRC Configuration File for OpenSER in ComtelPBX

    1. Global section
    2. Start monit in background (run as daemon) and check the services at 2-minute
    3. intervals.
set daemon 120
    1. Set syslog logging with the 'daemon' facility. If the FACILITY option is
    2. omited, monit will use 'user' facility by default. You can specify the
    3. path to the file for monit native logging.
set logfile syslog facility log_daemon
    1. Monit has an embedded webserver, which can be used to view the
    2. configuration, actual services parameters or manage the services using the
    3. web interface.
set httpd port 2812 and use the address
    1. Services
check process openser with pidfile /var/run/
group openser
start program = "/etc/init.d/openser openserstart"
stop program = "/etc/init.d/openser openserstop"
if 2 restarts within 3 cycles then timeout

Created by: mglucksmann, Last modification: Wed 12 of Mar, 2008 (20:54 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+