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
574 stars 240 forks source link

Submit result via Rest-API writes directly to centcore pipe #6691

Open Iralein opened 6 years ago

Iralein commented 6 years ago

BUG REPORT INFORMATION

Centreon Web version: 2.8.25 Centreon Engine version: 1.8.1-1 Centreon Broker version: 3.0.14 OS: CES Additional environment details (AWS, VirtualBox, physical, etc.): Physical

Steps to reproduce the issue:

  1. Use method submit result via REST-API with a lot of clients (aka passive services)
  2. You'll get false positive alerts from freshness. Root cause: REST-API answer will be "Can't open centcore pipe" in case of concurrent write-processes.

Describe the results you received: You'll get false positive alerts from freshness. Root cause: REST-API answer will be "Can't open centcore pipe" in case of concurrent write-processes.

Describe the results you expected: REST-API is writing directly into the pipe file of centcore. This leeds to concurrency problems. It would be better to write some ramdom files into the centcore directory and let centcore pick them up.

Additional information you think important (e.g. issue happens only occasionally):

Sims24 commented 6 years ago

Hey there,

Think we should apply a fix like what we've done about downtimeManager.php . Otherwise it will happen more and more often I guess.

lpinsivy commented 6 years ago

We should write on centcore directory

Iralein commented 5 years ago

Do you have any timeline to get this fixed?

Iralein commented 5 years ago

Problem still exists with Centreon 18.10.2