summaryrefslogtreecommitdiff
path: root/files
AgeCommit message (Collapse)Author
2012-11-22Merge branch 'master' of git://labs.riseup.net/shared-nagiosvarac
Conflicts: templates/irc_bot/nsa.cfg.erb
2012-09-25Merge branch 'merge_immerda'Micah Anderson
Conflicts: manifests/apache.pp this conflict was just a indentation difference.
2012-09-20Merge remote-tracking branch 'riseup/irc_bot_enhancements'Gabriel Filion
2012-09-19Merge branch 'immerda'Leap devs
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.
2012-09-18check_openvpn_server.plvarac
2012-09-17use a graph style icon for action.gifvarac
2012-09-17configure pnp4nagios npcdvarac
2012-09-17added pnp-grapher templates for explicit usenadir
2012-09-17added pnp-grapher templates for explicit usenadir
2012-09-17standard pnp4nagios apache confignadir
2012-09-17basic pnp4nagios grapher integrationvarac
2012-04-10Define check_load as a function of the nb of cpusGabriel Filion
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
2012-04-09Basic NRPE Supportnadir
amended (lelutin): removed trailing spaces and commented out code.
2012-04-09Import fresh nsca.cfg fileGabriel Filion
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>
2012-03-14allow dashes in service namesAntoine Beaupre
2012-03-14make default comment mention ircroot
2012-03-14be silent when we send stuff to nagios, it will answer backroot
2012-03-14accept dots in servicesroot
2012-03-14remove debugging messageAntoine Beaupre
2012-03-14always add a comment, allow spaces in commentsAntoine Beaupre
2012-03-13add reference for good material i foundAntoine Beaupre
2012-03-13add commandfile path to configurationAntoine Beaupre
Conflicts: templates/irc_bot/nsa.cfg.erb
2012-03-13note that this bot needs to be ported to the new frameworkAntoine Beaupre
2012-03-13add ack functionalityAntoine Beaupre
2011-12-08Provide default config files for nagios.cfg and cgi.cfgGabriel Filion
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.
2011-12-08update check_mysql_health plugin to newer versionMicah Anderson
2011-04-28fix syntax error from previous commitMicah Anderson
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-11Merge commit 'f2df62c9d17d481a3d616a4f2de9496638fadc0a'Micah Anderson
Conflicts: manifests/defaults/commands.pp
2011-04-06try to fix nagios::plugin problemmh
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.
2011-03-06add and deploy check_dnsbl scriptmh
2011-03-02links do not work for file sourcesmh
2011-03-02merge with saravamh
2011-02-07make the client config awaremh
2011-02-06Merge remote branch 'leluitn/apache_conf_fix'mh
2011-02-06merge lelutinmh
2010-12-26Update check_mysql_health plugin, changes:Micah Anderson
. 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
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>
2010-12-14Make nagios::apache manage the apache config.Gabriel Filion
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>
2010-10-21add check_dns2mh
check_dns had some problems with down nameservers. This one properly checks the right nameserver.
2010-10-18. add the check_mysql_health pluginMicah Anderson
. 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
2010-07-01Merge branch 'koumbit'mh
2010-07-01Merge remote branch 'riseup/master'mh
2010-06-28adjust plugin stuff, so we can remotely specify new pluginsmh
2010-06-07Re-adding resource.cfg.amd64 for debianSilvio Rhatto
2010-06-07Symlink for Debian/private/resource.cfg.amd64Silvio Rhatto
2010-04-09add a default empty htpasswd so the catalog compiles rightAntoine Beaupre
2010-04-09include the commands.cfg file in Debian since we need the ↵Antoine Beaupre
notify-(host|service)-by-email commands
2010-04-09add amd64 resources, fix the other to be a symlink since it's the sameAntoine Beaupre
2010-02-20enable the cfg_dir=/etc/nagios-plugins/config parameter in the defaultMicah Anderson
Debian nagios.cfg file without this enabled, the plugins which are installed by the nagios-plugins and nagios-plugins-basic packages will not be enabled, causing undefined service check command errors in the nagios pre-flight check. Because the nagios-plugins-basic package is installed as a Depends for the nagios3 package, and nagios-plugins is usually brought in, due to nagios3 having a Recommends on it, it a good idea to have this plugin location enabled.