![]() Add support for MATCHING in services (when no PID available) #4.Systemd file paths differs on Debian and Redhat/Centos #7 ( NITEMAN) Systemd file paths differs on Debian and Redhat/Centos (regresion introduced in 4ff388c) #6.Support hiera_hash for custom checks #8 ( himpich).Made monit's PROGRAM STATUS TESTING work, made ACTION EXEC work, made exec path accept parameters. ![]() fix 'http headers' param in test-validation #13 ( ThomasLohner).Make monit auto-start on Debian Squeeze, as it does not do so by default when installed #15 ( thatgraemeguy).missing space for tests before UNIXSOCKET #18 ( gytisgreitai).Fixed the host check having an OR-check when it should be an AND-check #24 ( aepgit).Add example for Centos 7 #27 ( nvtkaszpir).Puppet 4 and puppetserver setup > add puppetlabs-concat to fix this dependency issue #12.monit won't start on Debian Squeeze #14.Added FreeBSD support #38 ( jurgenweber).Add support for EXIST check #39 ( NITEMAN).permissions of monitrc on Debian 9.1 - monit 1:5.20.0-6 #28.Check all filesystems by default (not only /) #41.Covert to pdk and improve module score #45 ( jonhattan).Covert to pdk and improve module score #43.Exclude nsfs and overlay filesystem types #44.EXEC action: add support for UID, GID and REPEAT EVERY N CYCLES #49 ( jonhattan).idfile and statefile are set to undef on RedHat systems #46.exec action param becomes uppercase #47.Add support for EXEC action extra options #48.Allow to remove (ensure=absent) system checks #53.Use type aliases to improve code legibility #52.Please log issues for any bug report, feature or support request. This module requires Puppet 4.x, and is compatible with the following OSes/versions:įor Puppet 3 or older versions of Debian, please use 1.x.x releases. See Puppet Strings doc at doc/index.html Limitations Please refer to manifests/*/external/monit.pp RedHat families in sbitio/ducktape module. There's a bunch of examples for configuring real services across Debian and # uid, git and repeat_every are optional. Operator : '!=' value : 0 tolerance : cycles : 2 action : exec Status : 200 http headers : '[host: action : restartĬonfig : path : /path/to/custom/pingcheck.sh # Notice: Param 'HOSTHEADER' changed to 'HTTP HEADERS' in monit 5.9 # see http_headers : type : host Operator : '>' value : 150 httpd : type : serviceĬonfig : pidfile : /var/run/httpd/httpd.pid Protocol_test : request : /health.varnish Program_start : /etc/init.d/varnish start Program_stop : /etc/init.d/php5 -fpm stop Program_start : /etc/init.d/php5 -fpm start monit::checks : somefs : type : filesystemĬonfig : pidfile : /var/run/php5 -fpm.pid To pass in parameters and override default configuration: class ' monit::httpserver : true monit::httpserver_allow : - 'admin:secret' # Tweak system check. ![]() It will configure the basis of monit, with HTTP server listening at localhost:2812 and a system check for LOADAVG, CPU, MEMORY and FILESYSTEM at /. Include '::monit' is enough to get you up and running. It is a set of primitives to check a service's init script, binary and process. In adition to primitive types, a compound check type is provided: service. Namely: directory, fifo,įile, filesystem, host, process, program, and system. Performs installation and configuration of Monit service, along with fineĪll check types provided by Monit are supported.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |