Xymon Mailing List Archive search

temperature test and graphing

14 messages in this thread

list Ryan Novosielski · Tue, 15 Jun 2010 15:49:50 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I've not used the name "temperature" for this test because it is
obnoxiously long, instead substituting "temp" for the test name. I've
since found that Xymon will automatically graph my temperature tests if
I use the name "temperature" instead of temp. But, I still have no
desire to do that. Would changing it to "temp" require me to edit the
source code and recompile, or is this in config files? I can't find
anything on the web that necessarily addresses this.

Thanks for the pointers!
- --
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwX2V4ACgkQmb+gadEcsb6nRwCcDmc+VRyFrNYfR1EFo/5eQUK2
vcoAoL3AAfupoePxvVNb2eqXPqNLF3wp
=iE5Y
-----END PGP SIGNATURE-----
list Tom Schmitt · Tue, 15 Jun 2010 16:00:12 -0600 ·
Just a thought.

Check out [temperature] in /home/xymon/server/etc/hobbitgraph.cfg
You can change from C to F degrees also.
You'll probably have to adjust hobbitserver.cfg - see Help --> Custom
Graphs
Restart xymon

         Thanks,
         
         Tom Schmitt
         Senior IT Staff - R&D
         L-3 Communication Systems West
         640 North 2200 West
         P.O. Box 16850
         Salt Lake City, UT  XXXXX
         Phone (XXX) XXX-XXXX
         Cell      (XXX) XXX-XXXX
         eFax    (XXX) XXX-XXXX
         user-9c1ae820b621@xymon.invalid
                 \\\\||////
                  \ ~  ~ /  
                  | @  @ |   
     		--oOo---(_)---oOo--

-----Original Message-----
From: Ryan Novosielski [mailto:user-ae4522577e16@xymon.invalid] 
Sent: Tuesday, June 15, 2010 1:50 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] temperature test and graphing

* PGP Signed by an unknown key
quoted from Ryan Novosielski

Hi all,

I've not used the name "temperature" for this test because it is
obnoxiously long, instead substituting "temp" for the test name. I've
since found that Xymon will automatically graph my temperature tests if
I use the name "temperature" instead of temp. But, I still have no
desire to do that. Would changing it to "temp" require me to edit the
source code and recompile, or is this in config files? I can't find
anything on the web that necessarily addresses this.

Thanks for the pointers!
--
---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer 
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark

* Unknown Key
* 0xD11CB1BE(L)
list Vernon Everett · Wed, 16 Jun 2010 06:05:59 +0800 ·
A few days ago, I posted a mini guide to making graphing work.
It should have all the info you need to do what you need to do.

Cheers
   V
quoted from Tom Schmitt

On Wed, Jun 16, 2010 at 6:00 AM, <user-9c1ae820b621@xymon.invalid> wrote:
Just a thought.

Check out [temperature] in /home/xymon/server/etc/hobbitgraph.cfg
You can change from C to F degrees also.
You'll probably have to adjust hobbitserver.cfg - see Help --> Custom
Graphs
Restart xymon

        Thanks,

        Tom Schmitt
        Senior IT Staff - R&D
        L-3 Communication Systems West
        640 North 2200 West
        P.O. Box 16850
        Salt Lake City, UT  XXXXX
        Phone (XXX) XXX-XXXX
        Cell      (XXX) XXX-XXXX
        eFax    (XXX) XXX-XXXX
        user-9c1ae820b621@xymon.invalid
                \\\\||////
                 \ ~  ~ /
                 | @  @ |
               --oOo---(_)---oOo--

-----Original Message-----
From: Ryan Novosielski [mailto:user-ae4522577e16@xymon.invalid]
Sent: Tuesday, June 15, 2010 1:50 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] temperature test and graphing

* PGP Signed by an unknown key

Hi all,

I've not used the name "temperature" for this test because it is
obnoxiously long, instead substituting "temp" for the test name. I've
since found that Xymon will automatically graph my temperature tests if
I use the name "temperature" instead of temp. But, I still have no
desire to do that. Would changing it to "temp" require me to edit the
source code and recompile, or is this in config files? I can't find
anything on the web that necessarily addresses this.

Thanks for the pointers!
--
---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark

* Unknown Key
* 0xD11CB1BE(L)

list Ryan Novosielski · Tue, 15 Jun 2010 22:46:20 -0400 ·
Where at? To the list?

-- Sent from my Palm Pre
quoted from Vernon Everett
On Jun 15, 2010 18:08, Vernon Everett &lt;user-b3f8dacb72c8@xymon.invalid&gt; wrote: 

A few days ago, I posted a mini guide to making graphing work.
It should have all the info you need to do what you need to do.

Cheers

&nbsp;&nbsp; V
quoted from Vernon Everett

On Wed, Jun 16, 2010 at 6:00 AM,  &lt;user-9c1ae820b621@xymon.invalid&gt; wrote:

Just a thought.


Check out [temperature] in /home/xymon/server/etc/hobbitgraph.cfg

You can change from C to F degrees also.

You'll probably have to adjust hobbitserver.cfg - see Help --&gt; Custom

Graphs

Restart xymon


 &nbsp; &nbsp; &nbsp; &nbsp; Thanks,


 &nbsp; &nbsp; &nbsp; &nbsp; Tom Schmitt

 &nbsp; &nbsp; &nbsp; &nbsp; Senior IT Staff - R&amp;D

 &nbsp; &nbsp; &nbsp; &nbsp; L-3 Communication Systems West

 &nbsp; &nbsp; &nbsp; &nbsp; 640 North 2200 West

 &nbsp; &nbsp; &nbsp; &nbsp; P.O. Box 16850

 &nbsp; &nbsp; &nbsp; &nbsp; Salt Lake City, UT &nbsp;84116

 &nbsp; &nbsp; &nbsp; &nbsp; Phone (XXX) XXX-XXXX

 &nbsp; &nbsp; &nbsp; &nbsp; Cell &nbsp; &nbsp; &nbsp;(XXX) XXX-XXXX

 &nbsp; &nbsp; &nbsp; &nbsp; eFax &nbsp; &nbsp;(XXX) XXX-XXXX

 &nbsp; &nbsp; &nbsp; &nbsp; user-9c1ae820b621@xymon.invalid

 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \\\\||////

 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\ ~ &nbsp;~ /

 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| @ &nbsp;@ |

 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--oOo---(_)---oOo--
quoted from Ryan Novosielski


-----Original Message-----

From: Ryan Novosielski [mailto:user-ae4522577e16@xymon.invalid]

Sent: Tuesday, June 15, 2010 1:50 PM

To: user-ae9b8668bcde@xymon.invalid

Subject: [hobbit] temperature test and graphing


* PGP Signed by an unknown key


Hi all,


I've not used the name "temperature" for this test because it is

obnoxiously long, instead substituting "temp" for the test name. I've

since found that Xymon will automatically graph my temperature tests if

I use the name "temperature" instead of temp. But, I still have no

desire to do that. Would changing it to "temp" require me to edit the

source code and recompile, or is this in config files? I can't find

anything on the web that necessarily addresses this.


Thanks for the pointers!

--

---- _ &nbsp;_ _ &nbsp;_ ___ &nbsp;_ &nbsp;_ &nbsp;_

|Y#| | &nbsp;| |\/| | &nbsp;\ |\ | &nbsp;| |Ryan Novosielski - Sr. Systems Programmer

|$&amp;| |__| | &nbsp;| |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
quoted from Vernon Everett

\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark


* Unknown Key

* 0xD11CB1BE(L)
list Buchan Milne · Wed, 16 Jun 2010 09:03:20 +0100 ·
quoted from Ryan Novosielski
On Tuesday, 15 June 2010 20:49:50 Ryan Novosielski wrote:
Hi all,

I've not used the name "temperature" for this test because it is
obnoxiously long, instead substituting "temp" for the test name. I've
since found that Xymon will automatically graph my temperature tests if
I use the name "temperature" instead of temp. But, I still have no
desire to do that. Would changing it to "temp" require me to edit the
source code and recompile, or is this in config files? I can't find
anything on the web that necessarily addresses this.
How are you collecting this info?

devmon has quite a few templates that have a 'temp' test, and the example 
entries for hobbitgraph.cfg shipped with it should work for all the devices 
for which temp tests are provided (many cisco routers/switches, HP servers, 
Dell servers, APC UPSs).

Regards,
Buchan
list Ryan Novosielski · Wed, 16 Jun 2010 07:19:43 -0400 ·
From reading the documentation, it appears as if so long as you get the temperature script from Deadcat (which I've got), and call the test "temperature," graphing happens automagically. All I want to do is change the name of the test but still have this happen. I tried just changing the name in the file that is in server/etc (I forget which right now, but the two places it appears in the file are the GRAPH and TEST2RRD variables). Presently, though, there is not even an RRD file that results from having the "temp" test running. Maybe just adding --extra-tests="temp" might do it on the hobbit_rrd line? Custom graphing is another story, and I am also trying to get that working for the env test of an APC UPS but for the Deadcat script, it's supposed to be built in.
quoted from Buchan Milne


-- Sent from my Palm Pre
On Jun 16, 2010 4:06, Buchan Milne &lt;user-9b139aff4dec@xymon.invalid&gt; wrote: 

On Tuesday, 15 June 2010 20:49:50 Ryan Novosielski wrote:

&gt; Hi all,

&gt; 

&gt; I've not used the name "temperature" for this test because it is

&gt; obnoxiously long, instead substituting "temp" for the test name. I've

&gt; since found that Xymon will automatically graph my temperature tests if

&gt; I use the name "temperature" instead of temp. But, I still have no

&gt; desire to do that. Would changing it to "temp" require me to edit the

&gt; source code and recompile, or is this in config files? I can't find

&gt; anything on the web that necessarily addresses this.
quoted from Buchan Milne


How are you collecting this info?


devmon has quite a few templates that have a 'temp' test, and the example 

entries for hobbitgraph.cfg shipped with it should work for all the devices 

for which temp tests are provided (many cisco routers/switches, HP servers, 

Dell servers, APC UPSs).


Regards,

Buchan
list Ryan Novosielski · Tue, 20 Jul 2010 13:41:20 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Never got an answer on this. I'm hoping someone might know the story.
quoted from Ryan Novosielski

On 06/15/2010 03:49 PM, Ryan Novosielski wrote:
Hi all,

I've not used the name "temperature" for this test because it is
obnoxiously long, instead substituting "temp" for the test name. I've
since found that Xymon will automatically graph my temperature tests if
I use the name "temperature" instead of temp. But, I still have no
desire to do that. Would changing it to "temp" require me to edit the
source code and recompile, or is this in config files? I can't find
anything on the web that necessarily addresses this.

Thanks for the pointers!
- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxF38AACgkQmb+gadEcsb62/ACfSWZ7sQ75TLYWx4/+8lCxYx+0
gj0AoLjVlX7LgzGsF1e3VCCgKddJvJHq
=1hVA
-----END PGP SIGNATURE-----
list Ryan Novosielski · Tue, 20 Jul 2010 14:21:54 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pardon me -- this message was apparently in my outgoing mail and not
delivered until now. I did get a bit of information from some others.

I still do not know how this one test functions as a built-in process,
however, so I guess it is true that that part was not answered. Is the
temperature test hard-coded in the source code for graphing?
quoted from Ryan Novosielski

On 07/20/2010 01:41 PM, Ryan Novosielski wrote:
Never got an answer on this. I'm hoping someone might know the story.

On 06/15/2010 03:49 PM, Ryan Novosielski wrote:
Hi all,
I've not used the name "temperature" for this test because it is
obnoxiously long, instead substituting "temp" for the test name. I've
since found that Xymon will automatically graph my temperature tests if
I use the name "temperature" instead of temp. But, I still have no
desire to do that. Would changing it to "temp" require me to edit the
source code and recompile, or is this in config files? I can't find
anything on the web that necessarily addresses this.
Thanks for the pointers!
- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxF6UIACgkQmb+gadEcsb7I8QCgu8MH+dbSHtPJ4jIBtXsjnTG8
WfoAn3pprkfVX7RAHMOTkQDhRQQv7RXV
=X6nt
-----END PGP SIGNATURE-----
list W.J.M. Nelis · Wed, 21 Jul 2010 07:47:03 +0200 ·
quoted from Ryan Novosielski
Ryan Novosielski wrote:
Never got an answer on this. I'm hoping someone might know the story.

On 06/15/2010 03:49 PM, Ryan Novosielski wrote:
  
Hi all,

I've not used the name "temperature" for this test because it is
obnoxiously long, instead substituting "temp" for the test name. I've
since found that Xymon will automatically graph my temperature tests if
I use the name "temperature" instead of temp. But, I still have no
desire to do that. Would changing it to "temp" require me to edit the
source code and recompile, or is this in config files? I can't find
anything on the web that necessarily addresses this.

Thanks for the pointers!
    
Look at hobbitgraph.cfg: there is a section called temperature, but none 
called temp.

Regards,
  Wim Nelis.


*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************
list Ryan Novosielski · Wed, 21 Jul 2010 08:28:57 -0400 ·
Yeah, that I changed to [temp]. I'm assuming what I should be looking for are temp*.rrd files. If they are not there, is the client or the server not generating them? Where might I look to see why that is not happening?

-- Sent from my Palm Pre
On Jul 21, 2010 8:17, W.J.M. Nelis &lt;user-6956df205d63@xymon.invalid&gt; wrote: 

Ryan Novosielski wrote:

&gt; Never got an answer on this. I'm hoping someone might know the story.

&gt;

&gt; On 06/15/2010 03:49 PM, Ryan Novosielski wrote:

&gt;   

&gt;&gt; Hi all,

&gt;&gt;

&gt;&gt; I've not used the name "temperature" for this test because it is

&gt;&gt; obnoxiously long, instead substituting "temp" for the test name. I've

&gt;&gt; since found that Xymon will automatically graph my temperature tests if

&gt;&gt; I use the name "temperature" instead of temp. But, I still have no

&gt;&gt; desire to do that. Would changing it to "temp" require me to edit the

&gt;&gt; source code and recompile, or is this in config files? I can't find

&gt;&gt; anything on the web that necessarily addresses this.

&gt;&gt;

&gt;&gt; Thanks for the pointers!

&gt;&gt;     
quoted from W.J.M. Nelis

Look at hobbitgraph.cfg: there is a section called temperature, but none 

called temp.


Regards,

  Wim Nelis.


*******************************************************************************************************

The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.

*******************************************************************************************************
list W.J.M. Nelis · Wed, 21 Jul 2010 15:33:53 +0200 ·
quoted from Ryan Novosielski
Yeah, that I changed to [temp]. I'm assuming what I should be looking 
for are temp*.rrd files. If they are not there, is the client or the 
server not generating them? Where might I look to see why that is not 
happening?
If the test is called temp, and you've added it in hobbitserver.cfg in 
TEST2RRD and optionally GRAPHS, and you've defined SPLITNCV_temp, you 
should find files called ^temp\.(.+)\.rrd$ (parameter of FNPATTERN). Did 
you read about custom graphs in Xymon, such as 
http://pto.linuxbog.dk/hobbit/help/howtograph.html ?
quoted from W.J.M. Nelis
On Jul 21, 2010 8:17, W.J.M. Nelis <user-6956df205d63@xymon.invalid> wrote:

Ryan Novosielski wrote:
Never got an answer on this. I'm hoping someone might know the story.

On 06/15/2010 03:49 PM, Ryan Novosielski wrote:
Hi all,

I've not used the name "temperature" for this test because it is
obnoxiously long, instead substituting "temp" for the test name. I've
since found that Xymon will automatically graph my temperature tests if
I use the name "temperature" instead of temp. But, I still have no
desire to do that. Would changing it to "temp" require me to edit the
source code and recompile, or is this in config files? I can't find
anything on the web that necessarily addresses this.

Thanks for the pointers!
Look at hobbitgraph.cfg: there is a section called temperature, but none
called temp.

Regards,
Wim Nelis.

*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************
list Ryan Novosielski · Wed, 21 Jul 2010 12:17:43 -0400 ·
quoted from W.J.M. Nelis
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ryan Novosielski wrote:
Never got an answer on this. I'm hoping someone might know the story.

On 06/15/2010 03:49 PM, Ryan Novosielski wrote:
Hi all,

I've not used the name "temperature" for this test because it is
obnoxiously long, instead substituting "temp" for the test name. I've
since found that Xymon will automatically graph my temperature tests if
I use the name "temperature" instead of temp. But, I still have no
desire to do that. Would changing it to "temp" require me to edit the
source code and recompile, or is this in config files? I can't find
anything on the web that necessarily addresses this.

Thanks for the pointers!
On Jul 21, 2010 8:17, W.J.M. Nelis <user-6956df205d63@xymon.invalid> wrote:

Look at hobbitgraph.cfg: there is a section called temperature, but none
called temp.
On 07/21/2010 08:28 AM, Ryan Novosielski wrote:

Yeah, that I changed to [temp]. I'm assuming what I should be looking
for are temp*.rrd files. If they are not there, is the client or the
server not generating them? Where might I look to see why that is not
happening?
OK, I got further with this. As it turns out, this IS hard coded in the
source code. First place is xymon-4.2.3/hobbitd/do_rrd.c as extracted
from the source:

- ---
# diff do_rrd.c.orig do_rrd.c
389c389
<       else if (strcmp(id, "temperature") == 0) res =
do_temperature_rrd(hostname, testname, msg, tstamp);
- ---
      else if (strcmp(id, "temp") == 0) res =
do_temperature_rrd(hostname, testname, msg, tstamp);
- ---

...but there's also an included file, ./rrd/do_temperature.c:

- ---
# diff do_temperature.c.orig do_temperature.c
16c16
<
"DS:temperature:GAUGE:600:1:U",
- ---
                                            "DS:temp:GAUGE:600:1:U",
84c84
<                       savech = *(p+1); *(p+1) = '\0';
setupfn("temperature.%s.rrd", bol); *(p+1) = savech;
- ---
                      savech = *(p+1); *(p+1) = '\0';
setupfn("temp.%s.rrd", bol); *(p+1) = savech;
- ---

...I don't have graphs yet, but I think it might be the averages taking
awhile. I guess we'll see. I do have RRD files now; anyone have any idea
what to do if there are ultimately no graphs even with RRD files?
quoted from Ryan Novosielski

- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxHHacACgkQmb+gadEcsb638gCgqf12Rl5CX6qQItSJW4erIZQU
tdUAoIO+t3ayjRzZewwzzcPd9HGuyZo+
=BZSj
-----END PGP SIGNATURE-----
list Vernon Everett · Thu, 22 Jul 2010 10:39:51 +0800 ·
Are your sure you want to go down this path, simply to satisfy your sense of
aesthetics?
You will effectively be running a subtly, but significantly, non-standard
build, which could lead to tears in the future, either for yourself, or
those that come after you.
If you, in a year or two, forget this change, and do an upgrade to the
latest version, ALL your temperature stuff will break.
Likewise, I predict a world of pain for your successor, should you ever
leave this position, and they ask for help on the list, or try and upgrade.
From their perception, the Xymon upgrade will have broken the test, and
Xymon will be seen as a peice of rubbish, and because the change that caused
all the pain will be long forgotten, there will be no constructive help
available on the list.

At the end of the day, this is the joy of open source. You have the code,
and can modify it to your heart's content.
It is your installation, and your right to do with it as you please.
That being said, please think carefully before you do this.
In the long run, it might not be such a good idea.

Regards
     Vernon
quoted from Ryan Novosielski


On Thu, Jul 22, 2010 at 12:17 AM, Ryan Novosielski <user-ae4522577e16@xymon.invalid>wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ryan Novosielski wrote:
Never got an answer on this. I'm hoping someone might know the story.

On 06/15/2010 03:49 PM, Ryan Novosielski wrote:
Hi all,

I've not used the name "temperature" for this test because it is
obnoxiously long, instead substituting "temp" for the test name. I've
since found that Xymon will automatically graph my temperature tests if
I use the name "temperature" instead of temp. But, I still have no
desire to do that. Would changing it to "temp" require me to edit the
source code and recompile, or is this in config files? I can't find
anything on the web that necessarily addresses this.

Thanks for the pointers!
On Jul 21, 2010 8:17, W.J.M. Nelis <user-6956df205d63@xymon.invalid> wrote:

Look at hobbitgraph.cfg: there is a section called temperature, but none
called temp.
On 07/21/2010 08:28 AM, Ryan Novosielski wrote:

Yeah, that I changed to [temp]. I'm assuming what I should be looking
for are temp*.rrd files. If they are not there, is the client or the
server not generating them? Where might I look to see why that is not
happening?
OK, I got further with this. As it turns out, this IS hard coded in the
source code. First place is xymon-4.2.3/hobbitd/do_rrd.c as extracted
from the source:

- ---
# diff do_rrd.c.orig do_rrd.c
389c389
<       else if (strcmp(id, "temperature") == 0) res =
do_temperature_rrd(hostname, testname, msg, tstamp);
- ---
      else if (strcmp(id, "temp") == 0) res =
do_temperature_rrd(hostname, testname, msg, tstamp);
- ---

...but there's also an included file, ./rrd/do_temperature.c:

- ---
# diff do_temperature.c.orig do_temperature.c
16c16
<
"DS:temperature:GAUGE:600:1:U",
- ---
                                            "DS:temp:GAUGE:600:1:U",
84c84
<                       savech = *(p+1); *(p+1) = '\0';
setupfn("temperature.%s.rrd", bol); *(p+1) = savech;
- ---
                      savech = *(p+1); *(p+1) = '\0';
setupfn("temp.%s.rrd", bol); *(p+1) = savech;
- ---

...I don't have graphs yet, but I think it might be the averages taking
awhile. I guess we'll see. I do have RRD files now; anyone have any idea
what to do if there are ultimately no graphs even with RRD files?

- --
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxHHacACgkQmb+gadEcsb638gCgqf12Rl5CX6qQItSJW4erIZQU
tdUAoIO+t3ayjRzZewwzzcPd9HGuyZo+
=BZSj
-----END PGP SIGNATURE-----

list Ryan Novosielski · Thu, 22 Jul 2010 12:51:13 -0400 ·
quoted from Vernon Everett
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/21/2010 09:33 AM, W.J.M. Nelis wrote:
Yeah, that I changed to [temp]. I'm assuming what I should be looking
for are temp*.rrd files. If they are not there, is the client or the
server not generating them? Where might I look to see why that is not
happening?
If the test is called temp, and you've added it in hobbitserver.cfg in
TEST2RRD and optionally GRAPHS, and you've defined SPLITNCV_temp, you
should find files called ^temp\.(.+)\.rrd$ (parameter of FNPATTERN). Did
you read about custom graphs in Xymon, such as
http://pto.linuxbog.dk/hobbit/help/howtograph.html ?
I have, thanks. I wanted to investigate the opportunity to use a
built-in test first, but I can see that there are some problems with
that idea regardless. Also, though, doing things that way helped me to
understand the graphing process a lot better.

One thing that confused me the first time I set out to do this is that
it appears to rely heavily on the output format of the status test. eg.
It expects values of VALUE1: amount, VALUE2: amount... not something a
whole lot more complicated. This makes using NCV to add graphing to an
external script not a very simple idea, if I'm understanding that
correctly.

Do you know if that is a proper take on it, or should I read deeper?
quoted from Vernon Everett

- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxIdwAACgkQmb+gadEcsb7WZwCfTshSA5upFnhIuhMNdgFB2mRp
r3UAnioqtDzeSLv89QhFFdcZEYa2hvWp
=BZwf
-----END PGP SIGNATURE-----