Salut,
j'ai installé nagios 2.10 (dernière version stable) et centreon 1.4.1.
Dans centreon j'ai créé un host mais il y a toujours des points d'interrogation dans les status en haut a gauche.
Si je me connecte sur Nagios cela fonctionne mais si je vais dans host details j'ai une page qui me dis:
Whoops!
Error: Could not read host and service status information!
j'ai controlé le fichier mnagios.log ou je vois le status de localhost OK.
ensuite j'ai controlé la configuration avec :
debian:~# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios 2.10
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 10-21-2007
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 1 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service 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 47 commands.
Checking time periods...
Checked 5 time periods.
Checking extended host info definitions...
Checked 1 extended host info definitions.
Checking extended service info definitions...
Checked 1 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
si je me connecte sur http://monserver/nagios/cgi-bin/ j'ai
Forbidden
You don't have permission to access /nagios/cgi-bin/ on this server.
j'ai controlé le fichier /var/log/apache2/access.log
IP-Source- nagiosadmin [21/Oct/2007:23:54:25 +0200] "GET /nagios/cgi-bin/ HTTP/1.1" 403 314 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11"
j'ai controlé le fichier /var/log/apache2/access.log
debian:~# cat /var/log/apache2/error.log
[Sun Oct 21 06:25:08 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch7 configured -- resuming normal operations
[Sun Oct 21 22:06:25 2007] [error] [client Source IP] user nagios not found: /nagios/cgi-bin/
[Sun Oct 21 22:06:33 2007] [error] [client Source IP] user nagiosadmin: authentication failure for "/nagios/cgi-bin/": Password Mismatch
[Sun Oct 21 22:06:48 2007] [error] [client Source IP] attempt to invoke directory as script: /usr/local/nagios/sbin/
[Sun Oct 21 22:06:48 2007] [error] [client Source IP] File does not exist: /var/www/favicon.ico
[Sun Oct 21 22:06:48 2007] [error] [client Source IP] File does not exist: /var/www/favicon.ico
[Sun Oct 21 22:06:54 2007] [error] [client Source IP] attempt to invoke directory as script: /usr/local/nagios/sbin/
[Sun Oct 21 23:05:47 2007] [error] [client Source IP] File does not exist: /var/www/oreon
[Sun Oct 21 23:05:56 2007] [error] [client Source IP] File does not exist: /var/www/oreon
sh: sudo: command not found
[Sun Oct 21 23:54:25 2007] [error] [client Source IP] attempt to invoke directory as script: /usr/local/nagios/sbin/
j'ai cherché sur le forum puis internet mais je ne m'en sort pas. mes connaissances plus que limités sur l'environement utilisé ne me permettent pas d'avancer plus que ça.
Si quelqu'un peut m'aider c'est plus que bienvenu.
Merci
j'ai installé nagios 2.10 (dernière version stable) et centreon 1.4.1.
Dans centreon j'ai créé un host mais il y a toujours des points d'interrogation dans les status en haut a gauche.
Si je me connecte sur Nagios cela fonctionne mais si je vais dans host details j'ai une page qui me dis:
Whoops!
Error: Could not read host and service status information!
j'ai controlé le fichier mnagios.log ou je vois le status de localhost OK.
ensuite j'ai controlé la configuration avec :
debian:~# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios 2.10
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 10-21-2007
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 1 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service 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 47 commands.
Checking time periods...
Checked 5 time periods.
Checking extended host info definitions...
Checked 1 extended host info definitions.
Checking extended service info definitions...
Checked 1 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
si je me connecte sur http://monserver/nagios/cgi-bin/ j'ai
Forbidden
You don't have permission to access /nagios/cgi-bin/ on this server.
j'ai controlé le fichier /var/log/apache2/access.log
IP-Source- nagiosadmin [21/Oct/2007:23:54:25 +0200] "GET /nagios/cgi-bin/ HTTP/1.1" 403 314 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11"
j'ai controlé le fichier /var/log/apache2/access.log
debian:~# cat /var/log/apache2/error.log
[Sun Oct 21 06:25:08 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch7 configured -- resuming normal operations
[Sun Oct 21 22:06:25 2007] [error] [client Source IP] user nagios not found: /nagios/cgi-bin/
[Sun Oct 21 22:06:33 2007] [error] [client Source IP] user nagiosadmin: authentication failure for "/nagios/cgi-bin/": Password Mismatch
[Sun Oct 21 22:06:48 2007] [error] [client Source IP] attempt to invoke directory as script: /usr/local/nagios/sbin/
[Sun Oct 21 22:06:48 2007] [error] [client Source IP] File does not exist: /var/www/favicon.ico
[Sun Oct 21 22:06:48 2007] [error] [client Source IP] File does not exist: /var/www/favicon.ico
[Sun Oct 21 22:06:54 2007] [error] [client Source IP] attempt to invoke directory as script: /usr/local/nagios/sbin/
[Sun Oct 21 23:05:47 2007] [error] [client Source IP] File does not exist: /var/www/oreon
[Sun Oct 21 23:05:56 2007] [error] [client Source IP] File does not exist: /var/www/oreon
sh: sudo: command not found
[Sun Oct 21 23:54:25 2007] [error] [client Source IP] attempt to invoke directory as script: /usr/local/nagios/sbin/
j'ai cherché sur le forum puis internet mais je ne m'en sort pas. mes connaissances plus que limités sur l'environement utilisé ne me permettent pas d'avancer plus que ça.
Si quelqu'un peut m'aider c'est plus que bienvenu.
Merci
Comment