bbcombotest Links
list Steve Aiello
Hi all, I thought I saw this question asked before, but did see it in the mailling list. When using bbcombotests, is it possible to have the combotest report with hyperlinks to the actual tests ? If I see one of the statuses are red or yellow, my nature instict is to wonder why, and be able to drill down for details. thanks, Steve
list Hezki Englander
Hi, Could not find anyone answering this request yet.. Here's a fix to add links to the bbcomtest reports page : Just change line 455 of hobbitd/bbcombotest.c From : sprintf(msgline, "&%s %s\n", colorname(vwalk->color), vwalk->symbol); To: sprintf(msgline, "<a href=\"/hobbit-cgi/bb-hostsvc.sh?HOST=%s&SERVICE=%s\">&%s</a> %s\n", gethname(vwalk->symbol), gettname(vwalk->symbol) , colorname(vwalk->color), vwalk->symbol); recompile and have links on the color dots of the tested items within combotests. --Hezki ** - *To*: <user-ae9b8668bcde@xymon.invalid> - *Subject*: bbcombotest Links - *From*: "Aiello, Steve \(GE, Corporate, consultant\)" <user-49fae449733a@xymon.invalid> - *Date*: Wed, 28 Feb 2007 10:43:21 -0500 - *Thread-index*: AcdbTzrE4X3/UsIMTSiBvQJbJOnunQ== - *Thread-topic*: bbcombotest Links
▸
Hi all,
I thought I saw this question asked before, but did see it in the
mailling list. When using bbcombotests, is it possible to have the
combotest report with hyperlinks to the actual tests ? If I see one of
the statuses are red or yellow, my nature instict is to wonder why, and
be able to drill down for details.
thanks,
Steve
list Marco Avvisano
Hi, bbcombotest links will be included in the new release ? regards, Marco
▸
Il 25/11/2007 15.33, Hezki Englander ha scritto:Hi, Could not find anyone answering this request yet.. Here's a fix to add links to the bbcomtest reports page : Just change line 455 of hobbitd/bbcombotest.c From : sprintf(msgline, "&%s %s\n", colorname(vwalk->color), vwalk->symbol); To: sprintf(msgline, "<a href=\"/hobbit-cgi/bb-hostsvc.sh?HOST=%s&SERVICE=%s\">&%s</a> %s\n", gethname(vwalk->symbol), gettname(vwalk->symbol) , colorname(vwalk->color), vwalk->symbol); recompile and have links on the color dots of the tested items within combotests. --Hezki //
* /To/: <user-ae9b8668bcde@xymon.invalid <http://hswn.dk>>; * /Subject/: bbcombotest Links * /From/: "Aiello, Steve \(GE, Corporate, consultant\)" <user-49fae449733a@xymon.invalid <http://ge.com>>;
▸
* /Date/: Wed, 28 Feb 2007 10:43:21 -0500
* /Thread-index/: AcdbTzrE4X3/UsIMTSiBvQJbJOnunQ==
* /Thread-topic/: bbcombotest Links
Hi all,
I thought I saw this question asked before, but did see it in the
mailling list. When using bbcombotests, is it possible to have the
combotest report with hyperlinks to the actual tests ? If I see one of
the statuses are red or yellow, my nature instict is to wonder why, and
be able to drill down for details.
thanks,
Steve
list Henrik Størner
Hi Marco,
▸
In <user-6060df44f07e@xymon.invalid> Marco Avvisano <user-e09c0f3f8c70@xymon.invalid> writes:
bbcombotest links will be included in the new release ? regards, Marco
Il 25/11/2007 15.33, Hezki Englander ha scritto:Hi, Could not find anyone answering this request yet.. Here's a fix to add links to the bbcomtest reports page : Just change line 455 of hobbitd/bbcombotest.c
Had not seen this before, but it sure looks like a good idea. Added, although I made the component variable be the link rather than the color icon. Regards, Henrik