Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
creation of the check_mysql_health mysql nagios plugin. See the mysql module for the installation of this plugin, and example usage"
This reverts commit 45edca107c3fd158fc9b00aa90f9f3f6d730185a.
reverted because this is much easier to handle within the mysql module itself.
|
|
|
|
check_mysql_health mysql nagios plugin. See the mysql module for the installation of this plugin, and example usage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this also adds a site-nagios possibility to one file resource where it was missing (nagios_private_resource.cfg)
although this module was updated for this purpose some time ago, it was still complaining:
Apr 12 15:13:10 puppetmaster puppetmasterd[11189]: DEPRECATION NOTICE: Files found in modules without specifying 'modules' in file path will be deprecated in the next major release. Please fix module 'nagios' when no 0.24.x clients are present
|
|
|
|
for this
|
|
|
|
|
|
|
|
|
|
number of the check_commands that were being defined by this module,
this caused duplicate definition issues, so to solve this we don't define
the subset of commands on debian/ubuntu systems that are handled by the
package, but let other operatingsystems define them (as they were before)
|
|
only location where specific classification is done, and this anomaly
prohibits you from setting the variable in site.pp
|
|
|
|
|