Announcement

Collapse
No announcement yet.

no host or service details

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

  • no host or service details

    hi,
    i have got my oreon interface up.but even after adding some hosts and some services my host details and service details page does not show either any hosts or services.iam new to oreon.plz help.
    another thing when i clickon status and options it shows think has generate the configuration files.
    soumya

  • #2
    Hi,

    After add everything you want in the configuration page you have to go in Cofiguration->Apply and generate the file. After you have to start Nagios again.

    Hope you have correctly fill the fields in Options-> Nagios.cfg, resources.cfg and general.
    Romain Le Merlus
    Centreon Forge
    MERETHIS

    Comment


    • #3
      when i click on generate the files i get a warning
      Warning: fopen(./nagios_cfg/misccommands.cfg): failed to open stream: Permission denied in /usr/local/oreon/include/export/functions.php on line 64
      can t open ./nagios_cfg/misccommands.cfg

      how do i get rid of this?

      Comment


      • #4
        You haven't the good law on this directory -> 775
        Romain Le Merlus
        Centreon Forge
        MERETHIS

        Comment


        • #5
          i didnt get what u meant.can u explain

          Comment


          • #6
            Somebody had the same problem as you.

            First are you with PHP5 ? Because we don't make test on it and we know taht there's some bugs.

            Second, it may be a problem with SELINUX
            You have to disabled it in /etc/sysconfig/ vi selinux

            This file controls the state of SELinux on the system.
            # SELINUX= can take one of these three values:
            # enforcing - SELinux security policy is enforced.
            # permissive - SELinux prints warnings instead of enforcing.
            # disabled - SELinux is fully disabled.
            SELINUX=disabled
            # SELINUXTYPE= type of policy in use. Possible values are:
            # targeted - Only targeted network daemons are protected.
            # strict - Full SELinux protection.
            SELINUXTYPE=targeted
            Romain Le Merlus
            Centreon Forge
            MERETHIS

            Comment


            • #7
              we are usig php4.3 version and SELinux is disabled.

              Comment


              • #8
                go on /usr/local/oreon/nagios_cfg

                and do chown apache:apache *; chown apache:apache .

                do the same in /usr/local/nagios/etc/

                it's a law right problem I think.
                Julien Mathis
                Centreon Project Leader
                www.merethis.com |

                Comment


                • #9
                  well ya it was the ownership problem.now i am able to generate the configuration files but the nagios which was working fine till now is showing errors.after i correct all the errors the nagios is working.but if i click generate the configuration files it goes back to the old configuration.how do i rectify this?

                  Comment


                  • #10
                    well now i am able to generate my configuration files now and my nagios is also working.when i changed the version of nagios from 2.03 to 1.2 no errors are show.it is showing that no errors were encountered during preflight check.
                    but my monitoring page is still not showing anything.when i click on view service dtails for this host from reporting i am getting a warning:Warning: Invalid argument supplied for foreach() in /usr/local/oreon/include/status/service.php on line 115
                    why?

                    Comment


                    • #11
                      ha ok ! oreon don't work with nagios 2. Only with nagios 1.x

                      Oh strange this error, I'm look for and and I'll let you know.

                      see you
                      Julien Mathis
                      Centreon Project Leader
                      www.merethis.com |

                      Comment

                      Working...
                      X