centreon/centreon-archived

Impossible to delete comments for svc in distant poller

Opened this issue · 11 comments

BUG REPORT INFORMATION

Prerequisites

The opened issue, must be code related. GitHub is not meant for support. Feel free to check the CONTRIBUTING section for more details.

Centreon 21.04.2

centreon-21.04.2-15.el7.centos.noarch
centreon-auto-discovery-server-21.04.0-1.el7.centos.noarch
centreon-awie-21.04.0-1.el7.centos.noarch
centreon-base-config-centreon-engine-21.04.2-15.el7.centos.noarch
centreon-broker-21.04.1-1.el7.centos.x86_64
centreon-broker-cbd-21.04.1-1.el7.centos.x86_64
centreon-broker-cbmod-21.04.1-1.el7.centos.x86_64
centreon-broker-core-21.04.1-1.el7.centos.x86_64
centreon-broker-storage-21.04.1-1.el7.centos.x86_64
centreon-clib-21.04.1-1.el7.centos.x86_64
centreon-common-21.04.2-15.el7.centos.noarch
centreon-connector-21.04.1-2.el7.centos.x86_64
centreon-connector-perl-21.04.1-2.el7.centos.x86_64
centreon-connector-ssh-21.04.1-2.el7.centos.x86_64
centreon-database-21.04.2-15.el7.centos.noarch
centreon-engine-21.04.2-3.el7.centos.x86_64
centreon-engine-daemon-21.04.2-3.el7.centos.x86_64
centreon-engine-extcommands-21.04.2-3.el7.centos.x86_64
centreon-gorgone-21.04.1-1.el7.centos.noarch
centreon-gorgone-centreon-config-21.04.1-1.el7.centos.noarch
centreon-license-manager-21.04.0-1.el7.centos.noarch
centreon-license-manager-common-21.04.0-1.el7.centos.noarch
centreon-map-release-3.4-4.el7.centos.noarch
centreon-nrpe-daemon-2.15-4.el7.centos.x86_64
centreon-perl-libs-21.04.2-15.el7.centos.noarch
centreon-poller-centreon-engine-21.04.2-15.el7.centos.noarch
centreon-pp-manager-21.04.0-1.el7.centos.noarch
centreon-release-21.04-4.el7.centos.noarch
centreon-trap-21.04.2-15.el7.centos.noarch
centreon-web-21.04.2-15.el7.centos.noarch
centreon-widget-engine-status-21.04.0-1.el7.centos.noarch
centreon-widget-global-health-21.04.0-1.el7.centos.noarch
centreon-widget-graph-monitoring-21.04.0-1.el7.centos.noarch
centreon-widget-grid-map-21.04.0-1.el7.centos.noarch
centreon-widget-hostgroup-monitoring-21.04.0-1.el7.centos.noarch
centreon-widget-host-monitoring-21.04.0-2.el7.centos.noarch
centreon-widget-httploader-21.04.0-3.el7.centos.noarch
centreon-widget-live-top10-cpu-usage-21.04.0-1.el7.centos.noarch
centreon-widget-live-top10-memory-usage-21.04.0-1.el7.centos.noarch
centreon-widget-servicegroup-monitoring-21.04.0-1.el7.centos.noarch
centreon-widget-service-monitoring-21.04.0-1.el7.centos.noarch
centreon-widget-tactical-overview-21.04.0-1.el7.centos.noarch

Browser used

  • [x ] Google Chrome
  • [ x] Firefox
  • Internet Explorer IE11
  • Safari

Description

Impossible to delete comments for services.

Steps to Reproduce

Please describe precisely the steps to reproduce the encountered issue.

  1. I logged in Centreon
  2. I reached the comment page
  3. Select comment on services to delete
  4. click delete buton
  5. nothing hapen

Describe the received result

The comments isn't deleted

Describe the expected result

the comments should be deleted

Logs

in gorgoned log for central I have:
[1634209062] DEL_SVC_COMMENT;386
[1634209062] DEL_SVC_COMMENT;295
[1634209062] DEL_SVC_COMMENT;256
[1634209062] DEL_SVC_COMMENT;248
[1634209062] DEL_SVC_COMMENT;240
[1634209062] DEL_SVC_COMMENT;238
[1634209062] DEL_SVC_COMMENT;76
[1634209062] DEL_SVC_COMMENT;41
[1634209062] DEL_SVC_COMMENT;125
[1634209062] DEL_SVC_COMMENT;16
[1634209062] DEL_SVC_COMMENT;55'

But nothing in gogoned's log for the poller and nothing in centengine's log for the poller

Additional relevant information (e.g. frequency, ...)

Hi @cedrobert can you check if Gorgone on the distant poller is running and connected to the gorgone of the Central server?

Yes of course, gorgoned is started and connected.
Other function such reskedule check is working fine.

Can you check in /var/log/centreon-engine/retention.dat if the comment is present?

Yes they are preset in the file on poller.

Hello,

I have the same problem on 20.10 :

Central :

2021-12-02 16:51:35 - INFO - [legacycmd] Handling command 'EXTERNALCMD', Target: '11', Parameters: '[1638460293] DEL_SVC_COMMENT;6'
2021-12-02 16:51:35 - INFO - [engine] Processing external command '[1638460293] DEL_SVC_COMMENT;6'

Not a word on the Poller.

Gorgone : centreon-gorgone-20.10.5-1.el7.centos.noarch
Engine : centreon-engine-20.10.6-5.el7.centos.x86_64

the problem persists even after an update to centreon 21.04.9

Can I have some news?

Can I have some news?

Hi @lpinsivy any news from this bug ?

Hi @lpinsivy any news from this bug ?