-
Notifications
You must be signed in to change notification settings - Fork 10
Incompatible with recent Nagvis #6
Comments
me too with stable nagvis 1.8.5 |
I did a workaround on my side, waiting for official fix. I am afraid I am not understanding code good enough to know if my changes are correct: Inside nagvis, line 30 nagvis/share/server/core/functions/debug.php, comment out: //define('DEBUGSTART',microtime_float()); inside nagvis, like 76, nagvis/share/server/core/functions/html.php change to only declare if not already if(function_exists('get_error')){
// my_function is defined
}
else
{
function get_error($key) {
global $form_errors;
return isset($form_errors[$key]) ? $form_errors[$key] : array();
}
} inside centreon, at end of centreon/www/modules/centreon-nagvis/index.php, comment out: /*
function debug($msg) {
$fh = fopen(DEBUGFILE, 'a');
fwrite($fh, utf8_encode(microtime_float().' '.$msg."\n"));
fclose($fh);
}
*/ |
Hi, same errors for me with Centreon 2.6.6 and NagVis 1.8.5 in addition of mathieuchateau's modifications, I had to comment in file nagvis/share/server/core/functions/debug.php
|
In the root folder of nagvis, run the following: |
I got the same issue. Thanks for the workaround. |
With Nagvis 1.9b2, I have:
and maybe more...
The text was updated successfully, but these errors were encountered: