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
You'd probably have better luck if you made it colon separated. Routing Engine Temperature: 43
-----Original Message----- From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of David Fogarty Sent: Thursday, June 11, 2015 1:47 PM To: 'xymon at xymon.com' Subject: [Xymon] Temperature graphs
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 This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
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
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
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
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 <Galen.Johnson at sas.com> 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
-- "Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
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 <Galen.Johnson at sas.com> 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-- "Accept the challenges so that you can feel the exhilaration of victory"- General George Patton
2015-06-11 23:19 skrev Vernon Everett:
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.
Agreed. Sending the trend data separately is simple and makes the monitoring script cleaner. And the message format is well documented instead of a hack.
Ulric
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
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:
- check every 5 minutes (what I ended up doing)
- use rrdtool tune after it was created to extend the default window of the rrd file
- 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
participants (7)
-
bill@rowanfamily.com
-
dave@collegenet.com
-
everett.vernon@gmail.com
-
Galen.Johnson@sas.com
-
jeremy.ruffer@gmail.com
-
Paul.Root@CenturyLink.com
-
ulric@siag.nu