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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e83783cc93f11d5f8791f554a92e140ee1a2422
4
- data.tar.gz: 4a41b8309a11e5bcb10d843627076163fa5d9d3f
3
+ metadata.gz: 9b434a25b27cbb2095b8a5f0fe65faf5756e4d44
4
+ data.tar.gz: 42f373cfc4e96a901a2e572198504db4213790c1
5
5
  SHA512:
6
- metadata.gz: 8fd32ccf19380c15abfea27e2aac54a8fa95a2d2ce40f17cbad34ef54d0f64a9845f6a6ba439238fef2af2004bdacb7632b575f16ea346f95bc5e692f6107672
7
- data.tar.gz: 67a8c0d7edebffce5e85963e854fa3602b71e7328525bff7ef8d1bb35d43e33a3a144f6b6aba1a6e53cd5363dd5170ce3f112e978de40046e81f0921e87bbb28
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.debug("Sending email...")
90
+ logger.info("Sending email...")
88
91
 
89
92
  headers = {
90
93
  "From" => smtp_options["from"],
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Monitor
3
- VERSION = '1.2768.0'
3
+ VERSION = '1.2776.0'
4
4
  end
5
5
  end
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.2768.0
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-12 00:00:00.000000000 Z
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
- 2b24dc
141
+ 5aa001
142
142
  email: support@cloudfoundry.com
143
143
  executables:
144
144
  - bosh-monitor-console