Skip to content

Releases: sous-chefs/nagios

7.0.2

07 Mar 18:42
Compare
Choose a tag to compare

Bug

  • Fixed the hardcoded cgi-bin path in server source.
  • Fixed contact_groups within load_default_config recipe.
  • Removed dead code from timeperiod.rb library.
  • Ignore timeperiods that don't comply.
  • Making time formats less restrictive. (#336)

Improvement

  • Make yum-epel recipe include optional via attribute.
  • Only allow_empty_hostgroup_assignment for Nagios versions >= 3.4.0

7.0.0

18 Feb 14:57
Compare
Choose a tag to compare

Feature

  • Added providers for all nagios configuration objects.
  • Added wiki pages explaining the providers.
  • Added wiki pages explaining the databags.

Development

  • Updated chefspec (4.2.0)

Extra note

  • Please test this version before using it in production. Some logic and attributes have changes, so this might break your current setup.

6.1.0

10 Jan 16:00
Compare
Choose a tag to compare

Bug

  • Fix missing CSS files on RHEL/Fedora package installs
  • Ensure the source file for Nagios is always downloaded to work around corrupt partial downloads
  • Fixed permissions being changed on the resource directory during each run on RHEL systems

Improvement

  • Remove support for SSL V2 / V3 (Apache2/NGINX) and add TLS 1.1 and 1.2 (NGINX)
  • Cleaned up and removed duplicate code from the web server configuration

New Features

  • Added the ability to tag nodes with an attribute that excludes them from the monitoring search. See readme for details

Breaking Changes

  • The /nagios or /nagios3 URLs are no longer valid. Nagios should be installed on the root of the webserver and this never entirely worked

Development

  • Updated Rubocop rules
  • Fixed specs to run with Chefspec 4.X

6.0.2

24 Oct 16:27
Compare
Choose a tag to compare

Bug

  • Remove .DS_Store files in the supermarket file that caused failures on older versions of Berkshelf

6.0.0

22 Oct 18:09
Compare
Choose a tag to compare

Breaking changes

NRPE is no longer installed by the nagios cookbook. This is handled by the NRPE cookbook. Moving this logic allows for more fined grained control of how the two services are installed and configured
Previously the Nagios server was monitored out of the box using a NRPE check. This is no longer the case since the cookbooks are split. You'll need to add a services data bag to return this functionality
RHEL now defaults to installing via packages. If you would like to continue installing via source make sure to set the installation_method attribute
node['nagios']['additional_contacts'] attribute has been removed. This was previously used for Pagerduty integration
Server setup is now handled in the nagios::default recipe vs. the nagios::server recipe. You will need to update roles / nodes referencing the old recipe
Bug

htpasswd file should be setup after Nagios has been installed to ensure the user has been created
Ensure that the Linux hostgroup still gets created even if the Nagios server is the first to come up in the environment
Correctly set the vname on RHEL/Fedora platforms for source/package installs
Set resource_dir in nagios.cfg on RHEL platforms with a new attribute
Create the archives dir in the log on source installs
Properly create the Nagios user/group on source installs
Properly set the path for the p1.pl file on RHEL platforms
Ensure that the hostgroups array doesn't include duplicates in the even that an environment and role have the same name
Only template nagios.cfg once
Fix ocsp-command typo in nagios.cfg
Fix bug that prevented Apache2 recipe from completing
Improvement

Readme cleanup
Created a new users_helper library to abstract much of the Ruby logic for building user lists out of the recipe
Avoid writing out empty comments in templates for data bag driven configs
Add a full chefignore file to help with Berkshelf
Better documented host_perfdata_command and service_perfdata_command in the README
Add possibility to configure default_service with options process_perf_data & action_url
Add possibility to configure default_host with options process_perf_data & action_url
Allow freshness_threshold and active_checks_enabled to be specified in templates
Added a generic service-template w/min req. params
New Feature

New attribute node['nagios']['monitored_environments'] for specifying multiple environments you'd like to monitor
Allow using the exclusion hostgroup format used by Nagios when defining the hostgroup for a check
Host templates can now be defined via a new host_templates data bag.
Development

Vagrantfile updated for Vagrant 1.5 format changes
Updated Rubocop / Foodcritic / Chefspec / Berkshelf gems to the latest for Travis testing
Updated Berkshelf file to the 3.0 format
Updated Test Kitchen / Kitchen Vagrant gems to the latest for local testing
Test Kitchen suite added for source installs
Ubuntu 13.04 swapped for 14.04 in Test Kitchen
Added a large number of data bags to be used by Test Kitchen to handle several scenarios
Setup port forwarding in Test Kitchen so you can converge the nodes and load the Web UI
Added additional Test Kitchen and Chef Spec tests

v5.0.2

22 Oct 18:10
Compare
Choose a tag to compare

Improvement

  • COOK-3777 - Update NRPE in nagios cookbook to 2.15
  • COOK-3021 - NRPE LWRP updates files every run
  • Fixing up to pass rubocop

v5.0.0

22 Oct 18:10
Compare
Choose a tag to compare

Bug

  • COOK-3778 - Fix missing customization points for Icinga
  • COOK-3731 - Remove range searches in Nagios cookbook that break chef-zero
  • COOK-3729 - Update Nagios Plugin download URL
  • COOK-3579 - Stop shipping icons files that arent used
  • COOK-3332 - Fix nagios::client failures on Chef Solo

Improvement

  • COOK-3730 - Change the default authentication method
  • COOK-3696 - Sort hostgroups so they don't get updated on each run
  • COOK-3670 - Add Travis support
  • COOK-3583 - Update Nagios source to 3.5.1
  • COOK-3577 - Cleanup code style
  • COOK-3287 - Provide more customization points to make it possible to use Icinga
  • COOK-1725 - Add configurable notification options for nagios::pagerduty

New Feature

  • COOK-3723 - Support regexp_matching in Nagios
  • COOK-3695 - Add more tunables for default host template