riemann-bacula 2.0.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +3 -0
- data/CHANGELOG.md +8 -0
- data/lib/riemann/tools/bacula/version.rb +1 -1
- data/lib/riemann/tools/bacula.rb +9 -7
- data/riemann-bacula.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1b8e3157426aa0222146772ab55d4280db70914f68798338165facdbbeaed26
|
|
4
|
+
data.tar.gz: 044d6f5915334353b15453e8c6667613afe1117776aeaf29b06862f112b43de7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93cf5171b18914c899079304d8a6a62792793bbd9271ad0c1a271dfee744e28ec86b594f71aab5c22c92b7017a5f32bcd7e8ad2750b0bcb6d940ad9cf532850a
|
|
7
|
+
data.tar.gz: 20c939d535b07c4ac48397a86d5b8a20d77fbabdadd81cc8cb42e388b8c9bbd32d1aeeb4fd49bc2877be585a29ed0c3eddffdd02a280ef95300a1c48f40c0cff
|
data/.github/workflows/ci.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v3.0.0](https://github.com/opus-codium/riemann-bacula/tree/v3.0.0) (2025-01-06)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/opus-codium/riemann-bacula/compare/v2.0.2...v3.0.0)
|
|
6
|
+
|
|
7
|
+
**Breaking changes:**
|
|
8
|
+
|
|
9
|
+
- Do not update canceled backups state [\#14](https://github.com/opus-codium/riemann-bacula/pull/14) ([smortex](https://github.com/smortex))
|
|
10
|
+
|
|
3
11
|
## [v2.0.2](https://github.com/opus-codium/riemann-bacula/tree/v2.0.2) (2023-03-27)
|
|
4
12
|
|
|
5
13
|
[Full Changelog](https://github.com/opus-codium/riemann-bacula/compare/v2.0.1...v2.0.2)
|
data/lib/riemann/tools/bacula.rb
CHANGED
|
@@ -29,13 +29,15 @@ module Riemann
|
|
|
29
29
|
|
|
30
30
|
data = parse($stdin.read)
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
if opts[:status] != 'Canceled'
|
|
33
|
+
report({
|
|
34
|
+
service: "bacula backup #{opts[:job_name]}",
|
|
35
|
+
state: bacula_backup_state,
|
|
36
|
+
job_name: opts[:job_name],
|
|
37
|
+
backup_level: opts[:backup_level],
|
|
38
|
+
description: "#{opts[:status]} (#{data['Termination']})",
|
|
39
|
+
})
|
|
40
|
+
end
|
|
39
41
|
|
|
40
42
|
%i[bytes files].each do |metric|
|
|
41
43
|
next unless opts[metric]
|
data/riemann-bacula.gemspec
CHANGED
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:
|
|
4
|
+
version: 3.0.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:
|
|
11
|
+
date: 2025-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: riemann-tools
|
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
70
70
|
- !ruby/object:Gem::Version
|
|
71
71
|
version: '0'
|
|
72
72
|
requirements: []
|
|
73
|
-
rubygems_version: 3.
|
|
73
|
+
rubygems_version: 3.3.15
|
|
74
74
|
signing_key:
|
|
75
75
|
specification_version: 4
|
|
76
76
|
summary: Submits bacula information to riemann
|