You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
I need you because i've seeing a bug on centreon when i want to duplicate a host or template host.
Example in template generic-host, when i fill the option action_url with url for pnp4nagios :
action URL : /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=HOST' class='tips' rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=HOST
and i save it , the template is ok
But when i duplicated it, the template is created but all option are empty and it's impossible to save some information on it, it's seems the link to DB is loosen.
I've seen it's because of the character simple quote ' (touche4).
The bug appears on all manage host(host, hostgroup, template host,....), but it's working for manage services, command, users, ... the funtion duplicate is ok with using quote '
I've done the test on Centreon 2.4.5 and CES 3.2, it's same thing for the bug :(
Config:
centreon :2.4.5
OS: Centos 5.11
Php:PHP 5.3.29 (cli) (built: Nov 1 2014 14:04:04)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
Config:
OS : Linux ces-central 2.6.32-504.30.3.el6.x86_64 #1 SMP Wed Jul 15 10:13:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
centreon: 2.6.1
php:PHP 5.3.3 (cli) (built: Jul 9 2015 17:39:00)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
Extract of my log file /var/log/http/errors:
[Tue Aug 18 10:35:29 2015] [error] [client 10.38.129.192] PHP Notice: Undefined index: host_stalking_options in /usr/share/centreon/www/include/configuration/configObject/host/formHost.php on line 114, referer: http://10.38.230.162/centreon/main.php?p=601
[Tue Aug 18 10:35:59 2015] [error] [client 10.38.129.192] PHP Warning: array_map() [function.array-map]: Argument #2 should be an array in /usr/share/centreon/www/include/configuration/configObject/host/formHost.php on line 102, referer: http://10.38.230.162/centreon/main.php?p=60101
[Tue Aug 18 10:35:59 2015] [error] [client 10.38.129.192] PHP Notice: Undefined index: host_stalking_options in /usr/share/centreon/www/include/configuration/configObject/host/formHost.php on line 114, referer: http://10.38.230.162/centreon/main.php?p=60101
The text was updated successfully, but these errors were encountered:
Comment puis je voir la solution, car j'aimerai l'appliquer sur mon environnment de production.
je travaille toujours avec la version de FAN 2.4 avec la config ci dessous.
merci d'avance
English Version
Hello,
How can we see the solution, because i want to apply it on my production system.
I 'm still working on Fan 2.4 with config
Config:
centreon :2.4.5
OS: Centos 5.11
Php:PHP 5.3.29 (cli) (built: Nov 1 2014 14:04:04)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
I need you because i've seeing a bug on centreon when i want to duplicate a host or template host.
Example in template generic-host, when i fill the option action_url with url for pnp4nagios :
action URL : /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=HOST' class='tips' rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=HOST
and i save it , the template is ok
But when i duplicated it, the template is created but all option are empty and it's impossible to save some information on it, it's seems the link to DB is loosen.
I've seen it's because of the character simple quote ' (touche4).
The bug appears on all manage host(host, hostgroup, template host,....), but it's working for manage services, command, users, ... the funtion duplicate is ok with using quote '
I've done the test on Centreon 2.4.5 and CES 3.2, it's same thing for the bug :(
For mor details, on my problem:
http://forum.centreon.com/forum/centreon-collect/centreon-engine/139055-problem-with-character-quote-for-duplicate-host-in-centreon
Config:
centreon :2.4.5
OS: Centos 5.11
Php:PHP 5.3.29 (cli) (built: Nov 1 2014 14:04:04)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
Config:
OS : Linux ces-central 2.6.32-504.30.3.el6.x86_64 #1 SMP Wed Jul 15 10:13:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
centreon: 2.6.1
php:PHP 5.3.3 (cli) (built: Jul 9 2015 17:39:00)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
Extract of my log file /var/log/http/errors:
[Tue Aug 18 10:35:29 2015] [error] [client 10.38.129.192] PHP Notice: Undefined index: host_stalking_options in /usr/share/centreon/www/include/configuration/configObject/host/formHost.php on line 114, referer: http://10.38.230.162/centreon/main.php?p=601
[Tue Aug 18 10:35:59 2015] [error] [client 10.38.129.192] PHP Warning: array_map() [function.array-map]: Argument #2 should be an array in /usr/share/centreon/www/include/configuration/configObject/host/formHost.php on line 102, referer: http://10.38.230.162/centreon/main.php?p=60101
[Tue Aug 18 10:35:59 2015] [error] [client 10.38.129.192] PHP Notice: Undefined index: host_stalking_options in /usr/share/centreon/www/include/configuration/configObject/host/formHost.php on line 114, referer: http://10.38.230.162/centreon/main.php?p=60101
The text was updated successfully, but these errors were encountered: