Code Monkey home page Code Monkey logo

centreon-documentation's Introduction

Docs @ Centreon

Welcome to the repo for our documentation. This is the source for https://docs.centreon.com/.

Feel free to send us pull requests and file issues. Our docs are completely open source and we deeply appreciate contributions from our community!

Table of Contents

Providing feedback

We really want your feedback, and we've made it easy. You can edit a page or request changes using the "Edit this page" button at the bottom of each page.

Only file issues about the documentation in this repository.

One way to think about this is that you should file a bug here if your issue is that you don't see something that should be in the docs, or you see something incorrect or confusing in the docs.

  • If your problem is a general question about how to configure or use Centreon, ask on our community platform The Watch instead.

  • If you have an idea for a new feature or behavior change in a specific aspect of Centreon, or have found a bug in part of Centreon, file that issue in the project's code repository. You may use the contribution guide here.

Contributing

We value your documentation contributions, and we want to make it as easy as possible to work in this repository. One of the first things to decide is which branch to base your work on. If you get confused, just ask and we will help. If a reviewer realizes you have based your work on the wrong branch, we'll let you know so that you can rebase it.

To understand how the documentation is structured, you may have a look to the Docusaurus project. We're using version 2.

Pull request guidelines

Help us review your PRs more quickly by following these guidelines.

  • Try not to touch a large number of files in a single PR if possible.

  • Don't change whitespace or line wrapping in parts of a file you are not editing for other reasons. Make sure your text editor is not configured to automatically reformat the whole file when saving.

Style guide

Try not to have lines over 80 characters. Use your best judgment, and try to follow the example set by the existing documentation.

How to build the documentation locally

This website is built using Docusaurus 2, a modern static website generator.

Which branch should I base my PRs on?

Use branch staging. We will merge the PR into production once it has gone through the validation process.

Prerequisites

  1. Install yarn. On Windows: https://classic.yarnpkg.com/latest.msi

  2. Install node.js (version 14 minimum): https://nodejs.org/en/download/

  3. Clone the repository :

    git clone https://github.com/centreon/centreon-documentation.git
    
  4. If you need, create and/or check out the branch you want:

    git branch <name_of_branch>
    
    git checkout <name_of_branch>
    
  5. Install dependencies:

    yarn install --frozen-lockfile
    

Building the documentation website

  • Build the EN or FR version of the site (faster)

    • EN: yarn start
    • FR: yarn start --locale=fr

    The website opens in your browser at the following address: http://localhost:3000/. Most changes are reflected live without having to restart the server.

  • If you really need to build the whole website, use the following command (but be aware it takes a long time to build):

    yarn build
    

    Then use the npm run serve command to open the website in your browser.

Adding files to the table of contents

  • There is only 1 ToC file per version, in English. ToC files are located in the versioned_sidebars folder. For instance, the EN ToC file for version 21.10 is called version-21.10-sidebars.json.
  • For the French ToC, there is no ToC file, but a .json file which contains translated strings for chapter headings, located in the following folder: i18n\fr\docusaurus-plugin-content-docs. For instance, the FR translation file for version 21.10 is called version-21.10.json.

Making changes to the same file in different versions

If you want to make the same change to a file across different versions, you have to copy your change to each version of the doc manually (no cherrypicking).

Docusaurus documentation

If you need help with Docusaurus, read their documentation.

centreon-documentation's People

Contributors

cedricmeschin avatar cg-tw avatar cgagnaire avatar chgautier avatar christophepelichet avatar garnier-quentin avatar itoussies avatar jaltmeyer avatar jdelpierre avatar ka-foster avatar kduret avatar lchrdn avatar lpinsivy avatar melh-t avatar moujimouja avatar nmagniezcentreon avatar omercier avatar pkippes avatar pkriko avatar ponchoh avatar psamecentreon avatar sc979 avatar shonan10 avatar sims24 avatar smau-centreon avatar tanguyvda avatar thibaults-centreon avatar tuntoja avatar yanmeddour avatar zguennoune02 avatar

Stargazers

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

Watchers

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

centreon-documentation's Issues

RPM Url return 404

Describe the bug
Url error in page https://docs.centreon.com/current/fr/installation/installation-of-a-poller/using-packages.html in french version.

The RPM url http://yum.centreon.com/standard/20.10/el8/stable/noarch/RPMS/centreon-release-20.10-2.el8.centos.noarch.rpm

Return 404 errror :

 dnf install -y http://yum.centreon.com/standard/20.10/el8/stable/noarch/RPMS/centreon-release-20.10-2.el8.centos.noarch.rpm
CentOS Stream 8 - PowerTools                                                                                                      11 MB/s | 2.0 MB     00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64                                                                           719 kB/s | 557 kB     00:00
Extra Packages for Enterprise Linux 8 - x86_64                                                                                    12 MB/s | 9.3 MB     00:00
[MIRROR] centreon-release-20.10-2.el8.centos.noarch.rpm: Status code: 404 for https://yum.centreon.com/standard/20.10/el8/stable/noarch/RPMS/centreon-release-20.10-2.el8.centos.noarch.rpm (IP: 52.85.14.84)
[MIRROR] centreon-release-20.10-2.el8.centos.noarch.rpm: Status code: 404 for https://yum.centreon.com/standard/20.10/el8/stable/noarch/RPMS/centreon-release-20.10-2.el8.centos.noarch.rpm (IP: 52.85.14.84)
[MIRROR] centreon-release-20.10-2.el8.centos.noarch.rpm: Status code: 404 for https://yum.centreon.com/standard/20.10/el8/stable/noarch/RPMS/centreon-release-20.10-2.el8.centos.noarch.rpm (IP: 52.85.14.84)
[MIRROR] centreon-release-20.10-2.el8.centos.noarch.rpm: Status code: 404 for https://yum.centreon.com/standard/20.10/el8/stable/noarch/RPMS/centreon-release-20.10-2.el8.centos.noarch.rpm (IP: 52.85.14.84)
[FAILED] centreon-release-20.10-2.el8.centos.noarch.rpm: Status code: 404 for https://yum.centreon.com/standard/20.10/el8/stable/noarch/RPMS/centreon-release-20.10-2.el8.centos.noarch.rpm (IP: 52.85.14.84)
Status code: 404 for https://yum.centreon.com/standard/20.10/el8/stable/noarch/RPMS/centreon-release-20.10-2.el8.centos.noarch.rpm (IP: 52.85.14.84)

Desktop (please complete the following information):

  • OS: CentOS 8-stream

Freebox centreon API : How to install --> Procedure OK

  • curl http://"IP de la freebox"/api/v4/login/authorize -d '{"app_id":"centreon","app_name":"centreon","app_version":"3.0","device_name":"Freebox"}'
  • Autoriser sur la Freebox
  • Obtention of a Token : you will have Token ID et app_id
  • Go to on web page : http://mafreebox.freebox.fr/api/v4/login/authorize/"app_id"
    --> You can check on the webpage of the Freebox Granted access and Appllications if it's ok.
  • Go on your centreon :
    --> Host - Ip Adress : "IP of your Box"
    --> FREEBOXAPPID : "app-id"
    --> FREEBOXAPPTOKEN : "The token as you have received as is "

Debian part missing

Hi,

In the https://docs.centreon.com/docs/administration/secure-platform documentation it is missing all the debian part.
When can this be achieved?

Examples:
What is the equivalent on debian for etc/centreon/centreon.conf.php?
Also i found that the file /usr/share/centreon/config/centreon.config.php is seeking for files that does not exist (lie 21-22).
Also, for debian, apache user is www-data, not apache

Same for the installation from packages, it seems the documentation for debian has been forked with no verification (i.e dnf does not exist on debian)

Mikrotik SNMP page in the docs is missing something ?

Hi,

On this page
https://docs.centreon.com/20.04/en/integrations/plugin-packs/procedures/network-mikrotik-snmp.html
It says to install the package centreon-plugin-Network-Mikrotik-Snmp with yum, which I did :

[root@monmaster ~]# yum install centreon-plugin-Network-Mikrotik-Snmp
Modules complémentaires chargés : fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.crazyfrogs.org
 * centos-sclo-rh: centos.crazyfrogs.org
 * centos-sclo-sclo: centos.crazyfrogs.org
 * epel: fr2.rpmfind.net
 * extras: centos.crazyfrogs.org
 * updates: centos.crazyfrogs.org
Résolution des dépendances
--> Lancement de la transaction de test
---> Le paquet centreon-plugin-Network-Mikrotik-Snmp.noarch 0:20210113-100416.el7.centos sera installé
--> Résolution des dépendances terminée

Dépendances résolues

==============================================================================================================================================================================================================================================
 Package                                                                 Architecture                             Version                                                      Dépôt                                                    Taille
==============================================================================================================================================================================================================================================
Installation :
 centreon-plugin-Network-Mikrotik-Snmp                                   noarch                                   20210113-100416.el7.centos                                   centreon-stable-noarch                                    64 k

Résumé de la transaction
==============================================================================================================================================================================================================================================
Installation   1 Paquet

Taille totale des téléchargements : 64 k
Taille d'installation : 450 k
Is this ok [y/d/N]: y
Downloading packages:
centreon-plugin-Network-Mikrotik-Snmp-20210113-100416.el7.centos.noarch.rpm                                                                                                                                            |  64 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installation : centreon-plugin-Network-Mikrotik-Snmp-20210113-100416.el7.centos.noarch                                                                                                                                                  1/1 
  Vérification : centreon-plugin-Network-Mikrotik-Snmp-20210113-100416.el7.centos.noarch                                                                                                                                                  1/1 

Installé :
  centreon-plugin-Network-Mikrotik-Snmp.noarch 0:20210113-100416.el7.centos                                                                                                                                                                   

Terminé !

Then, it says to add a host in Centreon, and to choose "Net-Mikrotik-SNMP-custom" in "Templates".
But this template does not exists.

Should the yum command be enough to create this template, or is there something more to do ?

Using Centreon 20.10.0 installed with the official iso.

Thank you

add an option to applications-databases-oracle

The instructions to compile DBD-Oracle-1.80.tar.gz works fine, but the following command gives error:

perl Makefile.PL -m /usr/share/oracle/21/client64/demo/demo.mk

Issue on Cpan:
https://rt.cpan.org/Public/Bug/Display.html?id=134883

My workaround is to force the higher client version that DBD-Oracle-1.80 understand:
perl Makefile.PL -V 12.1.0 -m /usr/share/oracle/21/client64/demo/demo.mk

Is is possible to change the documentation adding -V 12.1.0 as option? Or add a note?

Thanks,

Filter some alarm centreon_vmware_connector_client

Hello all,
Currently i want to exclude some alert vCenter on Centreon, we know that this can be disable on vCenter but sadly that we don't manage it so it impossible.

here my command:

/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --mode=alarm-datacenter --custommode=connector --connector-hostname='localhost' --connector-port='5700' --container='vc353054' --filter --warning-status='%{status} =~ /yellow/i' --critical-status='%{status} =~ /red/i' --warning-total-alarm-warning='' --critical-total-alarm-warning='' --warning-total-alarm-critical='' --critical-total-alarm-critical='' --verbose --ignore-warn-msg --debug

the output:
checking datacenter 'EMEA-HCI2 Datacenter' warning: alarm [yellow] [HostSystem] [abc3.abc3] [196714Z] High pNic error rate detected. Check the host's vSAN performance view for details/Default alarm to monitor 'pNic Error Rate' critical: alarm [red] [HostSystem] [abc2.abc2] [974099Z] High pNic error rate detected. Check the host's vSAN performance view for details/Default alarm to monitor 'pNic Error Rate' warning: alarm [yellow] [HostSystem] [abc1.abc1] [196935Z] High pNic error rate detected. Check the host's vSAN performance view for details/Default alarm to monitor 'pNic Error Rate'

but i don't want alarm related to pNic Error Rate appear on Centreon, how can i fix that ?
Thank you

Deep understand the parameter --filter

I'm confuse every time i have use the paramter --filter on Centreon

My situation that example i have this output:

Checking nic
Adapter HPE Ethernet 1Gb 4-port 369i Adapter - 'Port 3' status is 'Link Down'
Adapter HPE Ethernet 1Gb 4-port 369i Adapter - 'Port 2' status is 'Unknown'
Adapter HPE Ethernet 1Gb 4-port 369i Adapter - 'Port 1' status is 'OK'
Adapter HP Ethernet 1Gb 2-port 332T Adapter - 'Port 1' status is 'Unknown'
Adapter HP Ethernet 1Gb 2-port 332T Adapter - 'Port 2' status is 'OK'

Because only 2 of 5 nic has been use so i want to skip check on another 3 port (1 link Down and 2 Unknow) , example i try to use --filter "Adapternic,HPE Ethernet 1Gb 4-port 369i Adapter - Port 2' and it working but i don't understanding how it work ? so i want to know how it working and i can use the parameter in the future .

P/S: i have search but can't found how --filter working, not sure if --filter will working same method on all plugin or it will working diffrent for each plugin.

Thank you

Additional context
Add any other context or screenshots about the feature request here.

Erreur sur la page d'installation du plugin Gsuite

Describe the bug
Sur la page d'installation du plugin Gsuite (https://docs.centreon.com/20.04/fr/integrations/plugin-packs/procedures/applications-google-gsuite-api.html) il y a une erreur dans la commande d'installation du plugin.

Expected behavior
Il faut modifier la commande décrite dans la partie "Installation", point 1 et l'autre point 1 un peu plus loin :
yum install centreon-plugin-centreon-plugin-Applications-Google-Gsuite-Api
pour
yum install centreon-plugin-Applications-Google-Gsuite-Api

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.