Announcement

Collapse
No announcement yet.

Hosts not shown under Home nor Monitoring

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

  • Hosts not shown under Home nor Monitoring

    Hi guys,

    I tried to setup Oreon 1.3.3 on Debian Sarge, w/ Nagios 2.6 (apt). All I can do is to add users, contact groups, hosts and so on, but I can never get to see them (even with event handlers, checks enabled, all the stuff) under Home and Monitoring.

    Even check_host_alive setup doesn't show any info on the pie-charts under Reporting tab. What am I doing wrong? Nagios itself runs like a charm.

    I have php5-gd installed, only the Home table of hosts/services is empty, regardless of how much hosts I add to Configuration/Hosts.

    Any guide/help is very appreciated :rolleyes:

    You can see some images here:







    thanx,


    Brano

  • #2
    Hi,

    there must be something wrong when you generate the nagios conf from oreon.
    In the french GUI it is like the image, try to export with these settings and see what goes wrong .

    xsp
    Attached Files

    Comment


    • #3
      Originally posted by xspoon View Post
      Hi,

      there must be something wrong when you generate the nagios conf from oreon.
      In the french GUI it is like the image, try to export with these settings and see what goes wrong .

      xsp
      Ok, I tried that. Had some errors so I had to adjust some more options under:
      Configuration -> Nagios -> Nagios CFG and CGI CFG.

      Then the Generate -> Export process went correctly (nagios-1.png)

      However, I still don't see my host on Home screen. What is more, the http://localhost/nagios stopped working correctly after clicking the Export button (nagios-2.png)
      Attached Files

      Comment


      • #4
        the nagios debug doesn't show up in your 1st screenshot,

        can you run it alone in the oreon gui or else in command line:

        /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

        Comment


        • #5
          Originally posted by xspoon View Post
          the nagios debug doesn't show up in your 1st screenshot,

          can you run it alone in the oreon gui or else in command line:

          /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
          here you go:
          http://www.nod.sk/~vartik/oreon/nagios-1.png
          http://www.nod.sk/~vartik/oreon/nagios-2.png

          Comment


          • #6
            OK , but what I meant was running Export with all the options to No except for "run nagios denug (-v)" set to yes .

            Comment


            • #7
              Originally posted by xspoon View Post
              OK , but what I meant was running Export with all the options to No except for "run nagios denug (-v)" set to yes .
              Well, if I run it like that (via web, clicking export) it shows no problem. Only when I click "move export files" to "yes" I get some permission error:

              http://www.nod.sk/~vartik/oreon/nagios-3.png

              Comment


              • #8
                maybe check permissions on to the .../nagios2/etc directory
                should look like this ( wherre www-data is the apache user )

                drwxrwsr-x 2 www-data nagios 4096 2007-03-01 13:40 etc

                Comment


                • #9
                  Originally posted by xspoon View Post
                  maybe check permissions on to the .../nagios2/etc directory
                  should look like this ( wherre www-data is the apache user )

                  drwxrwsr-x 2 www-data nagios 4096 2007-03-01 13:40 etc
                  no change :-( still no hosts displayed there. In fact, I dont see the pie-charts, all I see is pending status.

                  Is there any English documentation for this project? Maybe I am doing something wrong... :-\

                  Comment


                  • #10
                    maybe an issue with the nagios2 init script described here

                    http://bugs.oreon-project.org/?do=details&id=294

                    try replacing the file /usr/share/oreon/www/include/configuration/configGenerate/formGenerateFiles.php by one found on the SVN version 1.3.4

                    http://www.oreon-project.org/develop...epository.html

                    or modify directly the sudo commands in the file


                    a nagios debug should look like that prior to anything working correctly

                    Nagios 2.7
                    Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
                    Last Modified: 01-19-2007
                    License: GPL

                    Reading configuration data...

                    Running pre-flight check on configuration data...

                    Checking services...
                    Checked 217 services.
                    Checking hosts...
                    Checked 89 hosts.
                    Checking host groups...
                    Checked 14 host groups.
                    Checking service groups...
                    Checked 1 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 65 commands.
                    Checking time periods...
                    Checked 4 time periods.
                    Checking extended host info definitions...
                    Checked 89 extended host info definitions.
                    Checking extended service info definitions...
                    Checked 217 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

                    Comment


                    • #11
                      No change after installing Oreon 1.4

                      Originally posted by xspoon View Post
                      maybe an issue with the nagios2 init script described here...
                      Hi there, I installed Oreon 1.4; nagios debug passes with no error, but I still cant see my host under "Home" tab, nor under "Monitoring".

                      I can't see what I am doing wrong. I installed Nagios 2.6.x with Oreon 1.4, following the flash demo on the oreon website.

                      Comment


                      • #12
                        Anybody? Please. We want to implement Oreon in our company, I have not found any more modern and crisp interface to Nagios so far.
                        Is there anything at least close to Oreon? If I can't get it running, I will have to implement some other interface.

                        Comment


                        • #13
                          Did you create a test host and a service associated with it then generated the config via Oreon>configuration>nagios ?

                          Can you see it appear at the nagios level: @yourIP/nagios/ ?

                          Comment


                          • #14
                            yeah it's definately a permissions prob
                            just do the following
                            chown -r www-data /nagios2/etc
                            chgrp -r nagios /nagios2/etc

                            should change everything and you shouldn't see a KO message anymore.
                            KO= cannot write to that file
                            OK = file is ok to write to

                            Comment


                            • #15
                              Originally posted by james.t View Post
                              yeah it's definately a permissions prob
                              just do the following
                              chown -r www-data /nagios2/etc
                              chgrp -r nagios /nagios2/etc

                              should change everything and you shouldn't see a KO message anymore.
                              KO= cannot write to that file
                              OK = file is ok to write to
                              Hi there!

                              Thanx for the guide. I have set those permissions on /etc/nagios2 as I cannot find any /nagios2/etc directory. My configuration is

                              Debian Etch (latest updates)
                              Oreon 1.4
                              Nagios 2.6-2+etch1
                              - these packages installed:

                              # aptitude search nagios | grep ^i
                              i A nagios-images - Collection of images and icons for the nag
                              i A nagios-plugins - Plugins for the nagios network monitoring
                              i A nagios-plugins-basic - Plugins for the nagios network monitoring
                              i A nagios-plugins-standard - Plugins for the nagios network monitoring
                              i nagios2 - A host/service/network monitoring and mana
                              i A nagios2-common - support files for nagios2
                              i A nagios2-doc - documentation for nagios2


                              and if I do slocate, this is the output:

                              # slocate nagios | grep etc | grep -v .bkp/ | grep -v /root
                              /etc/rc6.d/K18nagios2
                              /etc/default/nagios2
                              /etc/rc1.d/K18nagios2
                              /etc/rc5.d/S30nagios2
                              /etc/rc2.d/S30nagios2
                              /etc/rc4.d/S30nagios2
                              /etc/nagios-plugins
                              /etc/nagios-plugins/config
                              /etc/nagios-plugins/config/netware.cfg
                              /etc/nagios-plugins/config/mail.cfg
                              /etc/nagios-plugins/config/fping.cfg
                              /etc/nagios-plugins/config/ifstatus.cfg
                              /etc/nagios-plugins/config/users.cfg
                              /etc/nagios-plugins/config/rpc-nfs.cfg
                              /etc/nagios-plugins/config/procs.cfg
                              /etc/nagios-plugins/config/mrtg.cfg
                              /etc/nagios-plugins/config/news.cfg
                              /etc/nagios-plugins/config/tcp_udp.cfg
                              /etc/nagios-plugins/config/vsz.cfg
                              /etc/nagios-plugins/config/flexlm.cfg
                              /etc/nagios-plugins/config/ssh.cfg
                              /etc/nagios-plugins/config/dns.cfg
                              /etc/nagios-plugins/config/disk-smb.cfg
                              /etc/nagios-plugins/config/load.cfg
                              /etc/nagios-plugins/config/breeze.cfg
                              /etc/nagios-plugins/config/apt.cfg
                              /etc/nagios-plugins/config/mysql.cfg
                              /etc/nagios-plugins/config/dummy.cfg
                              /etc/nagios-plugins/config/ldap.cfg
                              /etc/nagios-plugins/config/pgsql.cfg
                              /etc/nagios-plugins/config/ftp.cfg
                              /etc/nagios-plugins/config/dhcp.cfg
                              /etc/nagios-plugins/config/http.cfg
                              /etc/nagios-plugins/config/hppjd.cfg
                              /etc/nagios-plugins/config/games.cfg
                              /etc/nagios-plugins/config/snmp.cfg
                              /etc/nagios-plugins/config/telnet.cfg
                              /etc/nagios-plugins/config/disk.cfg
                              /etc/nagios-plugins/config/real.cfg
                              /etc/nagios-plugins/config/nt.cfg
                              /etc/nagios-plugins/config/ping.cfg
                              /etc/nagios-plugins/config/radius.cfg
                              /etc/nagios-plugins/config/ntp.cfg
                              /etc/nagios2.bkp
                              /etc/rc3.d/S30nagios2
                              /etc/nagios2
                              /etc/nagios2/resource.cfg
                              /etc/nagios2/apache2.conf
                              /etc/nagios2/commands.cfg
                              /etc/nagios2/htpasswd.users
                              /etc/nagios2/cgi.cfg
                              /etc/nagios2/stylesheets
                              /etc/nagios2/nagios.cfg
                              /etc/nagios2/conf.d
                              /etc/nagios2/conf.d/extinfo_nagios2.cfg
                              /etc/nagios2/conf.d/contacts_nagios2.cfg
                              /etc/nagios2/conf.d/generic-service_nagios2.cfg
                              /etc/nagios2/conf.d/services_nagios2.cfg
                              /etc/nagios2/conf.d/localhost_nagios2.cfg
                              /etc/nagios2/conf.d/timeperiods_nagios2.cfg
                              /etc/nagios2/conf.d/host-gateway_nagios2.cfg
                              /etc/nagios2/conf.d/generic-host_nagios2.cfg
                              /etc/nagios2/conf.d/hostgroups_nagios2.cfg
                              /etc/logrotate.d/nagios2-common
                              /etc/apache2/conf.d/nagios2.conf
                              /etc/init.d/nagios2
                              /etc/rc0.d/K18nagios2
                              /var/cache/apt/archives/nagios2_2.6-2+etch1_i386.deb
                              /var/cache/apt/archives/nagios2-doc_2.6-2+etch1_all.deb
                              /var/cache/apt/archives/nagios2-common_2.6-2+etch1_all.deb


                              I have tried to set the respective permissions on /etc/nagios* but no change, still get the KO messages when generating config.

                              I found some files under /usr/local/oreon/filesGeneration/nagiosCFG/, changed the permissions there also, but it didn't help at all. Can you guide me a bit more please?

                              I am most grateful,

                              Brano

                              Comment

                              Working...
                              X