This project adheres to Semantic Versioning.
This CHANGELOG follows the format listed here
- check-smart-status.rb: - Check was ignoring all parameters, when ignore was not defined. @VeselaHouba
- check-smart-status.rb: Now returns disk path instead of Disk Class instance reference. @VeselaHouba
- change Sensu asset build definition to match ruby-runtime build collection. No change to underlying plugin functionality
5.1.3 - 2020-06-02
- fix for incorrect Ruby literal string freeze in binaries
5.1.2 - 2020-05-20
- check-disk-usage.rb: More accurate disk percent usage ignoring privileged bytes (@SaviourSelf)
5.1.1 - 2020-04-22
- Removed centos from .bonsai.yml to make Bonsai happy again
5.1.0 - 2020-04-22
- Updated bundler dependancy to '~> 2.1'
- Added option to ignore privileged bytes
- Updated rubocop dependency to '~> 0.81.0'
- Remediated rubocop issues
- Updated sys-filesystem gem dependency from 1.3.2 to 1.3.4
5.0.1 - 2019-12-10
- Updated readme for compliance with proposed plugins style guide
- Updated sys-filesystem gem dependency from 1.1.7 to 1.3.2
- Updated asset build targets to support centos6
5.0.0 - 2019-04-10
- Update minimum required ruby version to 2.3. Drop unsupported ruby versions.
- Bump
sensu-plugin
dependency from~> 1.2
to~> 4.0
you can read the changelog entries for 4.0, 3.0, and 2.0
- Travis build automation to generate Sensu Asset tarballs that can be used n conjunction with Sensu provided ruby runtime assets and the Bonsai Asset Index
- Require latest sensu-plugin for Sensu Go support
- check-smart-status.rb: Check for overrides when --device is used (@GwennG)
4.0.0 -
- check-smart.rb: fixing a
undefined
error by renamingno-smart-capable-disks
to--zero-smart-capable_disks
as the parser sees any--no-
argument and attempts to negate it which a(True|False)Class
can not be cast to a symbol (@bdeluca)
3.1.1 - 2018-01-07
- metrics-disk-capacity.rb: incorrect translation of devicenames by switching to
sub
. This differs by replacing only the first occurrence of/dev/
as opposed to all occurrences (@nmollerup)
- check-disk-usage: adds documentation for
-x
and-p
options
3.1.0 - 2018-05-02
- metrics-disk-capacity.rb, added
solaris
compatibility. Does not support inodes onsolaris
(@makaveli0129). - metrics-disk-usage.rb: added
solaris
compatibility. Does not support block_size for config (@makaveli0129)
3.0.1 - 2018-03-27
- updated yard dependency to
~> 0.9.11
per: https://nvd.nist.gov/vuln/detail/CVE-2017-17042 (@majormoses)
3.0.0 - 2018-03-07
- updated rubocop dependency to
~> 0.51.0
per: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8418. (@majormoses)
- removed ruby
< 2.1
support (@majormoses)
- updated the changelog location guidelines (@majormoses)
- appeased the cops and created TODOs for refactoring (@majormoses)
2.5.1 - 2017-12-05
- check-disk-usage.rb: now exits unknown instead of critical when retrieving mountpoints fail (@exeral)
2.5.0 - 2017-08-28
- check-smart.rb: The JSON file is now does not need to exist (@ChrisPortman)
- check-smart.rb: Add support for legacy smartctl output relating to
Available
andEnabled
(@ChrisPortman) - check-smart.rb: Add option to specify the exit code to use when there are no smart capable devices (@ChrisPortman)
- check-smart.rb: Removed duplicated smartctl runs
2.4.2 - 2017-08-17
- check-smart-status.rb: fixed regex for
Available
andEnabled
(@nagyt234)
2.4.1 - 2017-08-08
- check-smart.rb: Fixed 'override' being ignored (@sovaa)
2.4.0 - 2017-07-20
- check-smart.rb: Add path overrides via smart.json (@ArakniD)
- check-smart-status.rb: Add path overrides via smart.json (@ArakniD)
2.3.0 - 2017-07-03
- travis testing on ruby 2.4.1 (@majormoses)
- fixed spelling of "Compatibility" in PR template (@majormoses)
- check-smart.rb: deal with long keys in the info output (@robx)
- check-smart.rb: accept "OK" disk health status (@robx)
2.2.0 - 2017-06-24
- check-smart-tests.rb: a plugin to check S.M.A.R.T. self tests status (@sndl)
2.1.0 - 2017-05-04
- check-disk-usage.rb: show the decimals for disk usage figures
- check-disk-usage.rb: dont do utilization check of devfs filesystems
- bump sys-filesystem to 1.1.7
- check-fstab-mounts.rb: support swap mounts defined using UUID or LABEL
- check-fstab-mounts.rb: support swap mounts defined using LVM /dev/mapper/*
2.0.1 - 2016-06-15
- metrics-disk-capacity.rb: fixed invalid string matching with =~ operator
2.0.0 - 2016-06-14
- Updated Rubocop to 0.40, applied auto-correct.
- metrics-disk.rb: Now using sysfs instead of lsblk for translating device mapper numbers to names
- check-disk-usage.rb: values =< 1024 will not be modified for display in output
- Remove Ruby 1.9.3 support; add Ruby 2.3.0 support
1.1.3 - 2016-01-15
- Add --json option to check-smart-status.rb
- Let check-smart-status.rb skip SMART incapable disks
- metrics-disk-usage.rb: fix regular expression in unless statement
- check-disk-usage.rb: fix wrong TiB formatting in to_human function
1.1.2 - 2015-12-14
- check-disk-usage.rb: Add option to include only certain mount points
1.1.1 - 2015-12-11
- check-disk-usage.rb fails on Windows with sys-filesystem (1.1.4)
- bump sys-filesystem to 1.1.5
1.1.0 - 2015-12-08
- check-disk-usage.rb: Add ignore option to exclude mount point(s) based on regular expression
- metrics-disk.rb: Add ignore and include options to exclude or include devices
- check-disk-usage.rb: Don't blow up when unable to read a filesystem
- Remove dependency on
filesystem
gem
1.0.3 - 2015-10-25
- Adds Ignore option(s) to check-disk-usage.rb
- Adaptive thresholds
This borrows from check_mk's "df" check, which has the ability to adaptively adjust thresholds for filesystems based on their sizes.
For example, a hard threshold of "warn at 85%" is quite different between small filesystems and very large filesystems - 85% utilization of a 20GB filesystem is arguably more serious than 85% utilization of a 10TB filesystem.
This uses check_mk's original alorithm to optionally adjust the percentage thresholds based on size, using a "magic factor", a "normalized size", and a "minium size to adjust".
The magic factor defaults to '1.0', which will not adjust thresholds. The minimum size defaults to '100' (GB). Filesystems smaller than this will not be adapted.
check_mk's documentation has a lot more information on this, including examples of adjustments based on the magic factor: https://mathias-kettner.de/checkmk_filesystems.html
1.0.2 - 2015-08-04
- general cleanup
1.0.1 - 2015-07-14
- updated sensu-plugin gem to 1.2.0
##1.0.0 - 2015-07-05
- changed metrics filenames to conform to std
- updated Rakefile to remove cruft
- updated documentation links in README and CONTRIBUTING
- updated gemspec to put deps in alpha order
0.0.4 - 2015-06-22
- Correct check of inodes method on object fs_info which was always returning false
0.0.3 - 2015-06-02
- added binstubs
- removed cruft from /lib
0.0.2 - 2015-04-21
- deployment issue
- initial release