shoekstra on use_nginx
tas50 on master
Depend on nginx instead of chef… Use nginx >= 7.0 Merge pull request #552 from so… (compare)
shoekstra on use_nginx
Use nginx >= 7.0 (compare)
shoekstra on use_nginx
Depend on nginx instead of chef… (compare)
shoekstra on release_8.0.0
Release 8.0.0 (compare)
shoekstra on use_nginx
Depend on nginx instead of chef… (compare)
Guys, another question, sorry if it is a stupid one.
I have nagios config file with about 100 definitions for services. It looks like:
define service{
use fine-vone-service
host_name fine-services-web
service_description API authenticaion for 192.168.220.244
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 10
retry_check_interval 2
notification_interval 20
notification_period 24x7
check_command check_fine_login!192.168.220.244
}
define service{
use fiine-vone-service
host_name fine-services-web
service_description API authentication for 192.168.220.245
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 10
retry_check_interval 2
notification_interval 20
notification_period 24x7
check_command check_fine_login!192.168.220.245
}
I've already prepared them for nagios_service definitions, by converting into hashes. From the link above, service should be defined like:
nagios_service 'default-service' do
What I should pass into nagios_service instead of 'default-service' ?
As you can see I do not have names in my current nagios configs.
Thanks!
nagios_service "bla" do
within a recipe, sets bla as the service_description in the object..# $Id: Generated by chef for node: devops
# ----------------------------------------------------------------
# NOTE: This file is controlled by chef templates!
# Do not edit or change this file but change the following:
# template file : hostgroups.cfg.erb
# ----------------------------------------------------------------
# Hostgroup definitions
# ----------------------------------------------------------------
define hostgroup {
hostgroup_name all
alias all
members *
}
define hostgroup {
hostgroup_name general
members chef,devops,elk,jira
}
define hostgroup {
hostgroup_name linux
members chef,devops,elk,jira
}
define hostgroup {
hostgroup_name monitoring
members devops
}
define hostgroup {
hostgroup_name production-admin
members chef,devops,elk,jira
}