View Only
  • 1.  Performance Metric Plugin Question

    Posted Mar 11, 2009 09:13 PM

    Is there a way to feed HQ a set of data, like this:


    and have it figure out the min/max/average bars by itself every 5 minutes, like we can do with ganglia's gmetric? With Hyperic I am only getting the last value, no range bar.

    The data comes from a collection script that is run every 10 minutes, tailing log file for 5 minutes and taking performance data snapshot.

    Thank you,


  • 2.  RE: Performance Metric Plugin Question

    Posted Mar 12, 2009 07:33 PM
    I think you can only give one value at time. When you change timescale to view data, HQ is showing combined data. Then you see those bars. You can't manually set that data.

    I wonder if there is something what you could do to get closer. When my custom plugin requests data, I need to give timestamp to data point. I'm always setting this time as current time. I'm just wondering what this timestamp means for HQ server. Is it using given time or just time when new data point is received.

    I'm just wondering if there is any way to give 'old' metric data back to server. Like in your case.

    btw, can't you just increase your collection time and let the hyperic to calculate your 'bars'?

  • 3.  RE: Performance Metric Plugin Question

    Posted Mar 12, 2009 08:06 PM
    That's what I suspected.

    In this case, I am tracking a rails app that writes a ton of statistics in a log file. I am cutting out a log slice 5-minute at a time and then processing it and feeding it to Hyperic. I was looking for a way to feed the data directly and more "continuously" so that it takes care of the min/max/average tracking. Currently, I am using it offline with cron and awk.

    On an unrelated note - is there a way to produce frequency series graphs (normalized, ideally) - a built in way that is and is there anyone out there who thought about a custom plugin doing this?



  • 4.  RE: Performance Metric Plugin Question

    Posted Mar 12, 2009 08:17 PM
    I had a similar type of problem with one of our custom software statistics. There was specific lines in log file when certain actions happened(something was received or sent).

    I made a perl script which is tailing the file 24/7 and catching these action events. Then this script tracks what is the rate (actions/minute) and every 15 seconds writes these rates to external file. Later my hq script plugin is importing this metric data once per minute.

    I guess something similar could be done with custom hq metric collector, but it's much faster to process log files with perl than java.