PDA

View Full Version : rien ne s'affiche sur l'interface


clemmatt
01-13-2006, 03:03 PM
bon voila j'ai fait une belle install propre, j'ai bien ajoute des host, des host group, des service, et des services group, mais rien ne s 'affiche sur l'accueil, la surveillance et les graphs, que faut til faire docteur ??

merci.

julio
01-13-2006, 03:07 PM
faut generer et redemarrer nagios... c'est fait ? t'as fait une recherche dans le forum.... c'est une question qui a été posé pas mal de fois... donne nous au moins plus d'infos...

clemmatt
01-13-2006, 03:20 PM
je sais bien que cela a ete poste un peut partout, mais le seul pro c que rien ne marche, j'ai install tous les packets, avant install, et lorsque je vai sur http://@server/nagios/ et bien j'ai tout, alors que sur http://@server/oreon/ rien ne marche !

quel est le package qui permet l'afficahge des camemberts ? des graphs .. ?

enfin voila ca n'avance pas.

julio
01-13-2006, 03:50 PM
php-gd.... mais le plus simple c'est d'aller la : http://www.oreon-project.org/require-fr.html

en esperant que ca t'aide...

clemmatt
01-13-2006, 03:56 PM
c good tout y etait mais maintenant je n'arrive plus a redemarrer nagios :

erreur :

ALT-SUPSCAN:/tmp# /etc/init.d/nagios restart
Running configuration check...
Nagios 1.2
Copyright (c) 1999-2004 Ethan Galstad (nagios@nagios.org)
Last Modified: 02-02-2004
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Checked 9 services.
Checking hosts...
Checked 3 hosts.
Checking host groups...
Checked 1 host groups.
Checking contacts...
Checked 2 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking host group escalations...
Checked 0 host group escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 41 commands.
Checking time periods...
Checked 4 time periods.
Checking for circular paths between hosts...
Error: There is a circular parent/child path that exists for host 'ALT-DMZ'!
Error: There is a circular parent/child path that exists for host 'ALT-SUN-SCAN' !
Error: There is a circular parent/child path that exists for host 'ALT-SUPSCAN'!
Checking for circular service execution dependencies...
Checking global event handlers...
Checking obsessive compulsive service processor command...
Checking misc settings...

Total Warnings: 0
Total Errors: 1

***> One or more problems was encountered while running the pre-flight check...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation on the main and host config files, as well as the
'Whats New' section to find out what has changed.

failed - aborting restart.


bon voila je ne voi plus rien, j'ai tt install,maintenant y'a pas un truc de cgi a config ??


bon c good j'ai supprime les parents dans les hosts.


mais par contre maintenant j'ai un souci, lorsque je redemarre apache2 :

ALT-SUPSCAN:/tmp# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2[Fri Jan 13 14:15:20 2006] [warn] The Alias directive in /etc/apache2/conf.d/oreon.conf at line 6 will probably never match because it overlaps an earlier Alias.


et ensuite quand je l'edit :

##
## Section add by OREON
##

Alias /oreon/ /usr/local/oreon/
<Directory /usr/local/oreon>
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>

julio
01-13-2006, 04:17 PM
t'as pas 2 fois le meme alias par hazard ? dans le fichier de conf de apache ?

clemmatt
01-13-2006, 04:28 PM
non je l'ai qu'une seul foi dans le httpd.conf, mais le truc le plus bizarre c'est que l'interface http://@server/nagios/ affiche tout, alors que http://@server/oreon/ lui n'affiche rien.

DonKiShoot
01-13-2006, 04:33 PM
t as pas une definition oreon dans ton conf.d ???

clemmatt
01-13-2006, 04:36 PM
comment ca une definition ??
je fichier oreon.conf dans conf.d c celui que j'ai affiche au dessus.

DonKiShoot
01-14-2006, 09:11 AM
donc tu n as aucun alias dans ton httpd.conf si tu as un oreon.conf dans ton conf.d :?

clemmatt
01-16-2006, 03:26 PM
c good pour ca, mais je n'ais toujours pas les camemberts qui s'affichent sur la page d'accueil. je ne sais pas d'ou ca viens mais j'ai cette erreur quand je fais afficher 'limage :

FATAL ERROR : You must compile PHP with GD2 to use Artichow in /usr/local/oreon/include/Artichow/php4/Image.class.php on line 22


bon j'ai bien install php4-gd et je ne voi rien a changer autrement

merci de votre aide.

julio
01-16-2006, 03:29 PM
mais as tu bien gd2 ?

clemmatt
01-16-2006, 03:37 PM
oui 'jai bien gd2, j'ai bien fait apt-get install php4-gd2 et il me di bien que j'ai la derniere version.

je ne sais pas d'ou ca viens.

bon resolu : fallai tt simplement que je decommente expension=gd.so


merci quand meme.

julio
01-16-2006, 04:29 PM
:arrow: :arrow: :arrow: :arrow: :arrow: :arrow: [réglé]