[Xymon] lib-xymonrrd.c problem..

Steve Staples sstaples at mnsi.net
Tue May 10 18:12:10 CEST 2011


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).

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, 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?   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 = "<table summary=\"%s Graph
\"><tr><td><A HREF=\"%s&action=menu\" id=\"ifload_%s\"><IMG BORDER=0
SRC=\"%s&graph=hourly&action=view\" ALT=\"xymongraph %s
\"></A></td><td>.....

If you could point me in the right direction, I would be greatful :)

Steve.




More information about the Xymon mailing list