<html><body><p>Hi Torsten,<br><br>What i usually do to achive this is to use the include file directive.<br>just insert something like this in hosts.cfg:<br><br>subpage specialpage servers with special tests<br>include include_special_hosts.cfg<br><br>and create your include file dynamically by a cronjob (or even a Xymon test).<br>Just generate the file include_special_hosts.cfg dynamically like:<br><br>group-compress server with special tests<br>0.0.0.0 servername1 # noconn<br>0.0.0.0 servername2 # noconn<br>0.0.0.0 servername3 # noconn<br><br>Of course there must be a section in hosts.cfg with definitions for these severs.<br>I use this f.e. to create pagesets with pages for every OS.<br><br>HTH<br><br>Norbert<br><br><br><img width="16" height="16" src="cid:1__=4EBB0ABDDFF72C738f9e8a93df938690918c4EB@" border="0" alt="Inactive hide details for Torsten Richter ---14/09/2016 18:54:42--------BEGIN PGP SIGNED MESSAGE----- Hash: SHA1"><font color="#424282">Torsten Richter ---14/09/2016 18:54:42--------BEGIN PGP SIGNED MESSAGE----- Hash: SHA1</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Torsten Richter <bb4@richter-it.net></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">"xymon@xymon.com" <xymon@xymon.com></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">14/09/2016 18:54</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">[Xymon] create an alternate pageset dynamically</font><br><font size="2" color="#5F5F5F">Sent by:        </font><font size="2">"Xymon" <xymon-bounces@xymon.com></font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt>-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Hey folks,<br><br>normally to create an alternate pageset one has to have these tags in<br>hosts.cfg on the lines where the servers should be added to the pageset.<br>Is it possible - lets say with xymongen - to create an alternate pageset<br>without having these tags in the config file?<br><br>In my case I want to create a pageset where all servers will be located<br>that have a special test and I don't want to edit hosts.cfg every time<br>when a new server gets the test or an old one loses it.<br><br>TIA<br>Torsten<br>- -- <br>+---------------------------------------------------------+<br>| E-mail  : bb4 [at] richter-it.net                                                     |<br>|                                                                                                                         |<br>| Homepage: </tt><tt><a href="http://www.richter-it.net/">http://www.richter-it.net/</a></tt><tt>                                                     |<br>+---------------------------------------------------------+<br>Download my public key from:<br></tt><tt><a href="http://keys.gnupg.net/pks/lookup?search=0x899093AC&op=get">http://keys.gnupg.net/pks/lookup?search=0x899093AC&op=get</a></tt><tt><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v2<br><br>iEYEARECAAYFAlfZgMIACgkQ7DlmxomQk6x9qwCeI+hpfV3GBeTcSWUc6buG05Zs<br>Vi4AoJxcOOAcqGjFYt3jHF3y1WjvcfgJ<br>=/3qw<br>-----END PGP SIGNATURE-----<br>_______________________________________________<br>Xymon mailing list<br>Xymon@xymon.com<br></tt><tt><a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a></tt><tt><br></tt><br><br><BR>
</body></html>