|
From: | Charles Pino |
Subject: | error when starting monit |
Date: | Fri, 5 Oct 2012 15:19:40 +0800 |
monit: please specify the configured service name or 'all' after start how do i fix that? --------------------------------------------------------------------------------------------- cat /etc/monitrc ############## Mail Server Setup set mailserver smtp.gmail.com port 587 username "address@hidden" password "readmylips" using tlsv1 ############## Mail Alert Format set mail-format { from: address@hidden subject: monit alert -- $EVENT $SERVICE message: $EVENT Service $SERVICE Date: $DATE Action: $ACTION Host: $HOST Description: $DESCRIPTION Sent from $HOST } ############## Alert Recipient set alert address@hidden ############## Web Server Setup set httpd port 2812 and allow admin:monit # require user 'admin' with password 'monit' allow @monit # allow users of group 'monit' to connect (rw) allow @users readonly # allow users of group 'users' to connect readonly ############## Log File Name and Location set logfile /var/log/monit.log ############## Monitoring Parameters set daemon 60 with start delay 240 check filesystem rootfs with path / if space usage > 80% then alert check process freeswitch with pidfile /usr/local/freeswitch/run/freeswitch.pid start program = "/usr/local/freeswitch/bin/freeswitch -nc" stop program = "/usr/local/freeswitch/bin/freeswitch -stop" |
[Prev in Thread] | Current Thread | [Next in Thread] |