Skip to content

Commit b08181a

Browse files
authored
Update check_list
error on downtime cancelled but not deletion time check
1 parent 88afa8e commit b08181a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/check_list

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SQL|||Check if metrics has no service or host linked|||SELECT DISTINCT COUNT(metric_id) FROM centreon_storage.metrics WHERE index_id IS NULL|||value;;;0;;;=;;;error|||DELETE FROM centreon_storage.metrics WHERE index_id IS NULL;
22
SQL|||Check if hosts is more than license limit|||SELECT COUNT(*) FROM centreon.host WHERE host_register='1'|||cmd;;;nb=`/usr/bin/env grep -Po '(?<="hosts":)[^,]*' /etc/centreon/license.d/epp.license`;if [[ $nb -eq -1 ]]; then /usr/bin/env echo 99999999;else /usr/bin/env echo $nb; fi;;;<;;;error|||https://docs.centreon.com/docs/administration/licenses/#your-epp-license-is-not-valid
3-
SQL|||Check if some downtimes are cancelled with no deletion time|||SELECT COUNT(*) FROM centreon_storage.downtimes WHERE cancelled = "0" AND deletion_time is NULL|||value;;;0;;;=;;;error|||DELETE FROM centreon_storage.downtimes WHERE cancelled = "0" AND deletion_time is NULL;
3+
SQL|||Check if some downtimes are cancelled with no deletion time|||SELECT COUNT(*) FROM centreon_storage.downtimes WHERE cancelled = "1" AND deletion_time is NULL|||value;;;0;;;=;;;error|||DELETE FROM centreon_storage.downtimes WHERE cancelled = "1" AND deletion_time is NULL;
44
SQL|||Check if some service template has itself as parent|||SELECT COUNT(*) FROM centreon.service WHERE service_register = '0' and service_id=service_template_model_stm_id|||value;;;0;;;=;;;error|||Please check with sql request : SELECT service_id, service_template_model_stm_id, service_description FROM centreon.service WHERE service_register = '0' and service_id=service_template_model_stm_id;
55
SQL|||Check if the local admin is blocked|||SELECT COUNT(*) FROM centreon.contact WHERE blocking_time IS NOT NULL AND contact_id = 1|||value;;;0;;;=;;;error|||Please see this link : https://support.centreon.com/hc/en-us/articles/10342991678609--User-is-blocked-error-message-on-Centreon-login-page
66
SQL|||Check if somes hosts are in status ressource but not in configuration|||SELECT COUNT(*) FROM centreon_storage.hosts WHERE host_id NOT IN (SELECT host_id FROM centreon.host)|||value;;;0;;;=;;;error|||DELETE FROM centreon_storage.hosts WHERE host_id NOT IN (SELECT host_id FROM centreon.host);

0 commit comments

Comments
 (0)