Xymon Mailing List Archive search

combotests and pages

2 messages in this thread

list Jason Brockdorf · Mon, 7 Mar 2016 14:26:15 -0600 ·
I'm getting ready to migrate from our instance of Hobbit to Xymon and I'm
currently planning refining the page layouts and tests.  What I'd like to do
is have our top page report the results of combo tests on different classes
of (redundant) systems in particular environments but have it so that when
you click on one of the tests it takes you to a particular page instead of
the details for that test.  Is that possible?

			Web/http	LDAP		DB
			==============================
Production		(green)		(green)		(green)
Test			(yellow)	(green)		(red)
Development		(green)		(green)		(green)

For example, I have 4 web servers, 4 LDAP servers, and 2 DB servers in each
of 3 environments, production, test, and development.  So I would have 3
combo "hosts" with the columns corresponding to each type of server (web
server, LDAP, DB servers) and each column is green if they're all up, yellow
if any of them are down, and red if they're all down.  I'm pretty sure I can
figure out how to configure the combo testing appropriately to get the
desired colors, but I cannot figure out how I would make it so the clicking
on a "test" for a "host" would take me to a subpage instead.  There's not
much documentation in the combo.cfg or hosts.cfg man pages regarding how it
works.

Is this possible?

Thank you,

Jason T. Brockdorf
Systems Analyst
Identity and Access Management
Texas Health and Human Services
XXX-XXX-XXXX
list John Thurston · Tue, 08 Mar 2016 09:03:14 -0900 ·
On 3/7/2016 11:26 AM, Jason Brockdorf wrote:
- snip -
quoted from Jason Brockdorf
			Web/http	LDAP		DB
			==============================
Production		(green)		(green)		(green)
Test			(yellow)	(green)		(red)
Development		(green)		(green)		(green)

. . . I cannot figure out how I would make it so the clicking
on a "test" for a "host" would take me to a subpage instead.  There's not
much documentation in the combo.cfg or hosts.cfg man pages regarding how it
works.
I don't think this is possible with the stock implementation of 
xymongen. But, you may be able to hack something in.

The links under the "bubbles" are to svcstatus.sh. You should be able to 
replace that CGI with one of your own which implements a branch.
   if host is magic
   then do my thing
   else do the normal thing


-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska