Age | Commit message (Collapse) | Author |
|
|
|
Conflicts:
README
manifests/irc_bot.pp
manifests/irc_bot/base.pp
templates/irc_bot/nsa.cfg.erb
|
|
Conflicts:
README
manifests/service.pp
|
|
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
|
|
|
|
|
|
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 "
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
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.
|
|
amended (lelutin): removed trailing spaces and commented out code.
|
|
Conflicts:
templates/irc_bot/nsa.cfg.erb
|
|
Conflicts:
manifests/irc_bot.pp
Had to merge in the use_notices change that we had in our branch
|
|
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.
|
|
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.
|
|
|
|
which can be turned on by the puppet variable $nagios_nsa_usenotices
|
|
an irc server
|
|
|
|
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.
|
|
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>
|
|
types by puppet
|
|
|
|
|