[chef] Re: Re: Re: Re: nagios hostgroup


Chronological Thread 
  • From: Morgan Blackthorne < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: Re: nagios hostgroup
  • Date: Thu, 10 Oct 2013 12:52:30 -0700

What you probably want is to define two NSClient++/NRPE checks, one on storage, and one on oldstorage, varying on the drive letters (but named the same, which you can do in a recipe). Then your service definition would apply to both hostgroups and the variation will be handled by the underlying nodes themselves.

--
~*~ 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 Thu, Oct 10, 2013 at 12:39 PM, Nikhil Shah < " target="_blank"> > wrote:
That was exactly what I was looking for:

{
  ...
  "hostgroup_name": "storage,oldstorage"
}


I am assuming this, depending on which role you pass to a node, would use this server.  I wasn't sure if the above would be accepted. 

Nikhil Shah  System Administrator

The Orchard® / www.theorchard.com

23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com
Facebook / @orchtweets

Privileged And Confidential Communication.
This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and (c) are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited.
 

On Oct 10, 2013, at 3:12 PM, Morgan Blackthorne < " target="_blank"> > wrote:

{
  ...
  "hostgroup_name": "storage,oldstorage"
}






Archive powered by MHonArc 2.6.16.

§