You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: data/check_list
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
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;
2
2
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;
4
4
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;
5
5
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
6
6
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