riemann-bacula 1.1.0 → 1.2.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 +10 -2
- data/Rakefile +1 -1
- data/lib/riemann/tools/bacula/version.rb +1 -1
- data/lib/riemann/tools/bacula.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6352841033d7fa669793cba957a59cc4fa35369d2866914dbb782bb3b507f97
|
4
|
+
data.tar.gz: 66826e73f558d5f2c788d0a5b3b60a413b420f76e47957a517727f51ae7ec15c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d1888b9a7920c0dab4b5c3c30ae8b06acf5ed8e54eaa70e6e848db3ff1dd1087282b42b2a0be1a857935e6497ff662e445383c2be07276a033d7a1ce84fb042
|
7
|
+
data.tar.gz: 74117f74b1181b5d619e27d04f888627ee1d212a9fc66aa78a657374847f8fad9a3b1c999976126db5fab600ef5698a9b699b4d562997a39bbc6940bd3850acb
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [v1.2.0](https://github.com/opus-codium/riemann-bacula/tree/v1.2.0) (2022-10-27)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/opus-codium/riemann-bacula/compare/v1.
|
5
|
+
[Full Changelog](https://github.com/opus-codium/riemann-bacula/compare/v1.1.0...v1.2.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Embed more metadata in events [\#5](https://github.com/opus-codium/riemann-bacula/pull/5) ([smortex](https://github.com/smortex))
|
10
|
+
|
11
|
+
## [v1.1.0](https://github.com/opus-codium/riemann-bacula/tree/v1.1.0) (2022-10-20)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/opus-codium/riemann-bacula/compare/v1.0.0...v1.1.0)
|
6
14
|
|
7
15
|
**Implemented enhancements:**
|
8
16
|
|
data/Rakefile
CHANGED
@@ -15,6 +15,6 @@ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
|
15
15
|
config.user = 'opus-codium'
|
16
16
|
config.project = 'riemann-bacula'
|
17
17
|
config.exclude_labels = ['skip-changelog']
|
18
|
-
config.future_release = Riemann::Tools::Bacula::VERSION
|
18
|
+
config.future_release = "v#{Riemann::Tools::Bacula::VERSION}"
|
19
19
|
config.since_tag = 'v1.0.0'
|
20
20
|
end
|
data/lib/riemann/tools/bacula.rb
CHANGED
@@ -199,6 +199,8 @@ module Riemann
|
|
199
199
|
'critical'
|
200
200
|
end
|
201
201
|
event[:description] = data['Termination']
|
202
|
+
event[:job_name] = data['Job Name']
|
203
|
+
event[:backup_level] = data['Backup Level']
|
202
204
|
report(event)
|
203
205
|
|
204
206
|
return unless options[:details]
|
@@ -218,6 +220,8 @@ module Riemann
|
|
218
220
|
event = {}
|
219
221
|
event[:service] = "bacula backup #{data['Job Name']} #{data['Backup Level'].downcase} #{metric.downcase}"
|
220
222
|
event[:metric] = data[metric]
|
223
|
+
event[:job_name] = data['Job Name']
|
224
|
+
event[:backup_level] = data['Backup Level']
|
221
225
|
report(event)
|
222
226
|
end
|
223
227
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riemann-bacula
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Romain Tartière
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: riemann-tools
|