[Xymon] Temperature graphs

Galen Johnson Galen.Johnson at sas.com
Thu Jun 11 23:53:37 CEST 2015


Maybe I missed it in a different thread but what version are you using that still references "hobbit" paths?  My rrd files don't include the colon and use a comma between test and metric.  Also, is your test firing less often than every 5 minutes?  My first attempt was firing off every 15 minutes and that was causing RRD to drop them since it was outside of the 10 minute default window.  NCV can be a bit finicky.  At that point I had 3 options:

1) check every 5 minutes (what I ended up doing)
2) use rrdtool tune after it was created to extend the default window of the rrd file
3) create the rrd myself and then let xymon populate it (which is pretty much what you have to do when you use the separate data stream).

I hid my metric inside a <!-- data --> comment like devmon does and used html codes in the status area for the viewable area.  Note, sometimes you have to wait up to 30 minutes before you see anything on the graph but you should be able to see values getting updated using the rrdtool dump utility.

=G=

________________________________________
From: Xymon <xymon-bounces at xymon.com> on behalf of David Fogarty <dave at collegenet.com>
Sent: Thursday, June 11, 2015 5:28 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Temperature graphs

I have removed the spaces and added a colon, so

   &green Routing_Engines_Temperature: 44

creates a filename that looks like:
/var/lib/hobbit/rrd/<hostname>/temperature.Routing_Engine_Temperature:.rrd

And I still get no data.



Dave Fogarty

--
Senior System Administrator
CollegeNET.com

On Thu, 11 Jun 2015, Galen Johnson 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 <jeremy.ruffer at gmail.com>
> 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 <bill at rowanfamily.com> 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
>>> _______________________________________________
>>> Xymon mailing list
>>> Xymon at xymon.com
>>> http://lists.xymon.com/mailman/listinfo/xymon
>>
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon


More information about the Xymon mailing list