This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
Evolution - Notification sonore et popup [Downtime] #4694
Labels
kind/enhancement
status/implemented
status/in-backlog
A dev will begin to work on your modifications soon
Milestone
Version centreon WEB : 2.7.6
Bonjour,
Est-ce que vous pouvez rajouter soit en option via la page de configuration utilisateur ou soit forcé, la possibilité de désactiver les alertes sonore et popup lorsque un équipement est en "Downtime" ?
Voici les modifications que j'ai effectués, dans "include/monitoring/status/Notifications/broker/notifications.php" :
$sql = "SELECT name, description, s.state
FROM services s, hosts h %s
WHERE h.host_id = s.host_id
AND s.last_hard_state_change > (UNIX_TIMESTAMP(NOW()) - ".(int)$refresh_rate.")
AND s.scheduled_downtime_depth='0'
%s
UNION
SELECT name, NULL, h.state
FROM hosts h %s
WHERE h.last_hard_state_change > (UNIX_TIMESTAMP(NOW()) - ".(int)$refresh_rate.")
AND h.scheduled_downtime_depth='0'
%s";
Pour le moment je n'ai pas pu tester ces modifications.
The text was updated successfully, but these errors were encountered: