RRDtool Graphing

I am trying to graph a once-daily value over a weekly and yearly basis:
rrdtool create test.rrd --start 1181163537 --step 86400 DS:test:GAUGE:172800:0:U RRA:AVERAGE:0.5:1:365
I have two problems:
1) I want to graph already-existing data, rather than collecting new. But apparently the "last updated" time internal to the RRDB cannot occur after the values one wants to insert. The following error message helped me figure that out:
rrdtool update test.rrd 1180644240:1234 1180730681:2234 1180817095:3234 1180903510:10001 1180989923:20
00
ERROR: illegal attempt to update using time 1180644240 when last update time is 1181163537 (minimum one second step)
I tried
dump
ing the RRDB, changing the last_updated timestamp, and then
restore
ing the database, but that didn't work.
And that brings me to the second problem, which is that I get only empty graphs:
$ rrdtool graph test.png --start 1180558209 --end now DEF:ds0=test.rrd:test:AVERAGE
0x0
I believe the second issue to be symptomatic of the first.
TIA for any ideas on how to get this rolling.
Last edited by print (2007-06-06 23:07:03)

If you haven't got an answer here by now, it's likely you won't. Have you tried the rrdtool ML?
http://oss.oetiker.ch/rrdtool/support.en.html

Similar Messages

  • PHP 5.0.4, php apps and zip file problems

    I use various opensource web apps that allow for files to be uploaded in zip format. The app then unzips the files and does what it needs to do with them. ie: Gallery2 uploading photos that are zipped up and placing the enclosed photos into the gallery.
    Anyway, this was working very well with the base install of OS X Server's PHP4.? and Apache 1.4.3
    I upgraded to PHP 5.0.4 using Entropy PHP (recommended by another OS X Server admin). Anyway, I lost the ability to handle the zip files. I am unsure what to look for.
    phpinfo() shows the following about compressed files:
    Configure Command
    './configure' '--prefix=/usr/local/php5' '--with-config-file-path=/usr/local/php5/lib' '--with-apxs' '--with-iconv' '--with-openssl=/usr' '--with-zlib=/usr' '--with-mysql=/Users/marc/svn/entropy/php-module/src/mysql-standard-*' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-libxml-dir=/usr/local/php5' '--with-xsl=/usr/local/php5' '--with-pdflib=/usr/local/php5' '--with-pgsql=/Users/marc/svn/entropy/php-module/build/postgresql-build' '--with-gd' '--with-jpeg-dir=/usr/local/php5' '--with-png-dir=/usr/local/php5' '--with-zlib-dir=/usr' '--with-freetype-dir=/usr/local/php5' '--with-t1lib=/usr/local/php5' '--with-imap=../imap-2002d' '--with-imap-ssl=/usr' '--with-gettext=/usr/local/php5' '--with-ming=/Users/marc/svn/entropy/php-module/build/ming-build' '--with-ldap' '--with-mime-magic=/usr/local/php5/etc/magic.mime' '--with-iodbc=/usr' '--with-xmlrpc' '--with-expat-dir=/usr/local/php5' '--with-iconv-dir=/usr' '--with-curl=/usr/local/php5' '--enable-exif' '--enable-wddx' '--enable-soap' '--enable-sqlite-utf8' '--enable-ftp' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-mbstring' '--enable-calendar' '--with-bz2=/usr' '--with-mcrypt=/usr/local/php5' '--with-mhash=/usr/local/php5' '--with-mssql=/usr/local/php5' '--with-fbsql=/Users/marc/svn/entropy/php-module/build/frontbase-build/Library/ FrontBase' '--enable-openbase_module'
    Registered PHP Streams
    php, file, http, ftp, compress.bzip2, compress.zlib, https, ftps
    BZip2 Support Enabled
    BZip2 Version 1.0.2, 30-Dec-2001

    I wish I could be as optimistic about your configuration, you have/had more than two issues, even after building a PHP that would work for you it had to be reconfigured to obtain optimal performance.
    I noticed other errors in your logs but since they weren't specifically related to your issue with zip or PHP running properly I place a low priority on them and ignored them.
    I eventually found the build issue with the entrophy PHP however Mark wasn't interested in the fix since it basically performed the majority of the tasks that were expected and everything else was considered experimental with no real support provided.
    You did get a better PHP built in the ADE (Apple Developer Environment) targeted specifically for your CPU (although they are universal binaries) and I included some modules I wrote myself that provide some (IMHO) key functionality for a production web service like scanning uploaded files for viruses and the ability to generate RRDTool graphs natively without slowing the process down by having to rely on external resources.
    While I have thoroughly tested the modules I wrote, I have not had the time (or the help) to write proper documentation for them so I might later provide some sample PHP scripts since they are fairly simple to implement.
    The biggest problem I saw was that you had a lot of nice toys but none of them were designed to work smoothly together and the entrophy PHP is a good alternative for someone who needs more than what apple provides but isn't capable of generating something that integrates well in the environment.
    Also to note, the entrophy (or Server Logistics) PHP is an all-purpose/general-purpose solution and isn't ever going to be optimal for any specific architecture due to the build process which is why the one I provided works significantly better, it was built specifically for both architectures individually then combined into a single binary giving you the ultimate performer for either architecture without sacraficing performance or degrading functionality.
    I tend to use as much Apple provided software as I can since it makes no sense to me to build and install any software that is already available and built specifically for the environment other than to waste disk space, freetype is a good example, any that is provided will never include the same features and functionality as the apple provided installation yet all PHP makers seem to build the basic bare-bones freetype and build their PHP off of it expecting to achieve the same feature-rich functionality which it clearly isn't capable of.
    They also include a lot of features which are never used and I have removed and/or substituted some of these in an attempt to provide a more usefull set of features and functionality and I include a very complete pear installation which also contains just about every feature and functionality you would ever require without providing anything that that would be considered fluff.
    I've been watching the performance of the installation for a couple of days now and I'm more than satified that it's a solid performer for you so smile and enjoy, santa was nice to you this year.

  • RRDTool installation failures

    Hey Alex (yes, I admit that this question is directly solely at you...might as well start sending me a bill)--
    Now that I've updated most of the servers under my purview to SpamAssassin 3.3.0 as well as Amavis-new 2.6.4, I thought I'd tackle the next most desired item on my list-- logging/graphing of the filtering stats. So, I started off attempting to install rrdtool w/ the hopes of adding MailGraph after that. I tried on a PPC G4 Leopard Server and a Mac Pro Snow Leopard Server, but had failures w/ rrdtool (different failures, I think) on each.
    The G4 (10.5) fails at the configure command, complaining about not finding the libpng library, despite libpng12 being in the /usr/X11R6/include directory.
    The Mac Pro (10.6) won't get past the long MACOSXDEPLOYMENTTARGET=10.6 line. When it fails, it says:
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    I've looked in this log file, but it is long, and I'm not sure what I'm looking for. Anyway, on both systems I have current (or near-current) Xcode Tools, and have gone back and installed X11 prior to stepping through your guides. I am, of course, using the proper 10.5 or 10.6 guides, depending on machine.
    I would try downloading and installing libpng manually on the G4, but I have no earthly idea what variables you give it (or why). Any suggestions?
    Thx,
    FT

    Well, out of 4 OS X Leopard 10.5 servers I've tried so far, only 1 has been successful. The rest give the following +configure error+ upon running the configure command under "4. Installing RRDtool" in the tutorial:
    * I could not find a working copy of libpng. Check config.log for hints on why this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately so that compiler and the linker can find libpng and its header files. If you have not installed libpng, you can get it either from its original home on
    http://prdownloads.sourceforge.net/libpng/
    You can find also find an archive copy on
    http://oss.oetiker.ch/rrdtool/pub/libs
    The last tested version of libpng is 1.2.10.
    LIBS=-lz -lartlgpl2
    LDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib
    CPPFLAGS=-I/usr/X11R6/include/libpng -I/usr/X11R6/include/freetype2 -I/usr/local/lib I/usr/local/include/libart-2.0 -I/usr/local -I/usr/X11R6 -DTHREADSAFE -I/usr/include/libart-2.0
    Each of these servers is 10.5.8 w/ the latest patches; each has Xcode 3.1.4 installed, as well as X11 client. Is there something I can do to install libpng properly, or is this error message inaccurate?
    As far as the 10.6 server I mentioned, I tried it again, and yes, I was running as root. Still the same error there. It is v10.6.2 & Xcode 3.2.1 (latest).
    Add'l questions: there are far newer versions of RRDtool than 1.2.23...should any of those be used? Also, the 1 server I got it working on seems to show a multiple of the actual messages sent/rec'd. IOW, I send 2 test messages, and it shows 2 messages sent and 4 rec'd, or something like that. Is it reading from 2 places or reading the log entries twice?
    Thanks for the tips!
    Fred

  • Graph is not getting displayed in R12

    Hello folks,
    Cureently m working on R12 upgrade project.
    And we have a report which is working fine 12 but the graphs are not getting displayed as like 11i.
    Could you plz any one help how to fix the issue.
    Note: There is no error is coming up. But in the graph part , graph is not getting displayed.
    Regards,
    Krishna

    Hello folks,
    Cureently m working on R12 upgrade project.
    And we have a report which is working fine 12 but the graphs are not getting displayed as like 11i.
    Could you plz any one help how to fix the issue.
    Note: There is no error is coming up. But in the graph part , graph is not getting displayed.
    Regards,
    Krishna

  • How can I display data gathered in a subVI in a graph of the main VI?

    I have written a largish application (~50 VI's) which acquires, analyzes, display and saves data from an instrument with a built-in DAQPad. My problem is that my block diagram is rather messy by now. I'm using an event structure in my main VI which reacts to buttons being pressed on the front panel. During data acquisition (one frame of the event structure), I need to do a lot of data processing, and I'm displaying both raw data and analyzed data on the front panel. I'm using a lot of subVI's for this, but I always need to get data out of the subVI's again to display it on the front panel, cluttering my block diagram. It would be much nicer if the subVI could update the main VI's graphs and indicators. I just found two examples with control references which show how a subVI can modify e.g. a 3Dgraph of the main VI, but I'm unable to use this with normal graphs and charts - I can't find a way to update the actual data in the plots (I can scale the plot or color it blue etc - but I really want to change the data it's displaying, not color it blue). Is there anything I'm missing? Is there example code for this kind of problem?
    best regards
    Martin

    im assuming that you want to update your graphs and indicators as you are performing your DAQ, otherwise, you can pass out your value/s when the DAQ completes.
    I have attached a very simple example of using a reference to update your front panel graph.
    Hope this helps.
    Attachments:
    Reference Example(LV7.1).zip ‏17 KB

  • How can I print out the graph I need only, without the controls and indicators?

    I'm doing some programming in LABVIEW. I need to print out only the graph, without the buttons, controls, indicators. I tried to look for such a function in LABVIEW, but in vain. How can I achieve the result I expect in my programming?

    Hi Fenny,
    you should use the report generation functions to create a report containing your graph image and print it.
    Take a look at the Sample Test Report.vi you find in the report examples of LV.
    Just look at the part of the diagram where it is used Append Control Image to report.vi (in the center of the report functions chain); a graph reference is wired to the Ctrl reference input ( to create a reference of your graph right click on it and select create reference).
    Let me know if you need more help,
    Alberto

  • Hiding a hierarchy column in graph view

    Hi All,
    In an compound layout I would like to have pivot view and bar chart view.
    There are two hierarchy columns in criteria. These column should display in pivot view.
    My requirement is to hide the hierarchy columns in Bar chart view and can we apply separate selection steps for each view.
    Kindly help me..
    Thanks,
    Haree

    Hi,
    Edit the pivot table and graph and at the below you can see the selection steps for the individual components. So that you can give separately for each of the components.
    Hope this helped/ answered.
    Regards
    MuRam

  • Silver graph performanc​e (apparent serious 2011 flaw)

    I noticed that cpu usage was quite high for some VIs and ended up finding out with simple comparison benchmarks (using performance and memory test) that a VI with the new silver graph runs about 25 times slower than a vi with the old, uh, modern graph at default graph size.  For a graph widened to cover a wide screen, it decreased to about 190 times slower, a horrible crawl.  For the test I just generated random numbers put into a 2000 element 1D array to be graphed (couldn't attach the test VIs for some reason). 
    The silver graph looks nice, but what in the world is going on here?
    Jesse

    Nice to know
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • Regarding graph in obiee 11g

    Hi All,
    i have some reports that has graph. in that graphs some graph is coming and some is not coming
    and giving error shown below.
    Graphing engine is not responding.
    A fatal error occurred while processing the request. The server responded with: oracle.bi.nanserver.fwk.exception.BISvsException: java.lang.NumberFormatException: For input string: "05:30".
    i have checked the services all are up and running.
    please help me to solve the problem.

    Issue was, Font been defined as 7.5 (may be font size decimal not supported ).the problem solved

  • Rwbld60.exe error while calling a graph wizard from reports 6i.

    Hi,
    I have a latest patch 4f installed on my machine for reports 6i. When i call a graph wizard from my reports i am getting a program error saying "rwbld60.exe has generated errors".
    How do i confirm that my new patch is installed successfully.
    Thanks in adv.
    Shailesh

    I'm getting this also. I thought it was
    due to my use of DATA PARAMETER. I've
    logged TARS on this and have yet to hear
    back from Oracle.
    Maybe if enough of us get the error Oracle
    will give some guidance on this one.

  • Printing problem with PDF graphs from preview

    Whenever I print PDF files from preview or from safari, some graphs print incorrectly, although they are displayed correctly on the screen.  This only happens with black and white figures and either a negative image with the black and white are reversed is printed or the background of the graphic just prints as a black box.  Colour elements are unaffected.  This doesn't happen when printing the same files using Adobe Reader or Adobe Professional.  Any suggestions for tweaking this, or am I going to have to start using the Adobe plugins instead?

    Please try it on Adobe Reader version 10.1.0 ,  Please note that this forum is for Adobe Reader on android and not for PDF Viewer.
    -vaibhav

  • How to change the text in the legend of a graph programmat​ically in labview

    I have many graphs in one plot and want to show the legend the name of the graph (i.e. the filename). How do I change the text in the legend programmatically?

    Create a property node for your graph. Use the property node "Active Plot" to define which plot (or line) you want to rename. Then write the new legend label to the property node "Plot.Name". See attached.
    Tim
    Attachments:
    legend.vi ‏12 KB

  • Can not edit data labels in old graph chart objects using Word 2010

    In Word 2010, Insert object "Microsoft Graph Chart", go to Chart Options and check an item in Data labels, such as "Series Name", "Category Name" or "Value". Click OK, then double-click on a data label to edit its
    settings, or right-click on a data label and select "Format Data Labels..."
    This makes Word to crash. The only way I can get out of it is by using the Task Manager to kill Word.
    This happens in Windows 7 and Windows 8. This does NOT not happen in Word 2007 nor Word 2013, so it seems specific to Word 2010. All our clients have the same problem, this does not seem related to a specific workstation configuration.
    The Microsoft Graph Chart are the old charts used within .doc files. I have an application still generating those types of files and need to edit data label settings manually before processing the files with my application.
    Also note that anytime you edit a .doc file in Word 2010 and you see "Compatibility Mode" in the title bar, the Insert / Chart option from the ribbon inserts an old type chart (same as if you use Insert / Object / Microsoft Graph Chart), not the
    new Word 2010 charts. You then have the same problem editing the data labels.
    The underlying Activex seems to be the Chart.Exe file, the one I have installed is 14.0.7012.1000. You can see the version by double-clicking the chart and then look in the Help / About menu.
    Any help will be greatly appreciated.

    As this is a configuration issue and not a programming issue I' moving your question to a more appropriate forum where you're more likely to find assistance.
    Cindy Meister, VSTO/Word MVP,
    my blog

  • How can i select groups of data for show in graphs

    Good morning, my problem is that I have made the connection to serial visa in  labview, but i dont know how display groups of bits  in graph, in serial signal I'm sending four sensors, the signals are in order, first is temperature with a group of 8 bits, then with 8 bits after pressure, etc, the problem is not as multiplex so to speak or determine each data to its respective graphics, I have suggested using counters or bitmask in the data but not how to do it, someone who can help me? annex vi if someone  find any errors in logic,  thank you!
    Attachments:
    NILV851ASD1_Sensors.vi ‏39 KB

    Hello Mark,
    The issue I see is that you're reading all bytes availible at your serial port.
    And than you convert them to one single decimal number which you pass on to your 5 controls ( 4 charts and 1 thermomenter like control ).
    What you need to do is read your serial output one value at a time, decode it and pass it to the appropriate control.
    I'm sending a VI that shows what I mean.
    I have assumed that once the connection is established data over the serial port will start with 8 bits of temperature, followed by 8 bits of pressure than 8 bits of humidity and 8 bits of altitude.
    And the cycle repeats.
    However you should look at any documentation describing any handshaking etc needed for your protocol to work.
    The device you're connecting to COM1 needs to know when to start and stop transmitting.
    Maciej
    Attachments:
    NILV851ASD1_Sensors.vi ‏35 KB

  • How do I display the next segment of an LVM file on a graph?

    I have built an application which reads in an LVM file containing 16 waveforms. I am taking 1000 samples at 1kHz. The capture may last for up to 3 minutes, so I generate a sizable file. When I read this file back and display it I only get the first segment of 1000 samples (1 second). Generally this is fine, but I want to be able to select to view the other segments as well. I have been attempting to use the "Read Measurement File" express vi.
    I have also tried to put the "Read Measurement File" in a while loop until I hit EOF and tied it to an "Append Signals" express vi before feeding it into the graph. This allowed me to see the last segment of my capture.
    I understand that the amount of data I am trying to display would be too much for the graph, but isn't there some way I can point to a segment and display it? The perfect answer would be to grab the timestamps of the segment headers in my file and populate a listbox. (I am generating this file with headers for each segment.) Then I could scroll through the listbox and select the "second" that I want to examine. Then I need the "selected second" to display on the graph. I suspect that this is possible because I am already pulling the waveform names from the file and feeding them into a listbox so I can select which waveform(s) I want to examine.
    Any Ideas?
    technomage

    Hi there,
    Have you considered using the TDM file format instead of the LVM format? With TDM you specify parameters for your file and your channels. When you want to read data from the file you can extrac data based on those parameters. So you could construct a search that extracts the data from a particular time, or all the data that was acquired in a 10 minute period for example.
    There are a few VIs you would have to become familiar with to do this (the datalog VIs are located in a palette on the File IO palette), but it would probably be easier for you to use these then to construct the file yourself and then program in all the search parameters.
    Here are some resources with more information on the TDM format:
    TDM Data Format
    Introduction to LabVIEW Data Storage VIs
    They should help you decide if you would like to use this format or stick with the LVM format.
    Sarah
    Applications Engineer | National Instruments | UK & Ireland

Maybe you are looking for

  • NEW AT&T MMS DATE

    The new date for iPhone MMS for AT&T is September 25th. Thank goodness for that. I thought there was something going wrong when I updated my iPhone and it still wasn't there. But now the question is are they going to put off the launch again? Hopeful

  • MS Access to Oracle 11g data migration

    Hi All, I've been trying to migrate the data. I've even tried the Northwind and it succeeded. The problem now is, the Tools->Migration->Microsoft Access Exporter (MS Access 2000 exporter) doesn't export the entire data from tables. I've some 20 recor

  • How to set NC Log API

    Hi all, I want to use the following NC log API,but I don't know how to initialize the interface's java object and set the parameter "ApplicationVO". Interface LogNCApplicationInterface Method ApplicationVO addNDone(ApplicationVO applicationvo) Please

  • How do I get file menu in Photoshop Elements 7 to show

    The file menu in Photoshop Elements 7 Organizer does not show.  I have to select to ">>" at the top of the screen to get to the file menu. Thank you! JCF

  • Selecting a Graphic Layer with Apple Script

    I'm trying to build on a very helpful post by sstanleyau showing how to choose different layers in a placed PSD or PDF. Unfortunately, I'm stuck in my test script. It seems so simple - Here's what the script should do after an image is placed in a te