Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Evolution - Notification sonore et popup [Downtime] #4694

Closed
jben94 opened this issue Sep 6, 2016 · 0 comments
Closed

Evolution - Notification sonore et popup [Downtime] #4694

jben94 opened this issue Sep 6, 2016 · 0 comments
Assignees
Labels
kind/enhancement status/implemented status/in-backlog A dev will begin to work on your modifications soon
Milestone

Comments

@jben94
Copy link

jben94 commented Sep 6, 2016

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.

@lpinsivy lpinsivy added this to the 2.8.0 milestone Sep 7, 2016
@lpinsivy lpinsivy added the status/in-backlog A dev will begin to work on your modifications soon label Sep 7, 2016
@kduret kduret self-assigned this Sep 7, 2016
@querwin querwin closed this as completed Sep 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/enhancement status/implemented status/in-backlog A dev will begin to work on your modifications soon
Projects
None yet
Development

No branches or pull requests

6 participants