centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
578 stars 240 forks source link

Log the user who delete or cancel a downtime #12039

Open StefThomas opened 1 year ago

StefThomas commented 1 year ago

Hi,

Feature explanation

Currently we know which user set a downtime, but we don’t know which user delete or cancel one. We would like to be able to know this information.

What is the value of the wanted feature ?

Ease the troubleshooting of problems related to downtimes.

Additional information

In centengine.log we can see the user and the comment when setting a downtime:

[1666758603] [114936] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;HOST-APP-PRD;App-APP-URL-Status;1666758600;1666845000;1;0;;cx.user;'Service Group SG_APP-PRD set by TXXWEB00_OP'

but the removing of the downtime has no information except the downtime ID:

[1666759438] [114936] EXTERNAL COMMAND: DEL_SVC_DOWNTIME;83842

I’m not sure if it’d been better to open this feature request in the centreon-engine repository or in this one, hence this one. Do not hesitate to transfer it (if it’s possible).

Best regards.

ponchoh commented 1 year ago

In case anyone wants to join the party

🍰

https://thewatch.centreon.com/ideas/added-log-to-know-who-deleted-a-downtime-1040