mtr_monitor 1.2.1 → 1.3.0
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/version.rb +1 -1
- data/lib/mtr_monitor.rb +2 -2
- 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: ff6b4c4b726106fd0654fbc8ef65b25a9ba9a93e
|
4
|
+
data.tar.gz: 1bd6f6c3f5719f6f47b954330e4ee09ead71890b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d86b880cf3dc19fa7a9b50f1c2cceddb7cc876c61337d2ff4e435bcf73fe8ec8ba37398bffa9e720658f0a9698007c6cb23492c51323d20e4099e4f3b5f7ff81
|
7
|
+
data.tar.gz: 5b97dad3d6c818c79027c901b7f67ef0a11a44dc72cf1ad03b4f222482640a1e7f839ab7148b322759a423bf777716b9fc3f24931fae6971857f5614e5fa5602
|
data/Gemfile.lock
CHANGED
data/lib/mtr_monitor/version.rb
CHANGED
data/lib/mtr_monitor.rb
CHANGED
@@ -56,11 +56,11 @@ module MtrMonitor
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def local_log_path
|
59
|
-
"#{MtrMonitor::LOCAL_REPORTS_DIR}/#{path.gsub("/", "
|
59
|
+
"#{MtrMonitor::LOCAL_REPORTS_DIR}/#{path.gsub("/", "__")}"
|
60
60
|
end
|
61
61
|
|
62
62
|
def path
|
63
|
-
"#{@name}/#{@created_at.strftime("%Y-%m-%
|
63
|
+
"#{@name}/#{@created_at.strftime("%Y-%m-%d_%H-%M")}/#{@host_ip_address.gsub(".", "-")}_to_#{@domain.gsub(".", "-")}.log"
|
64
64
|
end
|
65
65
|
|
66
66
|
def generate
|