mtr_monitor 0.17.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +7 -1
- data/Gemfile.lock +1 -1
- data/README.md +7 -0
- data/Rakefile +1 -0
- data/lib/mtr_monitor/version.rb +1 -1
- data/lib/mtr_monitor.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: 903bef5344c8ba17827a31a97072111ce13f4de0
|
4
|
+
data.tar.gz: 96458939ffeee18f72e125bcb8003b8bd1740bd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba7a8a3be71be5d6908995e7a96d3d9982015be3e48d83cf1fca377a538d213f0fff21066b0446ff19eeeaf391229ad6188bd0b5f2a58ca719bafba7567d6900
|
7
|
+
data.tar.gz: 39cdb25e0b2eb7e1ec04362f7217e83080b0a95c88093ca47ee8688d9a712ff598d54f49beb83fcd9807f63e116358af32ee77327d78e0398e19a2b528f632ff
|
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -235,3 +235,10 @@ SERVER=1.2.3.4 bundle exec rake deploy
|
|
235
235
|
Each deployed MTR monitor needs to has its own panel on grafana [Platform - Network](https://semaphore.grafana.net/dashboard/db/platform-network?orgId=1) dashboard.
|
236
236
|
|
237
237
|
Make sure to setup BuildServers alert.
|
238
|
+
|
239
|
+
### MTR incident tracing
|
240
|
+
|
241
|
+
When you have `mtr_monitor gem` installed.
|
242
|
+
To easily get MTR logs when incident happens, just run `mtr-incident-trace`.
|
243
|
+
To successfully use this feature you will need `aws cli` installed and aws credentials setup.
|
244
|
+
This will fetch the latest enteries from `hetzner-continuous-mtr` bucket.
|
data/Rakefile
CHANGED
data/lib/mtr_monitor/version.rb
CHANGED
data/lib/mtr_monitor.rb
CHANGED
@@ -101,7 +101,7 @@ module MtrMonitor
|
|
101
101
|
run %Q(sudo sh -c 'echo "Source IP: #{@host_ip_address}" >> #{@log_path}')
|
102
102
|
run %Q(sudo sh -c 'echo "Target IP: #{destination}" >> #{@log_path}')
|
103
103
|
run %Q(sudo sh -c 'echo "---------------------------------------" >> #{@log_path}')
|
104
|
-
run %Q(sudo sh -c 'mtr --report #{@mtr_options} #{destination} >> #{@log_path}')
|
104
|
+
run %Q(sudo sh -c 'mtr --report --report-wide #{@mtr_options} #{destination} >> #{@log_path}')
|
105
105
|
end
|
106
106
|
|
107
107
|
def upload_to_s3
|