Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
That purging resources work correctly, the config files must be at
the location that the nagios providers have internally, which is
at /etc/nagios/<name>.cfg
To ease the config file we used the cfg_dir option so far, which we
can't anymore and hence this change requires adoption of your site
modules. But auto-purging resources will then finally work.
|
|
the basic path for nagiosstats is wrong/hardcoded.
that binary comes in with the nagios3 package in Debian. set the default
value to the right path under Debian and make it possible to override
the path with an environment variable.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
The "check_load" nagios check should not be hardcoded to some arbitrary
value. The thresholds should rather be adjusted in function of how many
CPUs are present in the server.
The factors were chosen by prior experience but could be adjusted if
needed.
Factors for warning thresholds (where N is the nb of cpus):
* 1min : 5 * N
* 5mins : 4 * N
* 15mins : 3 * N
Factors for critical thresholds:
* 1min : 10 * N
* 5mins : 9 * N
* 15mins : 8 * N
|
|
amended (lelutin): removed trailing spaces and commented out code.
|
|
The default nsca.cfg is currently using the "non-normal" port for nsca.
Let's import a freshly installed nsca.cfg file with default values.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
templates/irc_bot/nsa.cfg.erb
|
|
|
|
|
|
The current code tries to get the content of those two files in a bunch
of places and defines a fallback to a generic file in the module's
files/configs directory.
The problem is that there is no such generic config file present.
Link to Debian's config files as a generic version of those
configuration files.
This bug was found by taggart.
|
|
|
|
|
|
which can be turned on by the puppet variable $nagios_nsa_usenotices
|
|
Conflicts:
manifests/defaults/commands.pp
|
|
We have a serious problem with the concept that we had up to now if
you start adding more than one nagios server. This is an attempt to
fix it, with certain drawbacks, such as that you have to list all
the nagios plugins in the nagios modules. This will be subject of
further discussion.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. fixed a division by zero bug in index-usage (Thanks Wiltmut Gerdes)
. fixed a severe bug when loading dynamic extensions (Thanks Ralph Schneider)
. added mode table-fragmentation
. fixed a bug in table-lock-contention (thanks mayukmok00)
. mode sql can now have a non-numerical output which is compared to a string/regexp
. new parameter –dbthresholds
. new mode report can be used to output only the bad news (short,long,html)
. added modes threads-created, threads-running, threads-cached
. added connects-aborted, clients-aborted
|
|
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>
|
|
Currently, the nagios module purges all files under the Nagios
configuration directory. This has the unwanted effect of removing files
that are added by default by the .deb packages, thus making the Nagios
interface non functional under apache.
To fix the situation, make nagios::apache under Debian manage the apache
config file and link to it in apache's conf.d directory, in the same
manner as the Debian packages do.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
|
|
check_dns had some problems with down nameservers. This one properly
checks the right nameserver.
|
|
. add an additional nagios::defaults::plugins class that is included in the nagios::defaults, this can be used to install other nagios plugins that aren't distributed in the nagios-plugins package
. use the nagios::defaults::plugins to setup the check_mysql_health plugin
. add a check_mysql_health command to defaults/commands.pp in the section for commands for services defined by other modules
. change the nagios::service::mysql to use the more advanced check_mysql_health plugin, instead of the basic check_mysql plugin
|
|
|
|
|
|
|
|
|
|
|
|
|