summaryrefslogtreecommitdiff
path: root/manifests/irc_bot.pp
AgeCommit message (Collapse)Author
2013-01-03merge artifact left in one manifestGabriel Filion
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
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-06-14take hiera out of the paramsmh
2012-06-05new style for 2.7mh
2012-04-18Fully qualify facter variables to suppress warningsChristian G. Warden
merge conflict due to immerda's branch not being up-to-date on the bot
2012-02-01Fully qualify facter variables to suppress warningsChristian G. Warden
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: split up manifests by OSGabriel Filion
This gives us the possibility of using the nagios::irc_bot::disable class without having any config variable set. When using nagios::irc_bot, we still get yelled at when we didn't define the appropriate variables. While we're moving the code around, change the group applied on the different files from 'root' to '0' for better portability.
2011-07-14IRC-bot: use 'enable' for DebianGabriel Filion
Since the service "disable" bug was fixed in the debian service provider [1] in the puppet 2.6.2-5 package in squeeze, let's switch from the manual calls to the "enable" feature. [1]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573551 Also add a requirement between service[nagios-nsa] and file[/etc/init.d/nagios-nsa]. This was ensured in Debian with the exec that we're now replacing but didn't find its way through the centosification.
2011-07-14Add a dependency between the IRC bot config and serviceGabriel Filion
When we modify the config file, we'd like for the service to restart in order for it to use the new configuration.
2011-07-14Change IRC notifications to #/#maxGabriel Filion
To give a little more info/meaning on what the number $SERVICEATTEMPT$ is, change the current notification from "... n.$SERVICEATTEMPT$" to "... $SERVICEATTEMPT$/$MAXSERVICEATTEMPTS$".
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-04-28fix formatting to be standardMicah Anderson
2011-02-07fix namingmh
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
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>