chriscowley / puppet-monit Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tech-angels/puppet-monit
Puppet module to manage monit
License: GNU General Public License v3.0
This project forked from tech-angels/puppet-monit
Puppet module to manage monit
License: GNU General Public License v3.0
========================= Puppet module for monit ========================= This is a puppet module for monit. It provides a simple way to install the package, run the service, and handle the configuration. It also provides a separate directory for other packages to install monit snippets. Usage ===== How to use the module --------------------- Add the following to your node manifest:: $monit_secret="something secret, something safe" $monit_alert="[email protected]" $monit_mailserver="mail.example.org" include monit This will add a host-only "/etc/monit/monitrc" configuration file, which in turn will include any file ending with ".monitrc" in the "/etc/monit/conf.d/" directory. Making passwords ---------------- The $monit_secret variable is used to construct a password for your monit instance. If you do not set a monit secret, it will use a default "secret" to make passwords. How to provide monit configuration snippets? -------------------------------------------- This module can be used by other modules and classes to monitor their services. Example:: monit::check::process{"openssh": pidfile => "/var/run/sshd.pid", start => "/etc/init.d/ssh start", stop => "/etc/init.d/ssh stop", customlines => ["if failed port 22 then restart", "if 2 restarts within 3 cycles then timeout"] } For more information, see the inline documentation in manifests/init.pp
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.