sensu-plugins-memory-checks 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/bin/check-memory.sh +4 -2
- data/lib/sensu-plugins-memory-checks/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c0f5b4490651c2017746c39c18cb9c4161bd4d7
|
4
|
+
data.tar.gz: ab03f6f7901e7b1ff07ea9e93066dedb807045be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6902f9bf9a2431c36348322d37d29b62f5586612b91e9e6e4461115758247c3cec9bf2c8bdc6e2225c05d1dcfd3092f35079dcc9810c1cfb74d2bf67b9a4b58f
|
7
|
+
data.tar.gz: 6620abe8c8fa5b7fabb58426b5e3e8d4f6c331ffbd5fbdf7bca941f521560f4dbf8aa6a5eac7ea4f2f22eb4a65186cd11eb1753f3304882633bb3f4d7d94fd5a
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
|
+
### [3.0.0] - 2017-07-07
|
8
|
+
### Added
|
9
|
+
- ruby 2.4 testing (@majormoses)
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
- in PR template spell "compatibility" correctly (@majormoses)
|
13
|
+
|
14
|
+
### Breaking Changes
|
15
|
+
- `check-memory.sh`: Validate that both critical and warning values are provided. (@EslamElHusseiny)
|
7
16
|
|
8
17
|
## [2.1.0] - 2017-03-08
|
9
18
|
### Changed
|
@@ -96,7 +105,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
96
105
|
### Added
|
97
106
|
- initial release
|
98
107
|
|
99
|
-
[unreleased]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/
|
108
|
+
[unreleased]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/3.0.0...HEAD
|
109
|
+
[3.0.0]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/2.1.0...3.0.0
|
100
110
|
[2.1.0]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/2.0.0...2.1.0
|
101
111
|
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/1.0.2...2.0.0
|
102
112
|
[1.0.2]: https://github.com/sensu-plugins/sensu-plugins-memory-checks/compare/1.0.1...1.0.2
|
data/bin/check-memory.sh
CHANGED
@@ -41,8 +41,10 @@ if [ "$hlp" = "yes" ]; then
|
|
41
41
|
exit 0
|
42
42
|
fi
|
43
43
|
|
44
|
-
WARN
|
45
|
-
|
44
|
+
if [ -z "$WARN"] || [ -z "$CRIT" ]; then
|
45
|
+
echo "You must provide both warning and critical values"
|
46
|
+
exit 3
|
47
|
+
fi
|
46
48
|
|
47
49
|
set -o pipefail
|
48
50
|
FREE_MEMORY=$(free -m | grep buffers/cache | awk '{ print $4 }')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-memory-checks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu Plugins and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|