Centreon插件nagvis

=======================================

http://docs.nagvis.org/1.8/en_US/index.html

https://documentation.centreon.com/docs/centreon-nagvis/en/latest/Install/Nagvis_backend.html

http://www.sugarbug.web4me.fr/atelier/techniques/ihmweb/cartographie_supervision/centreon-nagvis/

=======================================

1. yum -y install centreon-nagvis  graphviz git

2.wget http://www.nagvis.org/share/nagvis- 1.7.10.tar.gz 

3.tar xzvf nagvis-1.7.10.tar.gz && cd nagvis-1.7.10

./install.sh

****Please enter the path to the nagios base directory [/usr/local/nagios]: /usr/share/centreon-engine/****

4.git clone https://github.com/centreon/centreon-nagvis-backend

    cp GlobalBackendcentreonbroker.php /usr/local/nagvis/share/server/core/classes/

    chown apache:apache  /usr/local/nagvis/share/server/core/classes/GlobalBackendcentreonbroker.php

    chmod 664 /usr/local/nagvis/share/server/core/classes/GlobalBackendcentreonbroker.php

5.add the following section at the end of the file “/usr/share/nagvis/etc/nagvis.ini.php” with the information for the database:

[backend_centreonbroker_1]

backendtype=”centreonbroker”
dbhost=”localhost”
dbport=3306
dbname=”centreon_storage”
dbuser=”centreon”
dbpass=”centreon”

 

 

posted on 2016-01-04 18:07  baxk2001  阅读(457)  评论(0编辑  收藏  举报

导航