From: Steve S. <sst...@mn...> - 2011-05-11 13:43:40
|
Hi, I originally sent this to the XYMON list, but a reply was suggested i send it here... so here is what I wrote, and maybe hopefully someone has a suggestion on how I can do this :) Thanks in advance! Steve. -- ORIGINAL MESSAGE TO XY...@XY... -- 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. -- END MESSAGE -- |