forked from ISTI-ansible-roles/ansible-roles
56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
---
|
|
monitoring_group_name: 'change_this_on_your_playbook'
|
|
#nagios_server_local_plugdir: 'change_this_on_your_playbook'
|
|
|
|
nagios_plugdir: /usr/lib/nagios/plugins
|
|
nagios_plugins_dir: '{{ nagios_plugdir }}'
|
|
nagios_centos_plugins_dir: /usr/lib64/nagios/plugins
|
|
nagios_isti_plugdir: '{{ nagios_plugdir }}/isti-cnr'
|
|
nagios_common_lib: check_library.sh
|
|
# Needed inside nrpe.cfg
|
|
# It is already defined in isti-global.yml
|
|
#nagios_monitoring_server_ip: 146.48.123.23
|
|
nagios_check_disk_w:
|
|
nagios_check_disk_c:
|
|
nagios_hw: False
|
|
nagios_check_disk_w: 10
|
|
nagios_check_disk_c: 5
|
|
nagios_allowed_users: root
|
|
|
|
nagios_monitoring_obj_dir: /etc/nagios3/objects
|
|
nagios_monitoring_dir: '{{ nagios_monitoring_obj_dir }}/{{ monitoring_group_name }}'
|
|
|
|
nagios_server_files:
|
|
- contacts.cfg
|
|
- contactgroups.cfg
|
|
- generic-service.cfg
|
|
- generic-host.cfg
|
|
- hostgroups.cfg
|
|
- hosts.cfg
|
|
- services.cfg
|
|
- commands.cfg
|
|
|
|
nagios_psql_query_time_w: 40
|
|
nagios_psql_query_time_c: 60
|
|
nagios_psql_db_size_w: 150000000
|
|
nagios_psql_db_size_c: 170000000
|
|
|
|
nrpe_command_timeout: 420
|
|
nrpe_include_dir: /etc/nagios/nrpe.d/
|
|
|
|
# Old stuff. To be deleted
|
|
nagios:
|
|
plugins_dir: '{{ nagios_plugdir }}'
|
|
centos_plugins_dir: '{{ nagios_centos_plugins_dir }}'
|
|
isti_plugdir: '{{ nagios_isti_plugdir }}'
|
|
common_lib: '{{ nagios_common_lib }}'
|
|
# Needed inside nrpe.cfg
|
|
monitoring_server_ip: '{{ nagios_monitoring_server_ip }}'
|
|
check_disk_w: '{{ nagios_check_disk_w }}'
|
|
check_disk_c: '{{ nagios_check_disk_c }}'
|
|
|
|
nrpe:
|
|
command_timeout: '{{ nrpe_command_timeout }}'
|
|
include_dir: '{{ nrpe_include_dir }}'
|
|
|