Announcement

Collapse
No announcement yet.

Graphs ... Graphs ... Graphs - help

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

  • #16
    Re:

    Hello!

    Do you have any data in your PerfParse database? If not, you should check your Perfparse config and if you think, that everything is OK but still not working, you should check your variables. In Nagios 2.X some variables have changed and PerfParse does not have this in documentation. If you need, I can send you required info. For example, this is my Nagios 2.x perfparse command:
    /usr/bin/printf "%b" "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPU T$\t$SERVICESTATE$\t$SERVICEPERFDATA$\n" | /usr/local/nagios/bin/perfparse-log2mysql -c /usr/local/nagios/etc/perfparse.cfg

    If you compare this to you process-perfparse-perfdata command you should see the changed macros.
    By the way, graphs in Oreon still don't work and I gave up fixing it for now. I use perfparse.

    Comment


    • #17
      I have the same problem... I can’t see the graph....

      When I tried to enable using the PerfParse I got the following errors:

      Directory + Mailer Binary: /usr/bin/mail ((* Can't execute binary))

      Images Directory: /usr/local/nagios/share/images/logo/ ((Can't write directory))


      What do this mean??!!!...

      The second directory exists & has the following permission:
      # ls -ld /usr/local/nagios/share/images/logos/
      drwxrwxr-x 2 nagios nagios 4096 Jun 19 08:38 /usr/local/nagios/share/images/logos/

      But I can’t see the first one (/usr/bin/mail/) do I have to it as an empty directory or what??!!!
      Attached Files

      Comment


      • #18
        I have the same problem... I can’t see the graph....

        When I tried to enable using the PerfParse I got the following errors:

        Directory + Mailer Binary: /usr/bin/mail ((* Can't execute binary))

        Images Directory: /usr/local/nagios/share/images/logo/ ((Can't write directory))


        What do this mean??!!!...

        The second directory exists & has the following permission:
        # ls -ld /usr/local/nagios/share/images/logos/
        drwxrwxr-x 2 nagios nagios 4096 Jun 19 08:38 /usr/local/nagios/share/images/logos/

        But I can’t see the first one (/usr/bin/mail/) do I have to it as an empty directory or what??!!!
        Attached Files

        Comment


        • #19
          Re:

          One possibility, but small one is that you don't have mail software installed. Maybe your web user user doesn't have rights to /usr/bin/ . Oreon uses a wwwrun user and you should su to wwwrun (or your respective user-I use SLES and here is wwwrun) and try executing mail. You can also su to web user and running "which mail". Then you type this path to Oreon config.

          The second directory has permissions for user nagios, group nagios and maybe your oreon user (wwwrun etc.) is not a member of your nagios group.
          Execute "cat /etc/group" and look for members of web server group. My file looks like this:
          nagios:!:19047:wwwrun

          Comment


          • #20
            Ok... Thanks… the first one is solved now, my mail on /bin/mail..

            But it still shows the second message:
            Images Directory: /usr/local/nagios/share/images/logo/ ((Can't write directory))

            My http user:
            # more /etc/httpd/conf/httpd.conf
            User apache

            & the Nagios user:
            # cat /etc/goup
            nagios:x:500:apache

            So it should has permission or not???!!
            How can l know my Oreon user??!!.... :roll:

            Comment


            • #21
              Re:

              Your data is correct. Oreon's user is web server user (I think) so in your case "apache". Maybe one of the developers of application will come by this forum. If I get idea I will post here.
              In the meantime you can maybe try granting all rights to "logos" folder to user nagios, group nagios:
              "chmod 777 /usr/local/nagios/share/images/logos"
              Try then and if it doesn't work, there could be a problem with your installation. If it does work, user rights were not granted properly during install.

              Comment


              • #22
                I have serius problens =(
                i using oreon 1.3 rc1 and nagios 1.x

                Everthing ok, but my database dont growup.

                and when i click on the "minigraph" icon at monitoring screen, i get the graph generation screen, but host/service and metaservice fields are empty.

                The "dropdown" box, dont have anyting.. ( i tink it is becouse the database are empty, just the fields and tables, no data)

                when i try access the http://MYHOST/nagios/cgi-bin/perfparse.cgi the main screen of perfparse appear, but no hosts /servcies etc etc, empty too


                any hints?
                Linux 2.6.16-1.2115_FC4
                Nagios 1.4
                Nagios Plugins 1.4
                Oreon 1.3 RC1 / StatusMap

                Comment


                • #23
                  perfparse is missconfigured, try to resolve this first ! :wink:
                  Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
                  Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
                  Fedora Core 5 - 2.6.20-1.2320

                  Comment


                  • #24
                    Re:

                    This documentation is very good:
                    http://perfparse.sourceforge.net/docs.php
                    It is for Nagios 1.X.

                    By the way: my Perfparse is working OK and logging all events, but in Oreon I get no graphs. Everything empty. I am also using Oreon plugins, but no effect. RRDs are in a directory (/usr/local/oreon/rrd), there are also some rrd's in /usr/local/oreon/filesGeneration/graphs/simpleRenderer/rrdDB, but nothing. Perfparse draws graphs, but Oreon only gives me this for every service I want to graph:
                    Attached Files

                    Comment


                    • #25
                      Ok now you are at the same point as me.

                      Perfparse results go in database but some difficulty to obtain a good graph with Oreon.

                      Maybe in RC2

                      PS: On the first test i have had good graph but after a while, no more graph
                      Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
                      Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
                      Fedora Core 5 - 2.6.20-1.2320

                      Comment


                      • #26
                        Re:

                        My problem exactly. It worked in the begining, but then it stopped.

                        Comment


                        • #27
                          I'm the same way. I have data in the database, but graphs are empty.

                          Comment

                          Working...
                          X