bosh-monitor 1.2732.0 → 1.2739.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 594b716778d9214b2c13c6d9a052ce4eb1b1728f
4
- data.tar.gz: 3716bbb7aa0a018211ef84a145335fd92db58bd8
3
+ metadata.gz: 61af2a8991aeb626e2f097dcb0e060f876bca00a
4
+ data.tar.gz: dc12c3e48512456e64fa58656e7042bca9a553a3
5
5
  SHA512:
6
- metadata.gz: 7aef3c7b203ebe7e0ef5c9b045e4e366b912c8a54436d5173def131939e88946e9b2a380de22560b8ddd4afdaf06ac9b9f1c3806b3af69df1180194dc8dd5bdc
7
- data.tar.gz: 85ed50ed5701545464683062dee01b50b9d1d9f2f8da2e937896175c26578d5a42dc6234708a5b896856110dd649376dcf5b034cc1b8fecfbaecc699d5632618
6
+ metadata.gz: 94d19eef32e6cf945962d90fb59be429187a4b142f0a353986cabb873541f70e041f72cedcef8c4d5782096b5371c9d05c4a5d80dcbad4090f4c7e8210baf4e5
7
+ data.tar.gz: 325b9ae5e9dad7c8352f7db2bfff1bd26d7084340d2fd74d57dc4e90623aef0f5c8571b708dd525ceaf76975d1251e81292f15adcd02af8cffd9635bfb204247
data/bin/bosh-monitor CHANGED
@@ -24,6 +24,10 @@ Signal.trap("INT") do
24
24
  runner.stop
25
25
  end
26
26
 
27
+ Signal.trap("EXIT") do
28
+ Bhm.logger.info("HealthMonitor exiting!")
29
+ end
30
+
27
31
  runner.run
28
32
 
29
33
 
@@ -108,6 +108,7 @@ module Bosh::Monitor
108
108
  end
109
109
 
110
110
  def remove_agent(agent_id)
111
+ @logger.info("Removing agent #{agent_id} from all deployments...")
111
112
  @agents.delete(agent_id)
112
113
  @deployments.each_pair do |deployment, agents|
113
114
  agents.delete(agent_id)
@@ -123,6 +124,8 @@ module Bosh::Monitor
123
124
  return false
124
125
  end
125
126
 
127
+ @logger.info("Adding agent #{vm_data["agent_id"]} (#{vm_data["job"]}/#{vm_data["index"]}) to #{deployment_name}...")
128
+
126
129
  agent_id = vm_data["agent_id"]
127
130
  agent_cid = vm_data["cid"]
128
131
 
@@ -143,8 +143,8 @@ module Bosh::Monitor
143
143
 
144
144
  @logger.info "Found deployment `#{deployment_name}'"
145
145
 
146
- vms = @director.get_deployment_vms(deployment_name)
147
146
  @logger.debug "Fetching VMs information for `#{deployment_name}'..."
147
+ vms = @director.get_deployment_vms(deployment_name)
148
148
 
149
149
  @agent_manager.sync_agents(deployment_name, vms)
150
150
  end
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Monitor
3
- VERSION = '1.2732.0'
3
+ VERSION = '1.2739.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.2732.0
4
+ version: 1.2739.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-09-30 00:00:00.000000000 Z
11
+ date: 2014-10-09 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
- f6dedd
141
+ 0d77bd
142
142
  email: support@cloudfoundry.com
143
143
  executables:
144
144
  - bosh-monitor-console