Age | Commit message (Collapse) | Author |
|
|
|
|
|
This plugin is already defined at nagios-plugins, so removing it
for the same reason as e7f85f647e6f641bd85fbdfdb26982350f782370.
This commit has more readable implementation than the previous.
|
|
This plugin is already defined at nagios-plugins, so removing it
for the same reason as e7f85f647e6f641bd85fbdfdb26982350f782370.
|
|
The file commands.cfg was introduced at 61aab91919b2e6d9cb5d7afe3befe40de67ac132.
This change make sure the file exists so nagios doesn't stop running.
|
|
|
|
|
|
|
|
which can be turned on by the puppet variable $nagios_nsa_usenotices
|
|
|
|
|
|
|
|
|
|
|
|
|
|
On Debian, the nagios-plugins packages install
/etc/nagios-plugins/config/mail.cfg which contains the check_smtp/check_imap
commands, and these commands cannot be duplicated. The addition of these
commands in this module in c9c4f5bb895e98e31d84c751a7fcbdae9bf57008 and
1c4de48baf4ffcf5f39894a101a3c59479959b47 now cause Debian nagios servers to
fail to start with this message:
Warning: Duplicate definition found for command 'check_smtp' (config file '/etc/starting on line 9)
The versions of these check commands that were added in the above commits are
actually more full-featured than the ones that Debian ships, most notably
because they allow for the port to be passed as an option. In most cases their
names are the same, although the imap and pop ssl commands are different. This
leads to a somewhat unfortunate situation where the module defines duplicated
commands, which are better, but in some cases are differently named than the
ones shipped in the package. Ideally, those names would converge, and the
debian package commands would add the port options by default, and we'd case
out debian/ubuntu to not ship these in this module.
However, due to the added benefit of the options provided in the commands
shipped in this module, along with the benefits that come with the module
being able to automatically configure these, I've elected to simply remove
the debian package file (which is a config file, so it will be honored
by the packaging system).
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
an irc server
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* the type nagios_type have been removed and puppet fails to collect
unknown types. This has already been removed once, but reintroduced
with 4e35b0bce0f2dd00d52e0de7488ab322867dd012 -> reremove it again
* To better compare existing types and what we have in the module,
I arranged the collection alphabetically to ease comparision.
|
|
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.
|
|
The contact_groups argument to nagios::service is currently not passed
on to the exported nagios_service resource. Pass this value on so that
services can notify the right people.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
|
|
Some Nagios resource types are currently not being managed. This has the
result that exported resources for those types are not collected by
nagios servers, and also that configuration files for those resources
are put in their default path which is wrong for some OSes and with
possibly wrong permissions.
Add the missing resources to base.pp
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
|
|
. 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
|
|
be unhappy, so lets only put them in when we have arguments to pass
|
|
the command specifier
|
|
|
|
|
|
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>
|
|
|
|
|