Announcement

Collapse
No announcement yet.

Probleme nagios

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Probleme nagios

    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
    Code:
    /usr/local/nagios/bin/nagios -v nagios.cfg
    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.

  • #2
    fait un copier coller de ton host.cfg ....

    Comment


    • #3
      la premiere erreur a ete reparer mais a present voici l erreur qui me font remarquer:

      Nagios 1.3
      Copyright (c) 1999-2004 Ethan Galstad ([email protected])
      Last Modified: 10-24-2004
      License: GPL

      Reading configuration data...

      Error: Cannot open main configuration file '/usr/local/nagios/bin/nagios.cfg' for reading!

      ***> 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.


      pouvez vous m aider a reparer ceci
      merci

      Comment


      • #4
        Same problem

        I have exactly the same problem as this from the last POST and I also can't solve it.

        sorry to write in English, I can read French but I can not write.

        Tks

        Comment


        • #5
          Sort of the same problem overhere, any solutions?

          La meme problem, quelque solution?

          http://forum.centreon.com/showthread.php?t=6337
          Centos 6.2 - Nagios 3.4.1 - Centreon 2.3.8 - NDO 1.5.2 - Centreon Syslog 1.4.1 - nagios status map - www.r71.nl www.360viewpoint.nl
          StatusMap Module - NDO Tools Module - ImportCSV Module - SNMP-UI Module

          Comment

          Working...
          X