summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
2016-03-01Merge remote-tracking branch 'shared/master' into leap_mastervarac
2016-01-31nrpe: parametrize dont_blame_nrpeGabriel Filion
This value is used in order to enable or disable arguments to nrpe commands. Since some ppl might need to enable it, we should parametrize it.
2016-01-31parametrize nagios::nrpeGabriel Filion
the current code for configuring NRPE is still relying on global variables. This is not working at all with puppet 3.x and forward, so in order to make this code functional, we need to parametrize values that are used.
2015-12-05Fix allowed_hosts typo in templates/nrpe/nrpe.cfgnadir
2015-04-19added templates/nrpe/nrpe_command.erbnadir
commit:7fb80fbe uses nagios::nrpe::command { "check_load": ...}, but the template for it is missing. amended by LeLutin: use @ prefix on variables in template
2013-01-24remove stray % that arrived in this file through a merge conflictMicah Anderson
2013-01-24fix merge conflict mess-upMicah Anderson
2013-01-24Revert "naming PID and SOCKFILE absent broke things"varac
This reverts commit 02d2ca2df868262728c67c13d5dbf484c001d380.
2013-01-24naming PID and SOCKFILE absent broke thingskwadronaut
2013-01-23remove extra %Micah Anderson
2013-01-23Merge remote-tracking branch 'shared/master'Micah Anderson
Conflicts: README manifests/irc_bot.pp manifests/irc_bot/base.pp templates/irc_bot/nsa.cfg.erb
2013-01-23minor template formatting fix that seemed to have gone missing in a conflict ↵Micah Anderson
merge
2013-01-02Merge remote-tracking branch 'shared/master'mh
Conflicts: README manifests/service.pp
2013-01-02Merge remote-tracking branch 'riseup/master' into HEADmh
Conflicts: manifests/apache.pp manifests/base.pp manifests/defaults/templates.pp manifests/defaults/vars.pp manifests/init.pp manifests/irc_bot.pp manifests/nsca/client.pp manifests/nsca/server.pp manifests/service.pp manifests/service/mysql.pp templates/irc_bot/nsa.cfg.erb
2012-11-22added templates/nrpe/nrpe_command.erbnadir
2012-09-25fix variable names that weren't properly pulled in on mergeMicah Anderson
2012-09-25remove unnecessary % that came from immerda's branch, with it the following ↵Micah Anderson
errors are caused: Operator or semicolon missing before %Nsa at /etc/nagios_nsa.cfg line 1. Ambiguous use of % resolved as operator % at /etc/nagios_nsa.cfg line 1. ERROR: Failure compiling '/etc/nagios_nsa.cfg' - syntax error at /etc/nagios_nsa.cfg line 1, near "%%Nsa "
2012-09-20Merge remote-tracking branch 'riseup/irc_bot_enhancements'Gabriel Filion
2012-09-19Merge branch 'immerda'Leap devs
Conflicts: manifests/apache.pp manifests/irc_bot.pp manifests/service/mysql.pp templates/irc_bot/nsa.cfg.erb Conflict resolutions: apache.pp: just cosmetics mysql.pp: The shared modules provides more variables to fine tune the mysql health check so we went for this version. The irc bot conflicts were a result of immerda's branch not being up-to-date with the shared branch. The shared branch had factored out the irc_bot.pp into a directory, and added a few additional variables. Immerda changed the variables from having the prefix $nagios_ to not having it and did not have that refactor. The variable renames were good ones for the 2.7 refactoring work, and future hiera integration, so we want those. So to resolve this, we took the shared version of the refactor, and then took the immerda version of the variable renames. This requires an UPGRADE NOTICE in the README as people may have been using the previous variable names.
2012-06-06fix templatemh
2012-06-05new style for 2.7mh
2012-04-10Fix NRPE for FreeBSDGabriel Filion
Plugins are found under another directory. The pid file must be changed to /var/spool/nagios/nrpe2.pid, since this place is writable by the daemon, and the rc script expects the pid file to be found there. Use a pattern instead of the rc script status command.
2012-04-10nrpe.cfg: enable setting server_addressGabriel Filion
By default, nrpe listens on every interfaces on the server. This is undesirable on Linux VServer hosts, since it will conflict with vservers. With a new variable, $nagios_nrpe_server_address, it is now possible to set the ip address on which the nrpe server will listen.
2012-04-09Basic NRPE Supportnadir
amended (lelutin): removed trailing spaces and commented out code.
2012-03-13add commandfile path to configurationAntoine Beaupre
Conflicts: templates/irc_bot/nsa.cfg.erb
2011-07-14Merge remote-tracking branch 'remotes/lelutin/bot_fixes'Micah Anderson
Conflicts: manifests/irc_bot.pp Had to merge in the use_notices change that we had in our branch
2011-07-14IRC-bot: fix LSB dependencies in Debian init scriptGabriel Filion
A misconception on my part made the dependencies "not-quite-right" (as in: the script doesn't really depend on nagios, as we would expect). This gives the IRC bot the save "level" as nagios itself. However, we'd like for nagios to be started before we start the IRC bot.
2011-07-14IRC-bot: cleanup socket file on startupGabriel Filion
It may sometimes happen that the bot dies or gets killed and the socket file is not cleaned up. When using the init script with 'start', as puppet does, the socket file blocks the bot from starting.
2011-04-28fix the usenotices template variableMicah Anderson
2011-04-28add configuration variable to irc bot to enable IRC notice type messages ↵Micah Anderson
which can be turned on by the puppet variable $nagios_nsa_usenotices
2011-02-07fix pid/socket location for centos, open firewall if we want to connect to ↵mh
an irc server
2011-02-06centosify irc_botmh
2011-01-26irc bot: Adjust arguments to start-stop-daemonGabriel Filion
The start method lacks a parameter that sets the daemon with the right uid: --chuid The stop method does not error out when trying to stop a daemon that does not run. Now the daemon should behave better.
2010-12-21Add nagios IRC botGabriel Filion
Koumbit is using an IRC bot that Micah provided. It is a pair of perl scripts that send Nagios notifications as messages in an IRC channel. Add a class to make installing this IRC bot easy. It also defines commands 'notify-by-irc' and 'host-notify-by-irc' that can be used with checks to send notifications via the bot. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2008-04-25release new nagios stuff, should be much more modular now and using native ↵mh
types by puppet
2008-04-12further changes ... still unfinishedandreas
2008-04-11erster wurf (nicht mehr ganz orig von git.black.co.at)andreas