mtr_monitor 0.17.3 → 0.17.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 903bef5344c8ba17827a31a97072111ce13f4de0
4
- data.tar.gz: 96458939ffeee18f72e125bcb8003b8bd1740bd8
3
+ metadata.gz: 66793c37ff370c8719a1df787d8951b8295dcac2
4
+ data.tar.gz: 0e657330ea76728cea3ba824c8f854af826cbc6b
5
5
  SHA512:
6
- metadata.gz: ba7a8a3be71be5d6908995e7a96d3d9982015be3e48d83cf1fca377a538d213f0fff21066b0446ff19eeeaf391229ad6188bd0b5f2a58ca719bafba7567d6900
7
- data.tar.gz: 39cdb25e0b2eb7e1ec04362f7217e83080b0a95c88093ca47ee8688d9a712ff598d54f49beb83fcd9807f63e116358af32ee77327d78e0398e19a2b528f632ff
6
+ metadata.gz: 151e88fbafb466e30a209ccd3a071136c12ddfba2efcbef21aa1593e0ec7a4635515d57ea9508bd5a33679773ea82763bf833e8d4b2f071ab3c4228cce204ab4
7
+ data.tar.gz: 4b54e7ccfe1d01a63a4863bf72573f09736a68aeaa9346f5254bf7ab8371d93bb47153408b36084094ffc7e46b5f4397cedfca12a142ad3c1532767187118ca5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mtr_monitor (0.17.3)
4
+ mtr_monitor (0.17.4)
5
5
  logdna
6
6
  rt-watchman (~> 0.10.0)
7
7
 
data/lib/mtr_monitor.rb CHANGED
@@ -72,6 +72,8 @@ module MtrMonitor
72
72
  telia
73
73
  elsif mtr_log.include?("gtt.net")
74
74
  gtt
75
+ elsif mtr_log.include?("ntt.net")
76
+ ntt
75
77
  else
76
78
  unknown
77
79
  end
@@ -87,6 +89,11 @@ module MtrMonitor
87
89
  @logger.info("Network provider: GTT -- Emitted to LogDNA")
88
90
  end
89
91
 
92
+ def ntt
93
+ @logdna.log("NTT network provider")
94
+ @logger.info("Network provider: NTT -- Emitted to LogDNA")
95
+ end
96
+
90
97
  def unknown
91
98
  @logdna.log("Unknown network provider ")
92
99
  @logger.info("Network provider: Unknown -- Emitted to LogDNA")
@@ -1,3 +1,3 @@
1
1
  module MtrMonitor
2
- VERSION = "0.17.3"
2
+ VERSION = "0.17.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtr_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.3
4
+ version: 0.17.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - RenderedText DevOps Team