Mark Felder <feld at feld.me> hat am 23. Mai 2014 um 02:57 geschrieben:
On May 22, 2014, at 10:54, Torsten Richter <bb4 at richter-it.net> wrote:
Hi Mark,
you could create a custom view/page as described in the man page of xymongen under "ALTERNATE PAGESET OPTIONS" and "BUILDING ALTERNATE PAGESETS" You can use the group-only and group-except there too. If we take the example from the xymongen manpage it would look like this:
ospage win Windows ossubpage win-nt4 Windows NT4 osgroup-only cpu|disk|msgs NT4 File servers
and so on.
The page set requires I create a tag and manually apply this to the hosts definitions?!
Simple - just put a tag "OS:win-xp" on the host definition line.
That is ridiculous; certainly there has to be a way to automatically identify any host that is reporting column "foo" and generate a page only showing those hosts and only column "foo".
Please tell me I don't have to manually attempt to identify every single host in my configuration and try to decide if it should show up on this page.
Well, at the moment I don't know of any other way doing this. You could of course write a script that checks for the test you want to have on that page and then adds the tag to each host line in hosts.cfg that matches your criteria.