Bonjour
voici se qui m arrive, lorsque j appuie sur un des bouton de l interface de nagios et c'est la même erreur pour chaque bouton,il apparait cet erreur.
Whoops!
Error: Could not read host and service status information!
The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios.
Some other things you should check in order to resolve this error include:
Check the Nagios log file for messages relating to startup or status data errors.
Always verify configuration options using the -v command-line option before starting or restarting Nagios!
Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.
alors je fais la commande
et voici la reponse a cette commande:
Nagios 1.3
Copyright (c) 1999-2004 Ethan Galstad ([email protected])
Last Modified: 10-24-2004
License: GPL
Reading configuration data...
Error: Invalid host object directive 'hostgroups'.
Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 24.
***> One or more problems was encountered while processing the config files...
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.
alors l erreur se siturai a la ligne 24 de '/usr/local/nagios/etc/hosts.cfg' mais à cette ligne, c'est la lligne pour hostgroup et j ai mis le même nom que dans le fichier de conf de hostgroup.
Alors j'y comprend plus rien.
merci de votre aide.
voici se qui m arrive, lorsque j appuie sur un des bouton de l interface de nagios et c'est la même erreur pour chaque bouton,il apparait cet erreur.
Whoops!
Error: Could not read host and service status information!
The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios.
Some other things you should check in order to resolve this error include:
Check the Nagios log file for messages relating to startup or status data errors.
Always verify configuration options using the -v command-line option before starting or restarting Nagios!
Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.
alors je fais la commande
Code:
/usr/local/nagios/bin/nagios -v nagios.cfg
Nagios 1.3
Copyright (c) 1999-2004 Ethan Galstad ([email protected])
Last Modified: 10-24-2004
License: GPL
Reading configuration data...
Error: Invalid host object directive 'hostgroups'.
Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 24.
***> One or more problems was encountered while processing the config files...
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.
alors l erreur se siturai a la ligne 24 de '/usr/local/nagios/etc/hosts.cfg' mais à cette ligne, c'est la lligne pour hostgroup et j ai mis le même nom que dans le fichier de conf de hostgroup.
Alors j'y comprend plus rien.
merci de votre aide.
Comment