- From: Nikhil Shah <
>
- To:
- Subject: [chef] nagios services file
- Date: Thu, 5 Sep 2013 10:41:52 -0400
I've created the following data bags:
/chef-repo/data_bags/nagios_contacts/nagios_contacts.json
{
"id": "systems",
"alias": "systems",
"use": "default-contact",
}
/chef-repo/data_bags/nagios_contactgroups/nagios_contactgroups
{
"id": "it",
"alias": "Non-Administrator Contacts",
"members": "systems"
}
/chef-repo/data_bags/nagios_services/all_ping.json
{
"id": "ping",
"hostgroup_name": "all",
"command_line": "$USER1$/check_ping $HOSTADDRESS$ -w 100.0,20% -c 500.0,60%",
"servicegroups": "ops",
"contact_groups": "it"
}
So why is it that when I do a chef-client, I am getting this and no where is the contact_groups being defined:
}
define service {
service_description ping
hostgroup_name all
check_command check_ping
use default-service
servicegroups ops
}
Also, some of the other services are using other service groups and that is not being reflected in the services.cfg even the data bags are all up to date.
Any assistance would be appreciated.
--
Nikhil Shah / System Administrator
nshah@theorchard.com
The Orchard® / www.theorchard.com
t (+1) 212.308.5648 / f (+1) 212.201.9203
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
- [chef] nagios services file, Nikhil Shah, 09/05/2013
Archive powered by MHonArc 2.6.16.