Linode Ohai data / Nagios cookbook bug?

Ran into a bug when trying to set up some Linode servers as Nagios clients
this weekend, and filed http://tickets.opscode.com/browse/COOK-3263 on it.
I’m not sure if the error is really on the Ohai side or the cookbook side,
so some broader visibility of the issue might help. :slight_smile:

If it’s the cookbook side, I can patch it myself, but if it’s on the Ohai
side of things, I’m not even sure where to start.


~~ StormeRider ~~

“Every world needs its heroes […] They inspire us to be better than we
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… http://bit.ly/Ps3uSS

its a bug i think, coming from ohai , the cloud plugin (
ohai/lib/ohai/plugins/cloud.rb at main · chef/ohai · GitHub)
uses wrong key to assign the public_ipv4 value from linode plugin (
ohai/lib/ohai/plugins/linode.rb at main · chef/ohai · GitHub)
, not the linode plugin provides public_ip , while the cloud plugin access
public_ipv4 key (which is not present), let me send a patch,

On Mon, Jul 1, 2013 at 3:17 PM, Morgan Blackthorne stormerider@gmail.comwrote:

Ran into a bug when trying to set up some Linode servers as Nagios clients
this weekend, and filed http://tickets.opscode.com/browse/COOK-3263 on
it. I'm not sure if the error is really on the Ohai side or the cookbook
side, so some broader visibility of the issue might help. :slight_smile:

If it's the cookbook side, I can patch it myself, but if it's on the Ohai
side of things, I'm not even sure where to start.

--
~~ StormeRider ~~

"Every world needs its heroes [...] They inspire us to be better than we
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS

Thanks!

--
~~ StormeRider ~~

"Every world needs its heroes [...] They inspire us to be better than we
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS

On Mon, Jul 1, 2013 at 4:03 PM, Ranjib Dey dey.ranjib@gmail.com wrote:

its a bug i think, coming from ohai , the cloud plugin (
ohai/lib/ohai/plugins/cloud.rb at main · chef/ohai · GitHub)
uses wrong key to assign the public_ipv4 value from linode plugin (
ohai/lib/ohai/plugins/linode.rb at main · chef/ohai · GitHub)
, not the linode plugin provides public_ip , while the cloud plugin access
public_ipv4 key (which is not present), let me send a patch,

On Mon, Jul 1, 2013 at 3:17 PM, Morgan Blackthorne stormerider@gmail.comwrote:

Ran into a bug when trying to set up some Linode servers as Nagios
clients this weekend, and filed
http://tickets.opscode.com/browse/COOK-3263 on it. I'm not sure if the
error is really on the Ohai side or the cookbook side, so some broader
visibility of the issue might help. :slight_smile:

If it's the cookbook side, I can patch it myself, but if it's on the Ohai
side of things, I'm not even sure where to start.

--
~~ StormeRider ~~

"Every world needs its heroes [...] They inspire us to be better than we
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS