bosh-monitor 1.2768.0 → 1.2776.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bosh/monitor/plugins/email.rb +4 -1
- data/lib/bosh/monitor/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: 9b434a25b27cbb2095b8a5f0fe65faf5756e4d44
|
4
|
+
data.tar.gz: 42f373cfc4e96a901a2e572198504db4213790c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba4955d70459019450f44a9f1e395ab826ab1f4c85e8059025827dbfcb2f573ce1bf7eb85885fdda5d78cfb650b948cdd1b6203e6989d9cebe8108b7225b49fc
|
7
|
+
data.tar.gz: 8c896ff34045bd65908e119ff4db3c9460d73a2b5661a97829a9b782d436d96a016fde76dcc9056dfa4a420c936ea3a44ecf8bd2672d12b318a58ee4b766347e
|
@@ -67,13 +67,16 @@ module Bosh::Monitor
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def process_queues
|
70
|
+
logger.info("Proccessing queues...")
|
70
71
|
@queues.each_pair do |kind, queue|
|
71
72
|
next if queue.empty?
|
73
|
+
logger.info("Creating email...")
|
72
74
|
email_subject = "%s from BOSH Health Monitor" % [ pluralize(queue_size(kind), kind) ]
|
73
75
|
email_body = ""
|
74
76
|
|
75
77
|
@lock.synchronize do
|
76
78
|
while event = queue.shift
|
79
|
+
logger.info("Dequeueing...")
|
77
80
|
email_body << event.to_plain_text << "\n"
|
78
81
|
end
|
79
82
|
end
|
@@ -84,7 +87,7 @@ module Bosh::Monitor
|
|
84
87
|
|
85
88
|
def send_email_async(subject, body, date = Time.now)
|
86
89
|
started = Time.now
|
87
|
-
logger.
|
90
|
+
logger.info("Sending email...")
|
88
91
|
|
89
92
|
headers = {
|
90
93
|
"From" => smtp_options["from"],
|
data/lib/bosh/monitor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2776.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VMware
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|
@@ -138,7 +138,7 @@ dependencies:
|
|
138
138
|
version: 1.6.0
|
139
139
|
description: |-
|
140
140
|
BOSH Health Monitor
|
141
|
-
|
141
|
+
5aa001
|
142
142
|
email: support@cloudfoundry.com
|
143
143
|
executables:
|
144
144
|
- bosh-monitor-console
|