ansible-roles/nagios/defaults/main.yml

39 lines
1.0 KiB
YAML
Raw Normal View History

---
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_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/