Menu

#6 empty rrd graph

open
nobody
None
5
2004-07-26
2004-07-26
Anonymous
No

when i open a rrd file with the IE Browser the graph is
empty.

my nagiostat.conf is:

InsertValue sqlserv-ping.rrd
ping_1min /sqlserv/ /PING/
ping_rta_pktloss

and

Graph sqlserv-ping sqlserv-
ping.rrd std_1year ping_pktloss
default.html "SQLSERV PAcket Loss"

The debug.log looks good the data would be insert
correctly into the rrd file.

Mon Jul 26 14:39:12 2004
**INCOMING PERFDATA:
LASTCHECK=1090845538
HOSTNAME=sqlserv
SERVICEDESCR="PING"
SERVICESTATE="OK"
OUTPUT="PING OK - Packet loss = 0%, RTA = 1.00 ms"
PERFDATA=""
+VALUE: 1.00
+VALUE: 0
=INSERT into 'sqlserv-ping.rrd': 1.00,0 DSA-
names=rta,pktloss
!RRDCMDLINE: /usr/local/rrdtool-1.0.45/bin/rrdtool
update /usr/local/nagios/rrd
/sqlserv-ping.rrd --template rta:pktloss
1090845538:1.00:0

Pls Help!!

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I have got te same. If you take a look in the rrdfile you can
    see that there was never be an update.

    The time the last update was is also the time for the last
    entry

     
  • Ugur Erdugrul

    Ugur Erdugrul - 2005-01-06

    Logged In: YES
    user_id=822833

    i also have the same problem. when rrdtool fetch is used for
    getting values from rrd database, all the values is NaN. Is
    there any solution for it?

     
  • Nobody/Anonymous

    Logged In: NO

    I had this problem too 'til I had to fuss and fight with the
    inner workings of RRD databases.

    In the nagiostat.conf file, there are 2 RRDCreateTemplates
    for ping statistics, one for 1-minute intervals and one for
    5-minute intervals. All of the examples for InsertValue all
    used the 1-minute interval. If you were like me, you just
    modified the InsertValue line to change the host and that's
    it. The problem is that RRD database is created to expect
    data every minute, while your stock installation of Nagios
    only gives data every 5 minutes. If there's no data every
    minute, RRD rewards you with NaN.

    There's 2 ways to fix this.
    1) Have the RRD database expect data less often. In your
    InsertValue line, change ping_1min to ping_5min, AND delete
    the .rrd file you're putting data into. A new .rrd file will
    get created by nagiostat with (hopefully) the right
    parameters. or
    2) Have Nagios send data more often. In your
    /etc/nagios/services.cfg (or appropiate) file, go to the
    service you have ping defined, and change the value for
    normal_check_interval (and probably retry_check_interval) to
    1. Restart Nagios.

    Hope this helps. Can the README file be updated? TIA.

    --
    Curtis Brown
    curtisb@yuma.acns.colostate.edu

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.