[xymon] Re: temperature test and graphing

Vernon Everett everett.vernon at gmail.com
Thu Jul 22 04:39:51 CEST 2010


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



On Thu, Jul 22, 2010 at 12:17 AM, Ryan Novosielski <novosirj at umdnj.edu>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 <Wim.Nelis at nlr.nl> 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
> |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 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-----
>
>
> To unsubscribe from the xymon list, send an e-mail to
> xymon-unsubscribe at xymon.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100722/f6e5f276/attachment.html>


More information about the Xymon mailing list