 | .....
If you could point me in the right direction, I would be greatful :)
Steve.
--===============6874937038875332107==--
From bgmilne@staff.telkomsa.net Wed Jun 24 08:20:48 2026
From: bgmilne@staff.telkomsa.net
To: xymon@xymon.com
Subject: [Xymon] lib-xymonrrd.c problem..
Date: Wed, 11 May 2011 08:28:09 +0200
Message-ID: <201105110828.10499.bgmilne@staff.telkomsa.net>
In-Reply-To: <1305043930.9500.146.camel@webdev01>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1178350119456526204=="
--===============1178350119456526204==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
On Tuesday, 10 May 2011 18:12:10 Steve Staples wrote:
> Hi!
>
> This is my first post here... I am just trying to make some small
> changes to our xymon system, and I am having some weird issues...
>
> we are using the 4.3.0 branch, and the issues i am running into, are
> with the devmon if_load pages.
>
> The thing that I am doing, is in this page there is the table at the
> top, and a bunch of graphs on the bottom (i didn't set this up, and i am
> assuming that this is the "default"). I am trying to create a link from
> the table, that will open the corresponding graph url (as if i had
> scrolled down to the graph and click on it).
Well, note that the HTML creating the table is generated by devmon, not by
Xymon.
> I had it sort of working with some creative javascripting, but after
> looking into it, it wasn't 100%.
>
> the "table" is not sorted at all,
Hmm, the table *should* be sorted, but possibly differently from the way the
graphs are ...
> but the "graphs" section is sorted
> based on the rrd name.
>
>
> is there anyway (i am sure that there is) to put the same value from the
> transforms file {ifLoad} into the ./lib/xymonrrd.c file? does that
> make sense?
No it doesn't. Put your HTML/JS in the messages file.
> doesn't have to be that {ifLoad} perse, but something that
> i can make match from teh table to the graphs...
>
> i was thinking in this area, to add the 'id=\"ifload_%s\"':
> static const char *xymonlinkfmt = " \"> SRC=\"%s&graph=hourly&action=view\" ALT=\"xymongraph %s
> \"> | .....
>
> If you could point me in the right direction, I would be greatful :)
You may also want to look at the method I used in the devmon weathermap:
http://staff.telkomsa.net/~bgmilne/xymon/weathermap/fifa.html
Code here:
http://staff.telkomsa.net/~bgmilne/xymon/
But, maybe we should discuss it further on the devmon list.
Regards,
Buchan
--===============1178350119456526204==--
| |