"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/monit.pod" between
monit-5.25.3.tar.gz and monit-5.26.0.tar.gz

About: Monit is a utility for managing and monitoring processes, files, directories and filesystems (with automatic error recovery).

monit.pod  (monit-5.25.3):monit.pod  (monit-5.26.0)
skipping to change at line 510 skipping to change at line 510
will just run through the service checks once and then exit. This will just run through the service checks once and then exit. This
might be useful in some situations, but Monit is primarily designed might be useful in some situations, but Monit is primarily designed
to run as a daemon process. to run as a daemon process.
Calling C<monit> with a Monit daemon running in the background sends Calling C<monit> with a Monit daemon running in the background sends
a wake-up signal to the daemon, forcing it to check services a wake-up signal to the daemon, forcing it to check services
immediately. Calling C<monit> with the quit argument will kill a immediately. Calling C<monit> with the quit argument will kill a
running Monit daemon process instead of waking it up. running Monit daemon process instead of waking it up.
The start delay option can be used to wait (once) before Monit starts The start delay option can be used to wait (once) before Monit starts
checking services. This can be useful for example when the system checking services after system reboot. Monit will by default start
boots. Monit will by default start checking services immediately at checking services immediately at startup.
startup.
=head1 INIT SUPPORT =head1 INIT SUPPORT
The C<set init> statement prevents Monit from transforming itself into The C<set init> statement prevents Monit from transforming itself into
a daemon process. Instead Monit will run as a foreground process. (You a daemon process. Instead Monit will run as a foreground process. (You
should still use C<set daemon> to specify the poll cycle). should still use C<set daemon> to specify the poll cycle).
This is required to run Monit from init. Using init to start Monit is This is required to run Monit from init. Using init to start Monit is
probably the best way to run Monit if you want to be certain that you probably the best way to run Monit if you want to be certain that you
always have a running Monit daemon on your system. Another option is to always have a running Monit daemon on your system. Another option is to
skipping to change at line 1926 skipping to change at line 1925
I<value> is either an integer or a real number. I<value> is either an integer or a real number.
I<action> is a choice of "ALERT", "RESTART", "START", "STOP", I<action> is a choice of "ALERT", "RESTART", "START", "STOP",
"EXEC" or "UNMONITOR". "EXEC" or "UNMONITOR".
I<resource> set depends on the service type: I<resource> set depends on the service type:
=head3 System resource tests =head3 System resource tests
I<LOADAVG([1min|5min|15min])> refers to the system's load average. I<LOADAVG([1min|5min|15min]) [PER CORE]> refers to the system's load average.
The load average is the number of processes in the system run The load average is the number of processes in the system run
queue, averaged over the specified time period. Example: queue per CPU core, averaged over the specified time period. Example:
if loadavg (1min) > 90 for 15 cycles then alert if loadavg (1min) per core > 2 for 15 cycles then alert
if loadavg (5min) > 80 for 10 cycles then alert if loadavg (5min) per core > 1.5 for 10 cycles then alert
if loadavg (15min) > 70 for 8 cycles then alert if loadavg (15min) per core > 1 for 8 cycles then alert
If you'll omit the I<per core> option, the test will check the total load averag
e
regardless of CPU cores count.
I<CPU([user|system|wait])> is the percent of time the system spend I<CPU([user|system|wait])> is the percent of time the system spend
in user or kernel space and I/O. The user/system/wait modifier is in user or kernel space and I/O. The user/system/wait modifier is
optional, if not used, the total system cpu usage is tested. Example: optional, if not used, the total system cpu usage is tested. Example:
if cpu usage > 95% for 10 cycles then alert if cpu usage > 95% for 10 cycles then alert
I<MEMORY> is the system memory usage [%] or absolute value [B, kB, I<MEMORY> is the system memory usage [%] or absolute value [B, kB,
MB, GB]. Example: MB, GB]. Example:
skipping to change at line 3142 skipping to change at line 3144
I<HTTP> I<HTTP>
I<HTTPS> I<HTTPS>
I<IMAP> I<IMAP>
I<IMAPS> I<IMAPS>
I<CLAMAV> I<CLAMAV>
I<LDAP2> I<LDAP2>
I<LDAP3> I<LDAP3>
I<LMTP> I<LMTP>
I<MEMCACHE> I<MEMCACHE>
I<MONGODB> I<MONGODB>
I<MQTT>
I<MYSQL> I<MYSQL>
I<NNTP> I<NNTP>
I<NTP3> I<NTP3>
I<PGSQL> I<PGSQL>
I<POP> I<POP>
I<POPS> I<POPS>
I<POSTFIX-POLICY> I<POSTFIX-POLICY>
I<RADIUS> I<RADIUS>
I<RDATE> I<RDATE>
I<REDIS> I<REDIS>
skipping to change at line 3397 skipping to change at line 3400
must connect them together using the OR keyword. must connect them together using the OR keyword.
Example: Example:
if failed port 80 protocol apache-status if failed port 80 protocol apache-status
loglimit > 10% or loglimit > 10% or
dnslimit > 50% or dnslimit > 50% or
waitlimit < 20% waitlimit < 20%
then alert then alert
=head4 MQTT
Syntax:
PROTOCOL MQTT [USERNAME string PASSWORD string]
I<USERNAME> MQTT username
I<PASSWORD> MQTT password
Username and password (credentials) are B<optional>.
Example:
check process mosquitto with pidfile /var/run/mosquitto.pid
start program = "/sbin/start mosquitto"
stop program = "/sbin/stop mosquitto"
if failed port 1883 protocol mqtt then alert
=head4 MYSQL =head4 MYSQL
Syntax: Syntax:
PROTOCOL MYSQL [USERNAME string PASSWORD string] PROTOCOL MYSQL [USERNAME string PASSWORD string]
I<USERNAME> MySQL username (maximum 16 characters). I<USERNAME> MySQL username (maximum 16 characters).
I<PASSWORD> MySQL password (special characters can be used, but for non-alphanum erics I<PASSWORD> MySQL password (special characters can be used, but for non-alphanum erics
the password has to be quoted). the password has to be quoted).
 End of changes. 6 change blocks. 
8 lines changed or deleted 31 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)