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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/mtr_monitor.rb +7 -0
- data/lib/mtr_monitor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66793c37ff370c8719a1df787d8951b8295dcac2
|
4
|
+
data.tar.gz: 0e657330ea76728cea3ba824c8f854af826cbc6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 151e88fbafb466e30a209ccd3a071136c12ddfba2efcbef21aa1593e0ec7a4635515d57ea9508bd5a33679773ea82763bf833e8d4b2f071ab3c4228cce204ab4
|
7
|
+
data.tar.gz: 4b54e7ccfe1d01a63a4863bf72573f09736a68aeaa9346f5254bf7ab8371d93bb47153408b36084094ffc7e46b5f4397cedfca12a142ad3c1532767187118ca5
|
data/Gemfile.lock
CHANGED
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")
|
data/lib/mtr_monitor/version.rb
CHANGED