Removing a column from nongreen.html
list Mark Felder
Hello, I'm looking to remove a particular column from our nongreen.html view and I'm not sure how to accomplish this. Is there some setting I cannot locate that lets me add --ignorecolumns= to the XYMONGENOPTS specifically for the nongreen view? Also, any tips on creating a custom page with only the specific columns I want to view? Thanks, Mark
list Mark Felder
▸
On 2014-05-22 09:54, Mark Felder wrote:
Hello, I'm looking to remove a particular column from our nongreen.html view and I'm not sure how to accomplish this. Is there some setting I cannot locate that lets me add --ignorecolumns= to the XYMONGENOPTS specifically for the nongreen view?
Looks like today I'll be answering my own question. I located the following option: --nongreen-ignorecolumns= (I was searching for "non-green" not "nongreen")
▸
Also, any tips on creating a custom page with only the specific columns I want to view?
Still hunting for a tip on how to do this. I'd like to have a page that only displays the status of one column. I thought xymongen was a bit more flexible, but it appears to actually create the entire batch of pages when run. Do I have to try to build a report page?
list Torsten Richter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. HTH Torsten
▸
On 22.05.2014 17:24, Mark Felder wrote:On 2014-05-22 09:54, Mark Felder wrote:Hello, I'm looking to remove a particular column from our nongreen.html view and I'm not sure how to accomplish this. Is there some setting I cannot locate that lets me add --ignorecolumns= to the XYMONGENOPTS specifically for the nongreen view?Looks like today I'll be answering my own question. I located the following option: --nongreen-ignorecolumns= (I was searching for "non-green" not "nongreen")Also, any tips on creating a custom page with only the specific columns I want to view?Still hunting for a tip on how to do this. I'd like to have a page that only displays the status of one column. I thought xymongen was a bit more flexible, but it appears to actually create the entire batch of pages when run. Do I have to try to build a report page?
- -- +---------------------------------------------------------+
| E-mail : user-c862b499d9fa@xymon.invalid | | | | Homepage: http://www.richter-it.net/ | +---------------------------------------------------------+ Download my public key from: http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEARECAAYFAlN+HZ0ACgkQ7DlmxomQk6ygbQCg3FJmraTEMN4H21N8EypEOS8f ykYAoJI3B1pHZOaOy+KnnwDZCIb7kDzD =81ye -----END PGP SIGNATURE-----
list Mark Felder
▸
On May 22, 2014, at 10:54, Torsten Richter <user-c862b499d9fa@xymon.invalid> 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.
list Torsten Richter
Mark Felder <user-db141d317836@xymon.invalid> hat am 23. Mai 2014 um 02:57 geschrieben:
▸
On May 22, 2014, at 10:54, Torsten Richter <user-c862b499d9fa@xymon.invalid> 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.