Skip to content
Sander Botman edited this page Feb 18, 2015 · 11 revisions

The databag information is loaded via the recipe recipes/_load_databag_config.rb
You can skip loading this configuration by setting the attribute:
node['nagios']['server']['load_databag_config'] = false

Attribute Default
default['nagios']['server']['load_databag_config'] true

Databag-names can be changed by setting the following attributes:

Attribute Default Wiki
default['nagios']['server']['load_databag_config'] true
default['nagios']['users_databag'] 'users' users
default['nagios']['services_databag'] 'nagios_services' services
default['nagios']['servicegroups_databag'] 'nagios_servicegroups' services_groups
default['nagios']['templates_databag'] 'nagios_templates' templates
default['nagios']['hosttemplates_databag'] 'nagios_hosttemplates' host_templates
default['nagios']['eventhandlers_databag'] 'nagios_eventhandlers' event_handlers
default['nagios']['unmanagedhosts_databag'] 'nagios_unmanagedhosts' unmanagedhosts
default['nagios']['serviceescalations_databag'] 'nagios_serviceescalations' escalations
default['nagios']['hostgroups_databag'] 'nagios_hostgroups' host_groups
default['nagios']['hostescalations_databag'] 'nagios_hostescalations' escalations
default['nagios']['contacts_databag'] 'nagios_contacts' contacts
default['nagios']['contactgroups_databag'] 'nagios_contactgroups' contacts
default['nagios']['servicedependencies_databag'] 'nagios_servicedependencies' service_dependencies
default['nagios']['timeperiods_databag'] 'nagios_timeperiods' time_periods
default['nagios']['users_databag_group'] 'sysadmin'
You can’t perform that action at this time.