Giter Club home page Giter Club logo

centreon-poller-display's Introduction

Centreon - IT and Application monitoring software

stable version  License  Centreon bug tracker  Official documentation  Official Slack  Official website  Official Download  Official The Watch  

Centreon Twitter  Centreon Labs Twitter  

Centreon ScreenShot

Introduction

Centreon is one of the most flexible and powerful monitoring softwares on the market; it is absolutely free and Open Source.

Getting Started

Centreon software can be set up

Supported versions

Regarding the Products Lifecycle Policy, only the following versions are supported:

  • Centreon 21.10.x, released on November 2, 2021, full support
  • Centreon 21.04.x, released on April 21, 2021, security and blocking issue support only
  • Centreon 20.10.x, released on October 21, 2020, security support only

If your version is not one of the 3 versions specified above, we recommend that you upgrade your platform immediately.

Authors

Project leaders

   

Product managers

       

Development team

                             

Quality Assurance

       

Documentation

 

See also the list of our contributors

Security Acknowledgement page

We want to thank all reporters and pentesters who help us improve our product each day.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, bug report, feature request and the process for submitting pull requests for us.

License

This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details

centreon-poller-display's People

Contributors

julienmathis avatar kduret avatar loiclau avatar lpinsivy avatar moujimouja avatar querwin avatar sc979 avatar vpalluel avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

centreon-poller-display's Issues

Empty pages with the 2.7.7 update

Hello,

When we upgrade the centreon-poller-display to the version 2.7.7 (from CES 3.3 fresh isntall for example) the pages monitoring/configuration are blank, there is no host or services displayed. But all the information arrive normally to the web interface of the central server.

ACL menu are not properly exported


BUG REPORT INFORMATION

Centreon Web version: 2.8.24

Centreon Poller Display version: 1.6.0

OS: Centos 7

Steps to reproduce the issue:

  1. Create a non admin user with custom ACL menu (i.e. only "monitoring" menu)
  2. Create a host linked to the poller display and the contact
  3. Generate configuration of the poller display
  4. Login to the poller display

Describe the results you received:
When I try to log in the poller display with the user, ACL menu are empty

Describe the results you expected:
The user has access to the menu linked to its ACL

Other test
You can make the same test with an admin user, he should have access to all menus

Freeze 0% in Generating Configuration Files under Pollers (Centreon)

Dear all,

I truly need your help to check issue when I export configuration under Pollers, seems got only the checkbox name "Generate Configuration Files" may cause. It always hang 0% and no further action, my Last Update also no changes as well..

pollers

pollers 2

Appreciate your help!
Rgds,
Hung Nguyen

Problème dans le fichier centreon-poller-display-sync.php

Bonjour,

J'ai rencontré un problème lié à la partie configuration de centreon-engine (Ligne 68).
J'ai une insertion à chaque passage du script. Je pense qu'il manque une condition.

while ($row = $DBRESULT->fetchRow()) {
    $request = "INSERT INTO nagios_server (id, name, localhost, ns_activate, ns_status, ns_ip_address) VALUES ('".$row['instance_id']."', '".$row["name"]."', '1', 1, 1, '127.0.0.1')";
    $DB->query($request);

    $request = "INSERT INTO cfg_nagios (nagios_name, nagios_server_id, interval_length, nagios_activate, command_file) VALUES ('Main file for ".$row["name"]."', '".$row["instance_id"]."', 60, '1', '/var/lib/centreon-engine/rw/centengine.cmd')";
    $DB->query($request);
}

Voici ma modification:

while ($row = $DBRESULT->fetchRow()) {
    $request = "INSERT INTO nagios_server (id, name, localhost, ns_activate, ns_status, ns_ip_address) VALUES ('".$row['instance_id']."', '".$row["name"]."', '1', 1, 1, '127.0.0.1')";
    $DB->query($request);

  $request = "SELECT * FROM cfg_nagios WHERE nagios_server_id='".$row["instance_id"]."' LIMIT 1";
  $DBRESULT2 = $DB->query($request);
  if ($DBRESULT2->numRows()>0){
      $request = "UPDATE cfg_nagios SET interval_length='60', nagios_activate='1', command_file='/var/lib/centreon-engine/rw/centengine.cmd' WHERE nagios_server_id='".$row["instance_id"]."'";
  }else{
      $request = "INSERT INTO cfg_nagios (nagios_name, nagios_server_id, interval_length, nagios_activate, command_file) VALUES ('Main file for ".$row["name"]."', '".$row["instance_id"]."', 60, '1', '/var/lib/centreon-engine/rw/centengine.cmd')";
  }
  $DB->query($request);
}

[BAM] PollerDisplay not working when Centreon BAM is only installed on the Central

Centreon version : 2.8.8
Centreon Poller Display : 1.6.0
Centreon BAM : 3.5.3 on Centreon central

Steps to reproduce the issue:

  1. Configure a poller display
  2. DO NOT install Centreon BAM on it
  3. Define the poller as a poller display using the poller-display-central wizard
  4. Generate & export the configuration
  5. Check the log file of the poller-display cron
  6. See that there are errors in the cron that insert the SQL files : it tries to insert data into mod_bam_impacts but this table doesn't exist 'cause there is no Centreon BAM installed

ERROR 1146 (42S02) at line 19: Table 'centreon.mod_bam_impacts' doesn't exist

Describe the results you expected:

Centreon BAM configuration SQL should not be sent to poller display that are not used as additionnal BAM poller

Probleme Custom Views/ServiceGroups

Bonjour

Sur une custo view d'un poller display, je ne peux pas crée un widget de service avec un filtre de servicegroup.
Le menu déroulant servicegroup est vide, ainsi que la table dans mysql.
Dans l'onglet monitoring, les servicegroup
pb_custo_view
sont présent.

Merci d'avance

[BAM] All BAs are exported as soon as a poller is declared as a poller display

Centreon Web version: 2.8.24
Centreon BAM : 3.6.2
Centreon Poller Display : 1.6.0

Steps to reproduce the issue:

  1. Have Centreon BAM on the central server & the poller display
  2. Declare the poller as a poller display
  3. Do not associate any BA to additional poller

Describe the results you received:
ALL the BA are sent to the poller display

Describe the results you expected:
NO BA should be sent

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

It has been fixed here with that PR : 7704594

The packet "MariaDB-server" is missing

Hello,

When we install centreon-poller-display (1.5.2-2) on an existing poller, after installing the 2 packages centreon-base-config-centreon-engine centreon-poller-display, there is an error message when we install the web interface:
error1

We need to install manually the packet "MariaDB-server" to solve the problem.

Duplicate poller in poller display list

CENTREON 2.7.11
POLLER DISPLAY 1.6.0

Hi,
When I add a poller in "Configuration -> Poller -> Poller-display", it appears several times.
I try to remove duplicates but when I clic on "save" they reappear.

bug-poller-display-central

Regards

Problème lors d'ajout d'hôtes/services

Bonjour,

Lors de l'ajout d'un équipement sur notre central, des erreurs de base de données (Côté poller-Display) apparait sur les deux tables suivantes "acknowledgements" et "comments".

[1470050027] error: SQL: could not execute prepared statement: Cannot add or update a child row: a foreign key constraint fails (centreon_storage.acknowledgements, CONSTRAINT acknowledgements_ibfk_1 FOREIGN KEY (host_id) REFERENCES hosts (host_id) ON DELETE CASCADE) QMYSQL3: Unable to execute statement
[1470050075] error: SQL: could not execute prepared statement: Cannot add or update a child row: a foreign key constraint fails (centreon_storage.comments, CONSTRAINT comments_ibfk_1 FOREIGN KEY (host_id) REFERENCES hosts (host_id) ON DELETE CASCADE) QMYSQL3: Unable to execute statement

A la suite d'un nouvel import de ces tables entre notre central et notre poller, le display-poller refonctionne correctement.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.