Embedding RRD HTML code in status message

Darren.Cotton at ses-astra.com Darren.Cotton at ses-astra.com
Mon Sep 24 02:09:38 CEST 2007


With my MRTG graphing previously on BB I had mrtg graphing of all our
system routers under one heading and then on some seperate hosts.services I
had links pointing to the relevant interface of a device:

LINE="status Primary_Internet.ASTEROID $COLOR Primary Internet<LI><A
HREF="http://212.56.225.36/mrtg/FULL/ASTEROID/212.56.226.4_fa7_9.html">
Click Here </A>"
$BB $BBDISP "$LINE"

Now I've migrated to Hobbit I am now trying to import the actual graph onto
the page - however this doesn't function at all.

LINE="Primary Internet<LI><A HREF="https://212.56.225.37
/hobbit-cgi/hobbitgraph.sh?host=ASTEROID&service=mrtg&graph_width=576&graph_height=120
&first=97&count=1&disp=ASTEROID&action=menu"><IMG BORDER=0
SRC="https://212.56.225.37
/hobbit-cgi/hobbitgraph.sh?host=ASTEROID&service=mrtg&graph_width=576&graph_height=120&first=97&count=1&disp=ASTEROID&graph=hourly&action=view">
 </A>"
$BB $BBDISP "status Primary_Internet.ASTEROID $COLOR `date` $LINE"

When I check the hobbit logs (my logging is STATIC not Dynamic) all I see
is

###
green Mon Sep 24 02:03:30 CEST 2007

Message received from 212.56.225.37
Status unchanged in 2 days, 7 hours, 22 minutes
###

With the original script the logs show:

###
green Mon Sep 24 01:53:29 CEST 2007 Primary Internet<LI><A
HREF="http://212.56.225.36/mrtg/FULL/ASTEROID/212.56.226.4_fa7_9.html">
Click Here </A>

Message received from 212.56.225.37
Status unchanged in 2 days, 7 hours, 12 minutes
###

I have tried adding various elements to the HTML code to allow it too work
but without luck. Am I simply going about this the wrong way or am I
missing something really simple. Any help would be appreciated.

Thanks

Darren



DISCLAIMER: 
This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail.



More information about the Xymon mailing list