summaryrefslogtreecommitdiff
path: root/templates/irc_bot
AgeCommit message (Collapse)Author
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-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-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-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-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>