Just to append to this, I compared the two URL's:
Works:
http://hobserv/hobbit-cgi/hobbitgraph.sh?host=hosta,hostb&service=la&graph_width=576&graph_height=120&disp=hosta&nostale&action=menu
Doesn't work:
http://hobserv/hobbit-cgi/hobbitgraph.sh?host=hosta,hostb&service=la&graph_width=576&graph_height=120&first=1&count=1&disp=hosta&action=menu
There are a few differences, notably:
works has: &nostale (doesn't work does not have this)
doesn't work has: &first=1&count=1 (works does not have this)
Simply by removing "&first=1" from the URL made it work, so I don't know if
that needs to be
there at all or not in any URL.
-Jeff
On 2/2/06, Jeff Newman <user-e96740e73ca8@xymon.invalid> wrote:
All,
Don't know if I am unique in this aspect but thought I would post
something
I discovered on multi-host graphing (this may be documented, if so, I
apologize)
I you wanted to graph multiple hosts on the load average graph, you would:
1. click on the "CPU" button for the host
2. click on the graph to get the 4 CPU graphs
3. change the host= in the URL line to be host=hosta,hostb
That will work.
What doesn't work is:
1. click on the "Trends" button for the host
2. click on the CPU graph to get the 4 CPU graphs
3. change the host= in the URL line to be host=hosta,hostb
On the option that doesn't work, it:
* changes the title to "Muti-host CPU load last 48 hours"
* adds the host name + color to the legend at the bottom
But never adds the second host.
So the difference is the method of entry into the 4 CPU graph's. Going
through the CPU button to get to it works, but going
through trends to get to the 4 cpu graph's does not.
-Jeff
name