Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Upgrade sensu #671

Merged
merged 2 commits into from
Dec 3, 2014
Merged

Upgrade sensu #671

merged 2 commits into from
Dec 3, 2014

Conversation

timmow
Copy link
Contributor

@timmow timmow commented Dec 2, 2014

DO NOT MERGE

As we dont use something like https://github.com/adrienthebo/r10k, I think the
best way to deploy this will be to deploy from the branch, before merging to
master

Planned deploy strategy -

  • Stop sensu on all machines using fabric
  • flush redis
  • deploy sensu to monitoring machine and upgrade it
  • deploy sensu to other machines in environment

@timmow timmow force-pushed the sensu-upgrade branch 3 times, most recently from 6e16b96 to e5c4ece Compare December 2, 2014 17:16
@@ -147,8 +147,10 @@ rsyslog::client::server: "logging"
sensu::rabbitmq_host: 'rabbitmq'
sensu::rabbitmq_password: "%{::rabbitmq_sensu_password}"
sensu::rabbitmq_port: 5672
sensu::rabbitmq_vhost: '/sensu'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Umm, that's a path rather than vhost?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mentioned that in b733e9c which referenced sensu/sensu-puppet#184

I dont know enough about rabbit to know what is correct, but without the slash sensu cannot connect to rabbitmq. Helpfully neither rabbit nor sensu are very helpful in their logs as to why this is the case

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, sorry, I missed that.

Successfully provisioned a monitoring-1 and backup-box-1 with this,
after provisioning with master

Settings required for latest puppet module

 - Be explicit about the api
 - Need to specify a version of the sensu plugin gem
 - The puppet module changed the default vhost to not include a slash -
   sensu/sensu-puppet#184

This unfortunately broke our setup, which expected a slash in the vhost.
Uchiwa replaces the sensu dashboard

Uchiwa defaults to using port 3000, so set the nginx alerts upstream to use that
@alexmuller
Copy link
Contributor

This appears to be working on preview! 🎆

alexmuller added a commit that referenced this pull request Dec 3, 2014
@alexmuller alexmuller merged commit 176eb9e into master Dec 3, 2014
@alexmuller alexmuller deleted the sensu-upgrade branch December 3, 2014 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants