Commit Graph

34 Commits

Author SHA1 Message Date
Andrea Dell'Amico d2db6b59bf library/roles/nagios/tasks/nagios.yml: Restart, not reload, the nrpe server after changing the tasks. 2018-01-26 16:50:41 +01:00
Andrea Dell'Amico f4fad43867 nagios: always install the nagios-plugins-contrib package. 2018-01-15 18:44:28 +01:00
Andrea Dell'Amico 97f8901dbc nagios: the Dell repository slightly changed, adapt to it.
SAN hosts: configure dlibsan11.san.research-infrastructures.eu, see https://support.d4science.org/issues/10937
2018-01-15 18:24:40 +01:00
Andrea Dell'Amico 874be418a0 Change the nagios network check so that it does not go critical if the docker interface is down. 2017-11-23 16:54:10 +01:00
Andrea Dell'Amico d93cb21b89 nagios check_memory: report the data in MB instead of GB. 2017-10-30 15:41:31 +01:00
Andrea Dell'Amico 3d190e5666 nagios: The check_load warning and critical limits are now variables. Add the -r option to the check_load plugin so that the returned load is divided by the number of available CPUs. 2017-10-11 16:19:41 +02:00
Andrea Dell'Amico 0a378caa58 library/roles/nagios/templates/check_library.sh.j2: Fix typos. 2017-06-02 15:34:17 +02:00
Andrea Dell'Amico 141dd0d758 library/roles/nagios/templates/check_library.sh.j2: Add a name to the nagios exit codes. 2017-06-02 13:19:13 +02:00
Andrea Dell'Amico d414d516be library/roles/nagios/templates/postgresql-nrpe.cfg.j2: Do not fail when psql_db_data is not defined. 2017-03-07 16:36:06 +01:00
Andrea Dell'Amico a46a338bf8 library/roles/nagios: Add a check for the postgresql wal files. 2017-02-15 15:55:48 +01:00
Andrea Dell'Amico c148463d95 d4science-ghn-cluster/group_vars/ckan_postgres/ckan_postgres.yml: Increase the query duration warning and critical values. 2017-02-15 13:52:10 +01:00
Andrea Dell'Amico 82d24fc22e d4science-ghn-cluster: Add dedicated nagios checks for the postgresql databases. 2017-02-15 11:52:27 +01:00
Andrea Dell'Amico d0ca5c3aa6 library/roles/nagios/tasks/nagios.yml: Fix the installation of nagios-plugins-contrib. 2016-11-17 16:35:26 +01:00
Andrea Dell'Amico 597db93a0c library/roles/haproxy: nagios NRPE check that extracts data from the haproxy socket. 2016-08-11 13:02:22 +02:00
Andrea Dell'Amico 3ca51211af library/roles/nagios/templates/common-nrpe.cfg.j2: Fix the command names. 2016-07-28 13:18:00 +02:00
Andrea Dell'Amico 80c6b54497 library/roles/nagios/templates/common-nrpe.cfg.j2: Add memory and swap checks to the common nrpe commands. 2016-07-28 11:17:24 +02:00
Andrea Dell'Amico 2f45446416 library/roles/nagios/tasks/nagios.yml: Update the cache before installing packages. 2016-07-27 19:26:47 +02:00
Tommaso Piccioli 6a2efe3c03 New self-made script to check warranty on xen and san Dell hosts 2016-07-22 14:23:00 +02:00
Andrea Dell'Amico 68f076b334 library/roles: nagios-plugins-contrib is not available on ubuntu 12.04 2016-06-21 14:03:02 +02:00
Andrea Dell'Amico d97d521bdc library/roles/nagios/tasks/nagios.yml: Fix the conditional on the task that installs the additional packages. 2016-03-31 13:41:38 +02:00
Andrea Dell'Amico eb23e1d714 infrastructure-services: Same ganglia cluster for all.
infrastructure-services/roles/shell_servers: Install the foreman callback for ansible.
library/roles/ansible_ppa, library/roles/nagios: Ansible 2 compatibility fixes.
2016-03-15 20:25:54 +01:00
Andrea Dell'Amico 97c76be1d3 library/roles/nagios/templates/common-nrpe.cfg.j2: Use the check_raid plugin.
nemis-xen/group_vars/dom0-dell/main.yml: Special case for the Dell hardware when the distribution is debian.
2016-02-11 12:35:06 +01:00
Andrea Dell'Amico e7955a7acb library/roles/nagios/templates/common-nrpe.cfg.j2: Use the native check_raid plugin. 2016-02-10 12:57:38 +01:00
Andrea Dell'Amico 4f7b300729 library/roles/ubuntu-deb-general: Some fixes.
xen/hosts: Remove dlib0x.
san: Fixes.
2015-11-08 21:56:27 +01:00
Tommaso Piccioli 3390920d0f Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2015-08-31 11:50:07 +02:00
Tommaso Piccioli 2b353f924f apikey changed for api.dell.com access 2015-08-31 11:48:49 +02:00
Andrea Dell'Amico 372d856260 xen: add two nodes to the ganeti cluster. Try to fix the xm/xl mess. 2015-08-11 18:12:41 +02:00
Andrea Dell'Amico e816d11be1 library/roles/nagios/defaults/main.yml: Explicitly install a Dell OMSA package that's not listed as a dependency but it's required. 2015-08-07 19:12:03 +02:00
Andrea Dell'Amico 0ab5593d7d library/roles/nagios, xen: Various fixes to add debian 8 compatibility. 2015-08-07 18:20:09 +02:00
Andrea Dell'Amico bb1d5ceebb library/roles/nagios: Fix the Dell repository URL. It changed again.
library/roles/nagios/files/check_openmanage: new version of the check, fixes some bugs.
xen/roles/monitoring/templates/xen-nrpe.cfg.j2: Run the newest version of check_openmanage.
2015-07-20 17:12:49 +02:00
Andrea Dell'Amico d9d908e1a2 library/roles/ssh-keys: New key for Katerina. 2015-07-15 15:35:29 +02:00
Andrea Dell'Amico 03a9c656be library/roles/nagios: manage more than allowed IP in the nrpe access list.
library/roles/nagios: conditionally use users_system_users to allow unprivileged users in the nrpe users check.
library/vars/isti-global.yml: add a second IP for nagios.
2015-07-15 13:53:12 +02:00
Andrea Dell'Amico 50ec72e142 library/roles/nagios: some cleanup 2015-07-08 18:29:49 +02:00
Andrea Dell'Amico 73d37f81a6 Major refactoring. Moved all the library roles under 'library/roles' and changed all the occurrances inside all the playbooks. 2015-05-28 11:32:57 +02:00