<div dir='auto'>That's what works for me. I remember that the correct syntax, in particular with regexes, is slightly different across the config files.</div><div class="gmail_extra"><br><div class="gmail_quote">On Oct 16, 2018 19:39, Timothy Williams <tlwilliams4@vcu.edu> wrote:<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:'verdana' , sans-serif;font-size:small">Yes, that's right about tasks.cfg. It had other start parameters, and have added the merge.</div><div style="font-family:'verdana' , sans-serif;font-size:small"><br /></div><div><span style="font-family:'verdana' , sans-serif;font-size:small">Do you think that it needs [host=server1] rather than just [server1]?</span><br clear="all" /></div><div><span style="font-family:'verdana' , sans-serif;font-size:small"><br /></span></div><div><span style="font-family:'verdana' , sans-serif;font-size:small">Tim</span></div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"></div></div></div></div></div></div></div></div></div></div><br /><div class="elided-text"><div dir="ltr">On Tue, Oct 16, 2018 at 1:30 PM Thomas Eckert <<a href="mailto:thomas.eckert@it-eckert.de">thomas.eckert@it-eckert.de</a>> wrote:<br /></div><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi Tim,</div><div><br /></div><div>for future readers: There is an error in the man page `xymond(8)`: `--merge-clientconfig` in `xymond(8)` is **wrong**. The option `--merge-clientlocal` documented in `client-local.cfg(5)` is correct.</div><div>You added this in `tasks.cfg` to the launch of `xymond`, right?</div><div><br /></div><div>I have this running successfully in a Linux-environment with host-specific (`[host=%www.*]`) and class (`[linux]`)-sections and the sections merge fine.</div><div><br /></div><div>Cheers</div><div>Thomas</div><div><div><blockquote><div>On 16 Oct 2018, at 17:40, Timothy Williams <<a href="mailto:tlwilliams4@vcu.edu">tlwilliams4@vcu.edu</a>> wrote:</div><br /><div><div dir="ltr"><div style="font-family:'verdana' , sans-serif;font-size:small">We have set up a new 4.3.28 xymon server, and will be migrating hosts to it in the next few weeks. On it I would like to start to use the --merge-clientlocal command. In testing, Windows powershell clients pick up either the individual host section OR the powershell section, it does not merge. Are there subtleties not in the man-pages that people have found to get it to work? (note that the xymond man-page states to use --merge-clientconfig, but that doesn't work either)</div><div style="font-family:'verdana' , sans-serif;font-size:small"><br /></div><div style="font-family:'verdana' , sans-serif;font-size:small">Could it be the section/host headings, or order? I have:</div><div style="font-family:'verdana' , sans-serif;font-size:small"><br /></div><div style="font-family:'verdana' , sans-serif;font-size:small">[server1]</div><div style="font-family:'verdana' , sans-serif;font-size:small">file:somefile</div><div style="font-family:'verdana' , sans-serif;font-size:small"><br /></div><div style="font-family:'verdana' , sans-serif;font-size:small">[server2]</div><div style="font-family:'verdana' , sans-serif;font-size:small">file:different file</div><div style="font-family:'verdana' , sans-serif;font-size:small"><br /></div><div style="font-family:'verdana' , sans-serif;font-size:small">[os=powershell] (also tried [class=powershell] and [powershell] alone)</div><div style="font-family:'verdana' , sans-serif;font-size:small">xymonlogsend</div><div style="font-family:'verdana' , sans-serif;font-size:small">clientversion:2.28:<a href="http://url/">http://url</a></div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p><span style="font-family:'arial' , sans-serif"><span style="font-family:'verdana' , sans-serif;font-size:small">Thanks,<br /></span></span><span style="font-family:'verdana' , sans-serif">Tim Williams</span></p><p><span style="font-family:'arial' , sans-serif"><span style="font-family:'verdana' , sans-serif;font-size:small"><br /></span></span></p></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br />Xymon mailing list<br /><a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br /><a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a><br /></div></blockquote></div><br /></div></div></blockquote></div>
</blockquote></div><br></div>