lognotifier 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lognotifier/application.rb +1 -1
- data/lib/lognotifier/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93e3ffd8d28508f723a1b35c870463db4461f5a8
|
4
|
+
data.tar.gz: 05fcd920d6d7f0b9ec460b9fb31ccb0435604ca8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e45b826df40c8c08de26e2febac7f5cd32a0861f59da99d7e61a010c33f0dfe778e9d354c1c85af36412aa80d079018a2e829e2db0f560a3617c22e5c8e9fd1b
|
7
|
+
data.tar.gz: aec2c6f258f695475e17e649ca468b47e7b5d600c08d7069c58bff1fb194badaa8cade323a92fce1eb27e2451dbc941f39bea8f97dd34d64ef02b329a8c340e3
|
@@ -63,7 +63,7 @@ module Lognotifier
|
|
63
63
|
message += previous.chomp + ' | ' unless previous.nil? || previous == content
|
64
64
|
message += content.chomp
|
65
65
|
begin
|
66
|
-
pagerduty.trigger("#{pattern['prefix']}
|
66
|
+
pagerduty.trigger("#{pattern['prefix']}", {'details' => message})
|
67
67
|
@logger.info("ALERT TRIGGERD - #{pattern['prefix']}: #{message}")
|
68
68
|
rescue => e
|
69
69
|
@logger.error("FAILED TO SEND ALERT: #{pattern['prefix']} #{message}")
|
data/lib/lognotifier/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lognotifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Breinlinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
109
|
rubyforge_project:
|
110
|
-
rubygems_version: 2.
|
110
|
+
rubygems_version: 2.5.2
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: Parse logs and notify to pagerduty on patter match
|