Hi,
With a syntax more like the analysis.cfg file where you can define rules and hosts.cfg text.
When a rule matches, it just appends the text to the hosts.cfg file.
For example, we have some TRENDS settings that we set on each Linux host and another one on each AIX host. This changes the graphs displayed on the trends page. It should be handy to just specify this ones with a CLASS rule so each Linux / AIX gets the same TRENDS setting.
Stef
On 2022-03-18 19:14, Damien Martins wrote:
Hi Stef,
You something like the client-local.cfg, but for more purposes?
Le 12/03/2022 ? 15:06, Stef Coene a ?crit?:
Hi,
It should be very handy if there is an hosts-options.cfg file that can be used to specify device specific options that normally goes in the hosts.cfg file.
Has anyone started on a patch to separate the page layout and the possible options per device? Is this something that other people can use as well?
Some examples:
Monitor the ssh daemon on all Linux devices: CLASS=Linux ? sshd
Monitor the https website on the load balancers (name start with lb): HOST=%^lb ?? https://<BBHOSTNAME> -> <BBHOSTNAME> will be replaced per device by the device name
Stef
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon