Xymon Mailing List Archive search

Temperature graphs

list David Fogarty
Thu, 11 Jun 2015 14:34:46 -0700 (PDT)
Message-Id: <user-164040ea6dd7@xymon.invalid>

This sounds very promising.

I'm assuming this would mean that I would submit the data as an alternate 
test name but in the rrd script, write to an rrd file named 
"temperature.Routing_Engine_Temperature".

I'll play with this and come back.

Thanks,
Dave Fogarty

--
Senior System Administrator
CollegeNET.com

On Fri, 12 Jun 2015, Vernon Everett wrote:
Hi all
The simple solution is to send two messages.
One, as a status, which is the display we get to see.
And another with data, which we don't get to see, but gets parsed into the rrd files.

Regards
Vernon

On 12 June 2015 at 06:30, Galen Johnson <user-87f955643e3d@xymon.invalid> wrote:
      I'm pretty sure it's either...I find it a bit frustrating that we can't
      limit where it looks for that info...if you happen to have a non-related
      comment with a space or colon and a number, Xymon will attempt to parse it
      as a tracked variable as well.

      =G=

      From: Xymon <xymon-bounces at xymon.com> on behalf of Jeremy Ruffer
      <user-6d8e227afca3@xymon.invalid>
      Sent: Thursday, June 11, 2015 4:20 PM
      To: Bill Rowan
      Cc: xymon at xymon.com
      Subject: Re: [Xymon] Temperature graphs

      I use a colon to separate value and data. It works.

      Jeremy

On 11 Jun 2015, at 21:03, Bill Rowan <user-3078c15a8e5e@xymon.invalid> wrote:

Get rid of the spaces.  Your status should read "&green
      Routing_Engine_Temperature 43".  Make sure you send the data in Celsius and
      let xymon do the conversion in the graphs.cfg file.
I haven't tried using a colon for separation of data and value.  I have
      been using just a space and it works fine for me on 4.3.7.

On 6/11/2015 1:46 PM, David Fogarty wrote:
I've got a couple snmp tests and I'm trying to graph their output.  I
      tried putting in my own rrd script to collect the data, but there seems to
      be a built-in one overriding mine.  So, I tried to format my test output to
      work with that, but I'm just getting rrd files that lack any data.

The main line of the test is like this:
  &green Routing Engine Temperature 43

It causes the creation of a file like this:
/var/lib/hobbit/rrd/<hostname>/temperature.Routing_Engine_Temperature.rrd

When I use "rrdtool dump" I still get data like this and an empty graph.
  <!-- 2015-06-11 11:20:00 PDT / 1434046800 --> <row><v>NaN</v></row>
  <!-- 2015-06-11 11:25:00 PDT / 1434047100 --> <row><v>NaN</v></row>

If someone knows the correct format for temperature tests, I'd be set.


Also, we've got snmp collecting memory data for some equipment that we'd
      like to override internal graphing on specific hosts if that can be done.
      Reformatting output on that may be a bit harder.
The obvious answer is to change the test names for our custom ones, but
      my boss is very opposed to creating new columns in xymon.

Thanks,
Dave Fogarty

--
Senior System Administrator
CollegeNET.com
--
"Accept the challenges so that you can feel the exhilaration of victory"- General George
Patton