Announcement

Collapse
No announcement yet.

check_graph plugins not working

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

  • #16
    Now i have the .rrd files in place but still no graphs......

    Code:
    -rw-rw-r--   1 nagios nagios 203488 Jun  7 13:03 1.rrd
    -rw-rw-r--   1 nagios nagios 208288 Jun  7 13:03 2.rrd
    -rw-rw-r--   1 nagios nagios 208288 Jun  7 13:03 3.rrd
    Code:
    [[email protected] libexec]# ./check_graph_ping.pl -H 192.168.40.100
    GPING OK - 64 bytes from 192.168.40.100: icmp_seq=0 ttl=254 time=0.968 ms
    When i try to view:
    Code:
    Warning: imagecreate(): Invalid image dimensions in /home/nagios/oreon/include/graph/graph_image.php on line 70
    
    Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/nagios/oreon/include/graph/graph_image.php on line 72
    
    Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/nagios/oreon/include/graph/graph_image.php on line 73
    
    Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/nagios/oreon/include/graph/graph_image.php on line 74
    
    Warning: imagestring(): supplied argument is not a valid Image resource in /home/nagios/oreon/include/graph/graph_image.php on line 77
    
    Warning: imagepng(): supplied argument is not a valid Image resource in /home/nagios/oreon/include/graph/graph_image.php on line 80
    There's something with the generation of the PNG can this be the rrd creation ? php version? GD lib?

    If anyone could help... tks,
    HS

    Comment


    • #17
      Originally posted by Menno
      Originally posted by voodooo
      Code:
      ./check_graph_ping.pl
      Can't locate Config/IniFiles.pm in @INC (@INC contains:.......
      at /home/nagios/libexec/oreon.pm line 27.
      Maybe you forgot to install the perl module?
      perl -MCPAN -e shell
      cpan> install Config::IniFiles

      Regards
      Menno
      yes this worked for me

      Here is what i did

      # perl -MCPAN -e shell
      Are you ready for manual configuration? [yes] no
      cpan> i /IniFiles/
      cpan> install Config::IniFiles
      cpan> exit
      check this - http://www.netadmintools.com/part298.html

      Comment


      • #18
        Originally posted by Menno
        Originally posted by voodooo
        Code:
        ./check_graph_ping.pl
        Can't locate Config/IniFiles.pm in @INC (@INC contains:.......
        at /home/nagios/libexec/oreon.pm line 27.
        Maybe you forgot to install the perl module?
        perl -MCPAN -e shell
        cpan> install Config::IniFiles

        Regards
        Menno
        i had the exact same error so i did the "install config... in cpan"
        now i get

        ./check_graph_ping.pl -H 10.10.1.27
        GPING OK - rtt min/avg/max/mdev = 2.984/2.984/2.984/0.000 ms|time=2.984ms;20;40;; ok=1
        now, how do i view the graphs on the web gui ??
        i went to /usr/local/oreon/rrd , but didn't see any .rrd files.

        Please let me know what i am doing wrong. Thanks!

        Comment


        • #19
          ^ sorry for the above post.

          I didn't run check_graph_ping with the -g option, that is why i didn't see .rrd files in /usr/local/oreon/rrd

          So, now i ran the command with the -g option and i see "1.rrd" in /usr/local/oreon/rrd ... however, I can't see the graphs in the web gui
          infact, i don't know where to go for the graphs ... I go to Oreon Views section, but it only gives me the error "Problem with Perfparse Database connection : DB Error: no such database"

          Any help will be appreciated.

          Thanks,

          Comment

          Working...
          X