3
4
5
6
7
8
9
10
11
12
13
14
15
|
# File 'app/models/setting/monitoring.rb', line 3
def self.default_settings
[
set('monitoring_affect_global_status',
_("Monitoring status will affect a host's global status when enabled"),
true, N_('Monitoring status should affect global status')),
set('monitoring_create_action',
_('What action should be taken when a host is created'),
'create', N_('Host Create Action'), nil, { :collection => proc { ::Monitoring::CREATE_ACTIONS } }),
set('monitoring_delete_action',
_('What action should be taken when a host is deleted'),
'delete', N_('Host Delete Action'), nil, { :collection => proc { ::Monitoring::DELETE_ACTIONS } })
]
end
|