Giter Club home page Giter Club logo

centreon-nagvis's People

Contributors

dam09fr avatar kduret avatar qdelance avatar querwin avatar

Stargazers

 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

centreon-nagvis's Issues

I can't see nagvis..

Hi, I have this problem. Centreon Web: 2.6.6, Nagvis: 1.8.5
I can't see Nagvis from centreon... in my httpd logs I have this
[Thu May 31 17:05:40 2018] [error] [client XXX.XX.XX.XXX PHP Parse error: syntax error, unexpected '/' in /usr/local/centreon/www/modules/centreon-nagvis/index.php on line 22, referer: https://XXX.XX.XX.XX/centreon/main.php?p=403

But in index.php all seems to be OK.. It was working a few days ago...

Incompatible with recent Nagvis

With Nagvis 1.9b2, I have:

mod_fcgid: stderr: PHP Fatal error:  Cannot redeclare debug() (previously declared in /usr/share/centreon/www/modules/centreon-nagvis/index.php:158) in /usr/local/share/nagvis/share/server/core/functions/debug.php on line 43, 
mod_fcgid: stderr: PHP Fatal error:  Cannot redeclare get_error() (previously declared in /usr/share/centreon/www/include/common/common-Func.php:1751) in /usr/local/share/nagvis/share/server/core/functions/html.php on line 67, 
mod_fcgid: stderr: PHP Fatal error:  Cannot redeclare microtime_float() (previously declared in /usr/share/centreon/www/header.php:40) in /usr/local/share/nagvis/share/server/core/functions/debug.php on line 70, 

and maybe more...

Error: (0) preg_replace()

Bonjour,

J'ai une erreur sur la vue centreon-nagvis :

Pierre Gilbaud Write :

Error: (0) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead (/usr/local/centreon/GPL_LIB/Smarty/libs/Smarty_Compiler.class.php:270)
#0 [internal function]: nagvisExceptionErrorHandler(8192, 'preg_replace():...', '/usr/local/cent...', 270, Array)
#1 /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty_Compiler.class.php(270): preg_replace('~{_(._?)*}|...', ''{php' . str_re...', '{literal}\n #2 /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty.class.php(1491): Smarty_Compiler->_compile_file('nagvis.ihtml', '{literal}\n #3 /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty.class.php(1424): Smarty->_compile_source('nagvis.ihtml', '{literal}\n #4 /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty.class.php(1256): Smarty->_compile_resource('nagvis.ihtml', '../GPL_LIB/Smar...')
#5 /usr/local/centreon/GPL_LIB/Smarty/libs/Smarty.class.php(1108): Smarty->fetch('nagvis.ihtml', NULL, NULL, true)
#6 /usr/local/centreon/www/modules/centreon-nagvis/index.php(156): Smarty->display('nagvis.ihtml')
#7 /usr/local/centreon/www/main.php(230): include_once('/usr/local/cent...')
#8 {main}

Je précise que je suis une installation avec centreon en 2.6.0 sur une debian 8.
Nagvis est en version 1.7.10.

Merci beaucoup pour votre aide

hostgroup not working

I just finish to install nagvis on the last centreon iso and I have a problem with hostgroup. Nagvis print the following error for hostgroup :
*Problem (Backend: centreonbroker): errorGettingHostgroupStateCountsOpts: {"BACKENDID":"centreonbroker","ERROR":"SQLSTATE[42S22]: Column not found: 1054 Unknow column 'hg.alias' in filed list'"}

Can you help me please?

PHP ERROR : activation OnlyHardStates

Julien Coerch Write :

Bonjour,

J'ai installé le connecteur Nagvis/Centreon broker comme précisé dans la procédure.
Tout fonctionne correctement sauf quand je passe mais hôtes en "Only hard state" (pour n'afficher que l'état consolidé).
Lorsque j'active cette option j'obtiens le message suivant :

Error: (0) Undefined index: last_hard_state (/usr/local/nagvis/share/server/core/classes/GlobalBackendcentreonbroker.php:266)#0 /usr/local/nagvis/share/server/core/classes/GlobalBackendcentreonbroker.php(266): nagvisExceptionErrorHandler(8, 'Undefined index...', '/usr/local/nagv...', 266, Array)
#1 /usr/local/nagvis/share/server/core/classes/CoreBackendMgmt.php(327): GlobalBackendcentreonbroker->getHostState(Array, 3, Array)
#2 /usr/local/nagvis/share/server/core/classes/CoreBackendMgmt.php(169): CoreBackendMgmt->fetchStateCounts('centreonbroker_...', 'hostState', 3, Array)
#3 /usr/local/nagvis/share/server/core/classes/GlobalIndexPage.php(161): CoreBackendMgmt->execute()
#4 /usr/local/nagvis/share/server/core/classes/CoreModOverview.php(52): GlobalIndexPage->parseMapsJson('map')
#5 /usr/local/nagvis/share/server/core/functions/index.php(120): CoreModOverview->handleAction()
#6 /usr/local/nagvis/share/server/core/ajax_handler.php(63): require('/usr/local/nagv...')
#7 {main}

Merci pour votre aide

Bug menu display twice

A bug when I activate the module centreon-nagvis 1.1.1 twice.
What I have to do for removing one of them ?
screenshot

problem with topology_icon column

I tried to install nagvis 1.8.x on Centeron 2.4.8, after some debuging, sql of install is not running like it should.
Query contains a column topology_icon which doesn't exist anymore

The attribute dbpass in section backend_centreonbroker in main configuration file does not match the correct format. Please review your configuration.

I just installed NagVis (1.9.11) and I'm trying to make it work with my also fresh installation of Centreon (19.04).

I run into this very error message

The attribute dbpass in section backend_centreonbroker in main configuration file does not match the correct format. Please review your configuration.

It appears everytime I go into <server_ip>/nagvis without having any other prompts

I narrowed the problem to the characters used in the [backend_centreonbroker] section, in the dbpass= attribute, in the nagvis.ini.php configuration file.

It seems like having a * in my database password makes everything go south, and indeed removing the * makes NagVis working again, but of course the authentication to the centreon_storage database doesn't work.
I've tried escaping with , with the hexadecimal code, the unicode code, single or double quote, and none of them seems to be working.

Changing the database password is not really an option here, any ideas how I could have a * in my database password ?

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.