PLEASE PIN YOUR SENSU VERSION


#1

Hello users,

Sensu 0.13.0-1 will be in the main (stable) repositories shortly, please pin your Sensu package version. There are several changes that are not backwards compatible, these changes are mention in the CHANGELOG (https://github.com/sensu/sensu/blob/master/CHANGELOG.md), and the documentation has been updated to reflect these changes and will continue to be improved.

I do not recommend upgrading on a Friday.

Sean.


#2

Thanks Sean, I got this from the bad way, we have puppet running with “LATEST” into sensu package and now all crash… I’ll read the Changelog to try to fix and put back them…

···

El viernes, 25 de julio de 2014 14:03:18 UTC-3, portertech escribió:

Hello users,

Sensu 0.13.0-1 will be in the main (stable) repositories shortly, please pin your Sensu package version. There are several changes that are not backwards compatible, these changes are mention in the CHANGELOG (https://github.com/sensu/sensu/blob/master/CHANGELOG.md), and the documentation has been updated to reflect these changes and will continue to be improved.

I do not recommend upgrading on a Friday.

Sean.


#3

Hi guys,

Can give me some help to upgrade to 13, I have saw that after upgrade Sensu Don’t start, and have and error into AMQP connection, I read into the changelog that this was one of the main changes into this version… but here:

http://sensuapp.org/docs/latest/upgrading

Don’t add any new details about what i need change to upgrade from 12 to 13… I try a few thinks and can’t found the key for put all back to work… with the upgrade…

Thanks for any advice!

Alejandro


#4

What’s the AMQP error?

···

On Jul 27, 2014 1:38 PM, “Alejandro Ferrari” cdgraff@gmail.com wrote:

Hi guys,

Can give me some help to upgrade to 13, I have saw that after upgrade Sensu Don’t start, and have and error into AMQP connection, I read into the changelog that this was one of the main changes into this version… but here:

http://sensuapp.org/docs/latest/upgrading

Don’t add any new details about what i need change to upgrade from 12 to 13… I try a few thinks and can’t found the key for put all back to work… with the upgrade…

Thanks for any advice!

Alejandro


#5

this be the error I got when try to start sensu 13

{“timestamp”:“2014-07-26T01:36:33.980675+0000”,“level”:“fatal”,“message”:“invalid settings”}

{“timestamp”:“2014-07-26T01:36:33.980909+0000”,“level”:“fatal”,“message”:“unknown handler type”,“object”:{“type”:“amqp”,“exchange”:{“type”:“topic”,“name”:“metrics”,“durable”:“true”},“mutator”:“only_check_output”,“name”:“graphite”}}

{“timestamp”:“2014-07-26T01:36:33.981119+0000”,“level”:“fatal”,“message”:“SENSU NOT RUNNING!”}

After change “amqp” to “transport” got this error:

{“timestamp”:“2014-07-27T21:35:54.053720+0000”,“level”:“fatal”,“message”:“invalid settings”}

{“timestamp”:“2014-07-27T21:35:54.053853+0000”,“level”:“fatal”,“message”:“handler transport pipe must be a hash”,“object”:{“type”:“transport”,“exchange”:{“type”:“topic”,“name”:“metrics”,“durable”:“true”},“mutator”:“only_check_output”,“name”:“graphite”}}

{“timestamp”:“2014-07-27T21:35:54.053993+0000”,“level”:“fatal”,“message”:“SENSU NOT RUNNING!”}

now I’m trying to see the documentation for this new transport layer…

thanks

Ale

···

El domingo, 27 de julio de 2014 18:04:43 UTC-3, portertech escribió:

What’s the AMQP error?

On Jul 27, 2014 1:38 PM, “Alejandro Ferrari” cdg...@gmail.com wrote:

Hi guys,

Can give me some help to upgrade to 13, I have saw that after upgrade Sensu Don’t start, and have and error into AMQP connection, I read into the changelog that this was one of the main changes into this version… but here:

http://sensuapp.org/docs/latest/upgrading

Don’t add any new details about what i need change to upgrade from 12 to 13… I try a few thinks and can’t found the key for put all back to work… with the upgrade…

Thanks for any advice!

Alejandro


#6

Done fixed!

Yesterday was too late to my brain understand something :frowning:

now this be the setup and is working

OLD:

{

“handlers”: {

“graphite”: {

“type”: “amqp”,

exchange”: {

“type”: “topic”,

“name”: “metrics”,

“durable”: “true”

},

“mutator”: “only_check_output”

}

}

}

NEW:

{

“handlers”: {

“graphite”: {

“type”: “transport”,

pipe”: {

“type”: “topic”,

“name”: “metrics”,

“durable”: “true”

},

“mutator”: “only_check_output”

}

}

}

I’ll check during the next few hours to see if the metrics arrive to graphite correctly…

Thanks

Alejandro

···

El domingo, 27 de julio de 2014 18:40:09 UTC-3, Alejandro Ferrari escribió:

this be the error I got when try to start sensu 13

{“timestamp”:“2014-07-26T01:36:33.980675+0000”,“level”:“fatal”,“message”:“invalid settings”}

{“timestamp”:“2014-07-26T01:36:33.980909+0000”,“level”:“fatal”,“message”:“unknown handler type”,“object”:{“type”:“amqp”,“exchange”:{“type”:“topic”,“name”:“metrics”,“durable”:“true”},“mutator”:“only_check_output”,“name”:“graphite”}}

{“timestamp”:“2014-07-26T01:36:33.981119+0000”,“level”:“fatal”,“message”:“SENSU NOT RUNNING!”}

After change “amqp” to “transport” got this error:

{“timestamp”:“2014-07-27T21:35:54.053720+0000”,“level”:“fatal”,“message”:“invalid settings”}

{“timestamp”:“2014-07-27T21:35:54.053853+0000”,“level”:“fatal”,“message”:“handler transport pipe must be a hash”,“object”:{“type”:“transport”,“exchange”:{“type”:“topic”,“name”:“metrics”,“durable”:“true”},“mutator”:“only_check_output”,“name”:“graphite”}}

{“timestamp”:“2014-07-27T21:35:54.053993+0000”,“level”:“fatal”,“message”:“SENSU NOT RUNNING!”}

now I’m trying to see the documentation for this new transport layer…

thanks

Ale

El domingo, 27 de julio de 2014 18:04:43 UTC-3, portertech escribió:

What’s the AMQP error?

On Jul 27, 2014 1:38 PM, “Alejandro Ferrari” cdg...@gmail.com wrote:

Hi guys,

Can give me some help to upgrade to 13, I have saw that after upgrade Sensu Don’t start, and have and error into AMQP connection, I read into the changelog that this was one of the main changes into this version… but here:

http://sensuapp.org/docs/latest/upgrading

Don’t add any new details about what i need change to upgrade from 12 to 13… I try a few thinks and can’t found the key for put all back to work… with the upgrade…

Thanks for any advice!

Alejandro


#7

Change “exchange” to “pipe”, put “durable” in a “options” hash. Check out the docs, under handlers. Transport type still needs more info. I’m out today.

Sean.

···

On Jul 27, 2014 2:40 PM, “Alejandro Ferrari” cdgraff@gmail.com wrote:

this be the error I got when try to start sensu 13

{“timestamp”:“2014-07-26T01:36:33.980675+0000”,“level”:“fatal”,“message”:“invalid settings”}

{“timestamp”:“2014-07-26T01:36:33.980909+0000”,“level”:“fatal”,“message”:“unknown handler type”,“object”:{“type”:“amqp”,“exchange”:{“type”:“topic”,“name”:“metrics”,“durable”:“true”},“mutator”:“only_check_output”,“name”:“graphite”}}

{“timestamp”:“2014-07-26T01:36:33.981119+0000”,“level”:“fatal”,“message”:“SENSU NOT RUNNING!”}

After change “amqp” to “transport” got this error:

{“timestamp”:“2014-07-27T21:35:54.053720+0000”,“level”:“fatal”,“message”:“invalid settings”}

{“timestamp”:“2014-07-27T21:35:54.053853+0000”,“level”:“fatal”,“message”:“handler transport pipe must be a hash”,“object”:{“type”:“transport”,“exchange”:{“type”:“topic”,“name”:“metrics”,“durable”:“true”},“mutator”:“only_check_output”,“name”:“graphite”}}

{“timestamp”:“2014-07-27T21:35:54.053993+0000”,“level”:“fatal”,“message”:“SENSU NOT RUNNING!”}

now I’m trying to see the documentation for this new transport layer…

thanks

Ale

El domingo, 27 de julio de 2014 18:04:43 UTC-3, portertech escribió:

What’s the AMQP error?

On Jul 27, 2014 1:38 PM, “Alejandro Ferrari” cdg...@gmail.com wrote:

Hi guys,

Can give me some help to upgrade to 13, I have saw that after upgrade Sensu Don’t start, and have and error into AMQP connection, I read into the changelog that this was one of the main changes into this version… but here:

http://sensuapp.org/docs/latest/upgrading

Don’t add any new details about what i need change to upgrade from 12 to 13… I try a few thinks and can’t found the key for put all back to work… with the upgrade…

Thanks for any advice!

Alejandro