PDA

View Full Version : Centreon 1.4.2 Released - Updated by 1.4.2.1


julio
01-03-2008, 10:14 AM
Centreon 1.4.2 has been released to fix a few bugs that were present in the previous version.

You can check out the changelog : http://www.centreon.com/Product/Changelog-Centreon-1.4.x.html
and download it now : http://www.centreon.com/Download/Download.html.

You can also find help for uprading your Centreon 1.4.1 to 1.4.2 here : http://wiki.oreon-project.org/index.php/How_to_update_Centreon-1.4.1_to_Centreon-1.4.2_%3F.

julien60
01-03-2008, 10:34 AM
Bon bah on va tester tout ça ! Je vous tiens au courant du résultat de l'upgrade.

naparuba
01-03-2008, 10:37 AM
Pareil, c'est parti pour l'upgrade.

Au fait, il y a une typo dans le changelog:
=> Bugfix : add nagios link in host conf and service conf in object dertails page in monitoring
-> dertails

julien60
01-03-2008, 11:02 AM
Pour ma part c'est bien passé à part un plugin qui me renvoie des erreurs maintenant.

Sous Centreon :
(Return code of 9 is out of bounds)

En ligne de commande :
Centreon:/usr/local/nagios/libexec# ./check_centreon_snmp_process -H 10.1.4.7 -v 1 -C public -n -p sqlservr.exe
Global symbol "$opt_w" requires explicit package name at ./check_centreon_snmp_process line 175.
Global symbol "$opt_c" requires explicit package name at ./check_centreon_snmp_process line 178.
Execution of ./check_centreon_snmp_process aborted due to compilation errors.

Ca fonctionnait bien avant :p
(J'aurais pas du réinstaller les plugins ^^)

julio
01-03-2008, 11:45 AM
ha oausi faut mettre un -w -c.... sorry y a peut etre une verif qui n'est pas faite pour les variables...

Tu veux que je te le corrige ?

julien60
01-03-2008, 01:56 PM
Heu oui je veux bien une petite correction ^^
Désolé si je répond pas vite j'ai une journée assez chargée !!

julio
01-03-2008, 04:56 PM
Hello everybody.

I'm Sorry, I have done a smake mistake in the last 1.4.2. I have removed it in a new 1.4.2.1.

The bug is in ODS : macro are in comment and you may have problem with your environment.

I have also remove the bug in check_centreon_snmp_process.

You can download it here : http://www.centreon.com/Download/Download.html

Best regards,

julien60
01-03-2008, 05:25 PM
et de la 1.4.2 à la 1.4.2.1 ça se passe comment ? :p

julio
01-03-2008, 05:48 PM
y a tout ce qui faut sur le WIKI ;)

de la meme facon. Pas de mise a jour SQL de la table ods.

Voila.

julien60
01-03-2008, 05:50 PM
ah exact! Mille excuses! J'était resté sur la page d'update de la 1.4.1 à 1.4.2 je pensais que t'allais juste rajouter une ligne au bas de la page. Merci bien


edit : C'est parfait tout est rentré dans l'ordre! Merci bien julio!

julio
01-03-2008, 06:19 PM
Ok merci de ton retour.

Impeccable alors.

++

boyerf
01-03-2008, 06:22 PM
Hop, upgrade sans soucis en 1.4.2 puis 1.4.2.1 mais ensuite un souci sur le pluggin : check_centreon_nt que je viens de tester.

En ligne de commande j'ai ça :
./check_centreon_nt -H XX.XX.XX.XX -p 12489 -v USEDDISKSPACE -s nagiosxxxxx -l C -w 75 -c 95
C: - total: 7,82 Gb - utilisé: 6,60 Gb (84%) - libre 1,23 Gb (16%) |size=7516192768o used=6442450944o

En monitoring information j'ai cette erreur :
**ePN /usr/local/nagios/libexec/check_centreon_nt: "Argument "7,82" isn't numeric in multiplication (*) at (eval 23) line 216,".

Avant, j'utilisais la commande :
./check_nt -H XX.XX.XX.XX -p 12489 -v USEDDISKSPACE -s nagiosxxxxx -l C -w 75 -c 95
C:\ - total: 7,82 Gb - utilisé: 6,60 Gb (84%) - libre 1,23 Gb (16%) | 'C:\ Espace Utilisé'=6,60Gb;5,87;7,43;0.00;7,82
Mais je n'avais pas de remontées dans ODS (d'ou mon passage à check_centreon_nt)

Une idée ?

julio
01-03-2008, 06:49 PM
ok merci du retour, je vais m'en occuper :)

boyerf
01-04-2008, 11:38 AM
ok merci du retour, je vais m'en occuper :)

Merci ;) Dis moi si je peu temporairement faire une modif dans un fichier pour corriger le problème et passer cette nouvelle version en PROD (j'ai 350 services concerné par ce bug).

julio
01-04-2008, 12:00 PM
Ha mince

oui tu peux recuperer ce fichier la :

http://svn.oreon-project.org/trunk/plugins/src/check_centreon_ping

tu as juste a remplace a la ligne 30 @NAGIOS_PLUGINS@ par le rep des plugins.

Désolé.

Je vais corriger ca avec une nouvelle version peut etre.

boyerf
01-04-2008, 12:27 PM
ok merci du retour, je vais m'en occuper :)

Complément d'info... Voila ce que me remontait un ancien plugin CENTREON :
[root@dgoarcswebd libexec]# ./check_centreon_nt -H xx.xx.xx.xx -p 12489 -v USEDDISKSPACE -s nagiosdeaarcueil -l C -w 75 -c 95
C: - total: 7,82 Gb - utilisé: 6,60 Gb (84 pct) - libre 1,22 Gb (16 pct) | 'C: Espace Utilisé'=6,60Gb;5,87;7,43;0.00;7,82 |total=7,82Mo used=6,60Mo free=1,22Mo

Et au niveau des informations de performances, seule la partie de droite du 2eme 'pipe' etait remontée, a savoir : total=7,82Mo used=6,60Mo free=1,22Mo

hop hop hop.... voila un peu de grain à moudre...

boyerf
01-04-2008, 12:30 PM
Ha mince

oui tu peux recuperer ce fichier la :

http://svn.oreon-project.org/trunk/plugins/src/check_centreon_ping

tu as juste a remplace a la ligne 30 @NAGIOS_PLUGINS@ par le rep des plugins.

Désolé.

Je vais corriger ca avec une nouvelle version peut etre.

Heu... tu ne t'es pas trompé de POST là ? :D
J'ai un probleme de données de performance (les virgules peut etre) sur : check_centreon_nt (pas sur check_centreon_ping).

julio
01-04-2008, 12:34 PM
oups pardon je me suis trompé de plugins.

normalement celui que tu as est bon.

sinon prend celui du svn http://svn.oreon-project.org/trunk/plugins/src/check_centreon_nt

encore une fois change les macro.

++

Jogarem
01-04-2008, 02:06 PM
Centreon 1.4.2 has been released to fix a few bugs that were present in the previous version.

You can check out the changelog : http://www.centreon.com/Product/Changelog-Centreon-1.4.x.html
and download it now : http://www.centreon.com/Download/Download.html.

You can also find help for uprading your Centreon 1.4.1 to 1.4.2 here : http://wiki.oreon-project.org/index.php/How_to_update_Centreon-1.4.1_to_Centreon-1.4.2_%3F.

Thanks a lot but since the version 1.4.2 i have trouble with ODS.
I thought it is maybe solved in 1.4.2.1 but this is installed now and it isn't
possible to start the ods daemon anymore.

The ods_demon.log says:
Bareword "RRDs::error" not allowed while "strict subs" in use at /usr/local/oreon/ODS/ods line 455.
Bareword "RRDs::error" not allowed while "strict subs" in use at /usr/local/oreon/ODS/ods line 459.
Bareword "RRDs::error" not allowed while "strict subs" in use at /usr/local/oreon/ODS/ods line 473.
Execution of /usr/local/oreon/ODS/ods aborted due to compilation errors.

I have upgraded (with wiki guide of course) from 1.4.1 to 1.4.2 and then
(also with wiki guide of course) from 1.4.2 to 1.4.2.1.

Any ideas?
( It is "Server i" in my signature )

Kind regards
Jogi

boyerf
01-04-2008, 02:16 PM
Toujours le même problème.... :
**ePN /usr/local/nagios/libexec/check_centreon_nt: "Argument "7,82" isn't numeric in multiplication (*) at (eval 33) line 216,".

Apperemment, il considère que 7,82 n'est pas une valeur numérique...
Vu que ça fonctionne trés bien en ligne de commande... N'est ce pas du à l'interpréteur Perl utilisé ?
Est ce que c'est le même qui est utilisé par Nagios, que celui en ligne de commande ?

julio
01-04-2008, 02:31 PM
Thanks a lot but since the version 1.4.2 i have trouble with ODS.
I thought it is maybe solved in 1.4.2.1 but this is installed now and it isn't
possible to start the ods daemon anymore.

The ods_demon.log says:
Bareword "RRDs::error" not allowed while "strict subs" in use at /usr/local/oreon/ODS/ods line 455.
Bareword "RRDs::error" not allowed while "strict subs" in use at /usr/local/oreon/ODS/ods line 459.
Bareword "RRDs::error" not allowed while "strict subs" in use at /usr/local/oreon/ODS/ods line 473.
Execution of /usr/local/oreon/ODS/ods aborted due to compilation errors.

I have upgraded (with wiki guide of course) from 1.4.1 to 1.4.2 and then
(also with wiki guide of course) from 1.4.2 to 1.4.2.1.

Any ideas?
( It is "Server i" in my signature )

Kind regards
Jogi

Did you have restart ods after upgrading in 1.4.2.1 ?

julien60
01-04-2008, 02:33 PM
J'ai le même souci, j'ai ouvert un autre topic j'ai cru que c'était du à mon upgrade serveur que j'ai fait peu après l'update vers la 1.4.2.1. Apparamment c'est dû à la 1.4.2.1.

Jogarem
01-04-2008, 02:36 PM
Did you have restart ods after upgrading in 1.4.2.1 ?

Hi Julio,

yes this message always appears when trying to start the ods daemon (/etc/init.d/ods start)

julio
01-04-2008, 02:39 PM
vous pouvez me donner les 50 premieres lignes de ods ?

can you give me the 50 first line of ods binary ?

thanks

julien60
01-04-2008, 02:42 PM
use strict;
use warnings;
use DBI;
use threads;
use threads::shared;

use lib "/usr/lib/perl5";

use File::Copy;

my $installedPath = "/usr/local/oreon/ODS/";

my $LOG = $installedPath."var/ods.log";
my $PID = $installedPath."var/ods.pid";

# Init Globals
use vars qw($debug $LOG %status $generalcounter);
use vars qw($mysql_user $mysql_passwd $mysql_host $mysql_database_oreon $mysql_database_ods);
use vars qw($con_oreon $con_ods);

$debug = 0;

# Flag for stoping ods
my $stop : shared = 1;

# Statistics
my $lineRead : shared = 0;
my $valueRecorded : shared = 0;
my $metric_used_by_perfdata_parsor : shared = 0;

# Init value
my ($file, $line, @line_tab, @data_service, $hostname, $service_desc, $metric_id, $configuration);

# Init status tab
%status = ('OK' => '0', 'WARNING' => '1', 'CRITICAL' => '2', 'UNKNOWN' => '3', 'PENDING' => '4');

# Include Configuration Data
require $installedPath."etc/conf.pm";

sub catch_zap {
$stop = 0;
writeLogFile("Receiving order to stop...\n");
}

sub writeLogFile($){
open (LOG, ">> ".$LOG) || print "can't write $LOG: $!";
print LOG time()." - ".$_[0];
close LOG or warn $!;
}


Voila voila!

Jogarem
01-04-2008, 02:49 PM
vous pouvez me donner les 50 premieres lignes de ods ?

can you give me the 50 first line of ods binary ?

thanks

yes of course:


#! /usr/bin/perl
################################################## #################
# Centreon is developped with GPL Licence 2.0
#
# GPL License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
#
# Developped by : Julien Mathis - Romain Le Merlus
#
################################################## #################
# This program is free software; you can redistfribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# For information : contact@merethis.com
################################################## ##################
#
# Script init
#

use strict;
use warnings;
use DBI;
use threads;
use threads::shared;

use lib "/usr/lib/perl5";

use File::Copy;

my $installedPath = "/usr/local/oreon/ODS/";

my $LOG = $installedPath."var/ods.log";
my $PID = $installedPath."var/ods.pid";

# Init Globals
use vars qw($debug $LOG %status $generalcounter);
use vars qw($mysql_user $mysql_passwd $mysql_host $mysql_database_oreon $mysql_database_ods);
use vars qw($con_oreon $con_ods);

$debug = 0;

# Flag for stoping ods
my $stop : shared = 1;

julien60
01-04-2008, 02:54 PM
Merci bien!

Pour ma part ça démarre mais j'ai une petite erreur dans ods_demon.log :

thread failed to start: Undefined subroutine &RRDs::update called at /usr/local/oreon/ODS/lib/updateFunctions.pm line 55, <PFDT> line 1.

edit : ah bah tiens t'a supprimé ton post julio! :p

julio
01-04-2008, 02:56 PM
Sorry I have created a bug yesterday...

you must have

use File::Copy;
use RRDs;
use lib "/usr/lib/perl5";


I have removed

use RRDs;

We will patch this as soon as possible.

Thanks

julien60
01-04-2008, 02:59 PM
ça marche! :D
Tout est reparti mes graphs sont la c'est nickel :)

Merci encore pour ta rapidité julio :)

Jogarem
01-04-2008, 03:00 PM
Sorry I have created a bug yesterday...

you must have

use File::Copy;
use RRDs;
use lib "/usr/lib/perl5";


I have removed

use RRDs;

We will patch this as soon as possible.

Thanks

Aaah great first I had the same error as julien60 but now with adding
use RRDs;
no error occurs when starting ODS.

THANKS!!

julio
01-04-2008, 03:06 PM
Thanks for your help julien60 and Jogarem !!

Jogarem
01-04-2008, 03:31 PM
Thanks for your help julien60 and Jogarem !!

WE have to say thanks for your fast help! :cool:

Is it normal that the ods logfiles are empty?
and
Are the File/Directory permissions correct?
(odsParsing.log,odsParsingStatus.log)


root@ubuntu60664m:/usr/local/oreon/log# ls -al
total 712
drwxrwxr-x 2 www-data nagios 4096 2008-01-04 12:55 .
drwxrwxr-x 12 www-data www-data 4096 2008-01-04 12:44 ..
-rwxrwxr-x 1 www-data www-data 81872 2008-01-03 00:00 ArchiveLogInDB_log
-rwxrwxr-x 1 www-data www-data 16167 2008-01-04 13:35 auth.log
-rwxrwxr-x 1 www-data www-data 214 2008-01-04 12:44 install_oreon.log
-rwxrwxr-x 1 www-data www-data 60988 2007-11-06 16:54 inventory.log
-rwxrwxr-x 1 www-data www-data 293946 2008-01-03 12:21 ods_parsing_log
-rw-r--r-- 1 nagios nagios 0 2008-01-04 12:55 odsParsing.log
-rwxrwxr-x 1 www-data www-data 323 2008-01-03 12:21 ods_parsing_status
-rwxrwxr-x 1 www-data www-data 0 2008-01-04 10:28 odsParsingStatus.log
-rwxrwxr-x 1 www-data www-data 240273 2008-01-04 13:36 rrdtool.log


## EDIT ##
and what I see (or better do NOT see) is that no graphs works anymore
:(

julio
01-04-2008, 03:47 PM
Hop, upgrade sans soucis en 1.4.2 puis 1.4.2.1 mais ensuite un souci sur le pluggin : check_centreon_nt que je viens de tester.

En ligne de commande j'ai ça :
./check_centreon_nt -H XX.XX.XX.XX -p 12489 -v USEDDISKSPACE -s nagiosxxxxx -l C -w 75 -c 95
C: - total: 7,82 Gb - utilisé: 6,60 Gb (84%) - libre 1,23 Gb (16%) |size=7516192768o used=6442450944o

En monitoring information j'ai cette erreur :
**ePN /usr/local/nagios/libexec/check_centreon_nt: "Argument "7,82" isn't numeric in multiplication (*) at (eval 23) line 216,".

Avant, j'utilisais la commande :
./check_nt -H XX.XX.XX.XX -p 12489 -v USEDDISKSPACE -s nagiosxxxxx -l C -w 75 -c 95
C:\ - total: 7,82 Gb - utilisé: 6,60 Gb (84%) - libre 1,23 Gb (16%) | 'C:\ Espace Utilisé'=6,60Gb;5,87;7,43;0.00;7,82
Mais je n'avais pas de remontées dans ODS (d'ou mon passage à check_centreon_nt)

Une idée ?

Bon je viens de le mettre a jour...

Moi je n'ai pas le problème, parce que je n'ai pas activé l'interpreteur perl. J'ai eu des gros soucis de perf avec. Depuis je préfère l'enlever..


$> ./check_centreon_nt -H 192.168.1.1 -s xxxxxx -p 12489 -v USEDDISKSPACE -l C -w 80 -c 90
C: - total: 19,53 Gb - utilisé: 13,66 Gb (70%) - libre 5,87 Gb (30%) |size=20401094656o used=13958643712o


tiens moi au courant j'attend pour faire une nouvelle version :)

boyerf
01-04-2008, 04:34 PM
[QUOTE=julio;32899]Bon je viens de le mettre a jour...

Moi je n'ai pas le problème, parce que je n'ai pas activé l'interpreteur perl. J'ai eu des gros soucis de perf avec. Depuis je préfère l'enlever..
QUOTE]
C'est a dire ?

Bon, j'ai retesté avec ta nouvelle version, mais j'ai le même résultat dans l'interface de monitoring :
**ePN /usr/local/nagios/libexec/check_centreon_nt: **ePN /usr/local/nagios/libexec/check_centreon_nt: "Argument "6,60" isn't numeric in multiplication (*) at (eval 18) line 223,".

Je suppose qu'il considere que "6,60" est une chaine de caractere...

Par contre, en ligne de commande, pas de soucis :
./check_centreon_nt -H xx.xx.xx.xx -p 12489 -v USEDDISKSPACE -s xxxxxxxxx -l C -w 75 -c 95
C: - total: 7,82 Gb - utilisé: 6,60 Gb (84%) - libre 1,22 Gb (16%) |size=8396661063.68o used=6442450944o

Je ne comprend pas pourquoi j'ai un comportement différent entre la ligne de commande et l'execution via Nagios.

julio
01-04-2008, 04:48 PM
[QUOTE=julio;32899]Bon je viens de le mettre a jour...

Moi je n'ai pas le problème, parce que je n'ai pas activé l'interpreteur perl. J'ai eu des gros soucis de perf avec. Depuis je préfère l'enlever..
QUOTE]
C'est a dire ?


Bah sur certains serveur j'ai vu le processus nagios monter a 2Go a la fin d'une journée. Ca faisait ca tous le temps et a la fin de la journée ca swapait a fond et nagios ne pouvait plus forker pour lancer les checks...

On a recompilé sans ca et fini plus de pb. D'ailleurs si vous lisez la mailing list devel de nagios, ethan a bien indiqué que sur la version 2 de nagios y a des pb de mémoire.


Bon, j'ai retesté avec ta nouvelle version, mais j'ai le même résultat dans l'interface de monitoring :
**ePN /usr/local/nagios/libexec/check_centreon_nt: **ePN /usr/local/nagios/libexec/check_centreon_nt: "Argument "6,60" isn't numeric in multiplication (*) at (eval 18) line 223,".

Je suppose qu'il considere que "6,60" est une chaine de caractere...

Par contre, en ligne de commande, pas de soucis :
./check_centreon_nt -H xx.xx.xx.xx -p 12489 -v USEDDISKSPACE -s xxxxxxxxx -l C -w 75 -c 95
C: - total: 7,82 Gb - utilisé: 6,60 Gb (84%) - libre 1,22 Gb (16%) |size=8396661063.68o used=6442450944o

Je ne comprend pas pourquoi j'ai un comportement différent entre la ligne de commande et l'execution via Nagios.

parce que ce n'est pas perl qui interprete mais nagios. Nagios a un interpreteur perl embarqué. Les options sont surement différentes..

Jogarem
01-04-2008, 05:52 PM
WE have to say thanks for your fast help! :cool:

Is it normal that the ods logfiles are empty?
and
Are the File/Directory permissions correct?
(odsParsing.log,odsParsingStatus.log)


root@ubuntu60664m:/usr/local/oreon/log# ls -al
total 712
drwxrwxr-x 2 www-data nagios 4096 2008-01-04 12:55 .
drwxrwxr-x 12 www-data www-data 4096 2008-01-04 12:44 ..
-rwxrwxr-x 1 www-data www-data 81872 2008-01-03 00:00 ArchiveLogInDB_log
-rwxrwxr-x 1 www-data www-data 16167 2008-01-04 13:35 auth.log
-rwxrwxr-x 1 www-data www-data 214 2008-01-04 12:44 install_oreon.log
-rwxrwxr-x 1 www-data www-data 60988 2007-11-06 16:54 inventory.log
-rwxrwxr-x 1 www-data www-data 293946 2008-01-03 12:21 ods_parsing_log
-rw-r--r-- 1 nagios nagios 0 2008-01-04 12:55 odsParsing.log
-rwxrwxr-x 1 www-data www-data 323 2008-01-03 12:21 ods_parsing_status
-rwxrwxr-x 1 www-data www-data 0 2008-01-04 10:28 odsParsingStatus.log
-rwxrwxr-x 1 www-data www-data 240273 2008-01-04 13:36 rrdtool.log


## EDIT ##
and what I see (or better do NOT see) is that no graphs works anymore
:(

I'm sorry but I have an additional (!) issue to the above one:
my Images for the Nagios statusmap are located in
/usr/local/nagios/share/images/logos/

within this folder I have two subfolders with more pictures. Before upgrading to version 1.4.2 those pictures within those subfolders ARE displayed when go to the "Host Extended Infos" Tab.
But now with version 1.4.2.1 they are NOT shown anymore :( :(

The path in
Options -> Centreon -> Nagios
is correct set to "/usr/local/nagios/share/images/logos/" and the pictures there are displayed
but not the pics in the subfolders..

Any ideas?

Thanks in advance

julio
01-04-2008, 06:02 PM
it's not /usr/local/nagios/share/images/logos/ normaly ???

Jogarem
01-04-2008, 06:10 PM
it's not /usr/local/nagios/share/images/s/ normaly ???

I think you want to wrote the word l o g o s (without spaces)
but as you can see in your own post this is cutted by the forum software. Don't know why..
but yes it is the path

/usr/local/nagios/share/images/l o g o s/ (without spaces in the last dir)

But this doesn't matter when i give Centreon the correct path it should find the pictures. And before version 1.4.2 centreon finds
the pictures in the subfolders also!


...

boyerf
01-04-2008, 06:16 PM
Julio,

J'ai trouvé une astuce... il suffit pour les calculs de forcer le changement su séparateur de décimales (virgule vers point). Voici mes modifications sur check_centreon_nt pour la partie USEDDISKSPACE :

## Print Plugins Output
$test4[1] =~ s/[,]/./g;
$test[6] =~ s/[,]/./g;
if (defined($test[3]) && $test[3] =~ "Mb"){
$test4[1] = $test4[1] * 1024 * 1024;
$test[6] = $test[6] * 1024 * 1024;
} elsif (defined($test[3]) && $test[3] =~ "Gb"){
$test4[1] = $test4[1] * 1024 * 1024 * 1024;
$test[6] = $test[6] * 1024 * 1024 * 1024;
}

Et pour la partie : MEMUSE

## Print Plugins Output
$return =~ s/\n/ /g;
my @tab_return = split(/\|/, $return);
$test[3] =~ s/[,]/./g;
$test[7] =~ s/[,]/./g;
if ($test[4] =~ "Mb"){
$test[3] = $test[3] * 1024 * 1024;
$test[7] = $test[7] * 1024 * 1024;
} elsif ($test[4] =~ "Gb"){



Et ça fonctionne dans tous las cas...
Tu peux intégrer ça dans ton CVS ?

A+

Jogarem
01-08-2008, 05:27 PM
I think you want to wrote the word l o g o s (without spaces)
but as you can see in your own post this is cutted by the forum software. Don't know why..
but yes it is the path

/usr/local/nagios/share/images/l o g o s/ (without spaces in the last dir)

But this doesn't matter when i give Centreon the correct path it should find the pictures. And before version 1.4.2 centreon finds
the pictures in the subfolders also!


...

And also my Host Pictures aren't displayed in the module Nagios Statusmap anymore ... :(
The old one yes but when I create new hosts with a picture then the questionmark picture appears only..

Jogarem
01-09-2008, 05:09 PM
And also my Host Pictures aren't displayed in the module Nagios Statusmap anymore ... :(
The old one yes but when I create new hosts with a picture then the questionmark picture appears only..

I have opened a new thread for this problem here:
http://forum.oreon-project.org/showthread.php?t=5126

:roll:

OMFan
01-10-2008, 04:16 PM
Salut à tous et bonne année !!

Voilà, je viens de faire la MAJ vers la 1.4.2.2 et j'ai un problème avec check_ping.

Ainsi, lorsque je le lance en console, il me sort : Erreur de segmentation.

Je ne sais pas trop quoi faire.

Merci par avance pour votre aide car tous mes hôtes remontent en alarme et c'est pas cool du tout lol :):)

julio
01-10-2008, 04:26 PM
Salut ! bonne année !

tu as mis a jour les nagios-plugins alors ? nan ?

OMFan
01-10-2008, 04:35 PM
Bonne année à toi Julio.

En fait je viens de trouver pourquoi.

Lors de la mise à jour, j'ai fait l'erreur de faire un dos2unix sur TOUT le répertoire libexec, et ça m'a foutu un beau bordel.

J'ai donc récupéré la dernière version des plugins nagios, que j'ai réintégré, et tout fonctionne parfaitement à nouveau.

De plus, pour apporter ma petite pierre à l'édifice, j'ai fais les MAJ car je rencontrai un problème sous ODS et ça a été corrigé parfaitement.

J'ai qu'un mot à dire : BRAVO !!

WAtt
01-10-2008, 05:18 PM
un dos2unix sur tout ton répertoire libexec ???? Si tu regardes les logs d'installation, normalement c'est dans un répertoire des sources qu'il fait ce changement, et ensuite il copie...

Tu peux mettre tes logs sur le forum. On ne sais jamais, un bug d'install... il vaut mieux etre prudent.

OMFan
01-11-2008, 09:52 AM
En fait, j'ai fait ça de manière manuelle en regardant le Wiki (erreur de ma part!!).


Malheureusement, ODS ne fonctionne plus depuis la MAJ. Tous les graphes sont vides :(:(

Si vous avez la moindre idée, c'est volontiers.

boyerf
01-11-2008, 12:18 PM
Malheureusement, ODS ne fonctionne plus depuis la MAJ. Tous les graphes sont vides :(:(
Si vous avez la moindre idée, c'est volontiers.

Essaye la modif de LUDO31 dans ce thread : http://forum.oreon-project.org/showthread.php?t=5070

Ca a tres bien fonctionné pour moi... J'ai mis le code complet dans un de mes posts...

OMFan
01-11-2008, 03:09 PM
Merci pour ton aide.

En fait, j'ai fait les modifications que tu as mentionné dans ton précédent post et ça marche pas mieux :(:(

Lorsque je démarre ODS, j'ai aucune erreur apparente, mais après un certain temps (entre 15 secondes et 1 minute 30), ODS s'arrête.

Je comprends pas trop pourquoi, et mes ennuis viennent, je pense, uniquement de ça car lorsque ODS tourne 1min30, les graphes sont de nouveau générés.