Xymon Mailing List Archive search

Layout

list David Welker
Tue, 8 Dec 2015 11:01:45 -0500
Message-Id: <CAAOtyHJg6O+F=user-1ca8df021118@xymon.invalid>

JC,

Naturally, CSS-controlled would be the best solution, but your proposed
"hack" would work on older versions of Xymon (I'm still on v4.3.21)?  I'm
thinking if there was just a way to ignore html tags when determining the
hostname from hosts.cfg, this hack of yours could work!

Thanks,
David


On Tue, Dec 8, 2015 at 10:19 AM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
On Mon, December 7, 2015 9:13 am, David Welker wrote:
I'm already familiar with "group"-ing things in almost every way possible
(sorted, compressed, etc.), but was wondering if there is a way to indent
or put different icons in the front of entries in the same group?

For example:

                    col1 col2 col3 col4 col5 col6
                    ------ ------ ------ ------ ------ ------
host 1              3     3     3
  switch 1                              1     1     1
  switch 2                              2     2     2
host 2              4     4     4
  switch 1                              1     1     1
  switch 2                              2     2     2

I was hoping changing fonts would work, but adding different header
types,
for example, simply made Xymon see that as part of the hostname for each
entry, even when adding non-breaking spaces in front of an entry in
hosts.cfg,

David,

At the moment, there's no easy way to do this. There might be a short term
solution in the form of an arbitrary HTML prepend that could be configured
in hosts.cfg (DISPLAYPREFIX:"html here" ?) but it'd be something of a
hack. Do you think that would work for you?

Longer term, the goal would be to make things like this CSS-controlled,
and either reflective of a list relationship between "host 1" and "switch
1/2" in your example, or making all switches a 'type' that can then be CSS
controlled. The stripping out of display HTML is on the radar for 4.4, but
there's still additional work needing to be done.

Regards,
-jc