<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">FYI, on Unix/Linux, if all the processes in question are indeed stopped, the only way (short of a special driver) I know of that a setting in memory could persist (until reboot, of course) is with a System V shared memory segment.  Those are created by processes, but persist until reboot, unless deleted by a process with the appropriate privileges.  The command<div class=""><br class=""></div><div class="">ipcs -m</div><div class=""><br class=""></div><div class="">will list those.</div><div class=""><br class=""></div><div class="">Here's some output from one of my Linux VM's:</div><div class="">[root@bigapple-centos ~]# ps -fuxymon<br class="">UID        PID  PPID  C STIME TTY          TIME CMD<br class="">xymon     1478     1  0 15:20 ?        00:00:00 /home/xymon/client/bin/xymonlaunch --config=/home/xymon/client/etc</div><div class=""><br class=""></div><div class="">That shows that xymon is running.</div><div class=""><br class=""></div><div class="">[root@bigapple-centos ~]# ipcs -m<br class=""><br class="">------ Shared Memory Segments --------<br class="">key        shmid      owner      perms      bytes      nattch     status      <br class=""><br class=""><br class="">That shows no System V style shared memory segments in use.  Even if there were some, unless they showed the owner the same as that of the xymon process (xymon, in this case), they'd probably be associated with something else.  Doesn't look to me like a normal basic xymon installation uses SysV shared memory at all.</div><div class=""><br class=""></div><div class="">The "key" would be a hex number, supplied by the requestor (think of it as a name, but a separate namespace from pathnames).  The "shmid" would be a system-assigned number.  Processes wishing to access the same segment would have to have agreed on the same key, and have suitable permissions (either those of the creating process, or wider permission that it granted).  There are other facilities shown by ipcs (semaphores and message queues; see the man page for more info).  If one really needed to clean any of those up, there's an "ipcrm" command (again, see man page).  I wouldn't do that unless I was sure I knew what I was doing. :-)</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 17, 2018, at 14:46, Timothy Williams <<a href="mailto:tlwilliams4@vcu.edu" class="">tlwilliams4@vcu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I meant the machine/OS, as some settings are kept in memory and I didn't know (I'm a Windows guy) if restarting the Xymon application by xymonlaunch -restart would have refreshed the memory settings.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br class=""></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">However, the Linux manager looked at it and found the issue as missing a slash / at the end of the previous parameter to wrap the line. It never saw the new parameter.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><span style="font-family:"comic sans ms",sans-serif;font-size:large" class=""><span class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">It's now working as designed.<i style="font-weight:bold" class=""></i></span></span></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, Oct 16, 2018 at 11:49 PM Galen Johnson <<a href="mailto:solitaryr@gmail.com" class="">solitaryr@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">By "whole server" I assume you just mean restarting the xymon server (app, not machine)?  I usually restart the server but that's because I'm impatient and want immediate gratification for those types of changes.  As far as I recall, that shouldn't be required.  It also shouldn't hurt to do so since it restarts fairly quickly (at least for my small environment).<div class=""><br class=""></div><div class="">=G=</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, Oct 16, 2018 at 3:29 PM Timothy Williams <<a href="mailto:tlwilliams4@vcu.edu" target="_blank" class="">tlwilliams4@vcu.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">The [name] section lines are working OK; I am not trying to use regex, just specific hosts to merge with [powershell] defaults. </div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br class=""></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">We are testing by restarting the xymon services, any off chance it needs a whole server reboot?</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, Oct 16, 2018 at 3:21 PM Galen Johnson <<a href="mailto:solitaryr@gmail.com" target="_blank" class="">solitaryr@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div dir="ltr" class=""><div class="">From the client-local.cfg man page:</div><div class=""><br class=""></div><div class=""><i class=""><b class="">FILE FORMAT</b><br class="">The  file is divided into sections, delimited by "[name]" lines.  A section name can be either an operating system identifier - linux, solaris, hp-ux, aix, freebsd, openbsd, netbsd, darwin - a class, or a hostname. When deciding which section to send to a client, Xymon will  first  look for  a section named after the hostname of the client; if such a section does not exist, it will look for a section named by the operating system of the client. So you can configure special configurations for individual hosts, and have a default configuration for all other hosts of a certain type.<br class=""><br class=""><span style="background-color:rgb(255,255,0)" class="">It will often be practical to use regular expressions for hostnames.  To do this you must use<br class=""></span></i></div><div class=""><i class=""><span style="background-color:rgb(255,255,0)" class=""><br class=""></span></i></div><div class=""><i class=""><span style="background-color:rgb(255,255,0)" class="">           [host=<expression>]<br class=""></span></i></div><div class=""><i class=""><span style="background-color:rgb(255,255,0)" class=""><br class=""></span></i></div><div class=""><i class=""><span style="background-color:rgb(255,255,0)" class="">where <expression> is a Perl-compatible regular expression</span>. The same kind of matching can be done on operating system or host class, using<br class=""><br class="">           [os=<expresssion>]<br class="">           [class=<expression>]<br class=""><br class="">Apart from the section delimiter, the file format is free-form, or rather it is defined by the tools that make use of the configuration.</i></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I just went through this recently so it was fresh in my mind :-).</div><div class=""><br class=""></div><div class="">=G=<br class=""></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, Oct 16, 2018 at 1:50 PM Thomas Eckert <<a href="mailto:thomas.eckert@it-eckert.de" target="_blank" class="">thomas.eckert@it-eckert.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="">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 class=""><div class="gmail_quote">On Oct 16, 2018 19:39, Timothy Williams <<a href="mailto:tlwilliams4@vcu.edu" target="_blank" class="">tlwilliams4@vcu.edu</a>> wrote:<br type="attribution" class=""><blockquote class="m_-6454891287267448652m_5574527214305874886m_1466183938543054546m_-1935798333174502666quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div style="font-family:'verdana',sans-serif;font-size:small" class="">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" class=""><br class=""></div><div class=""><span style="font-family:'verdana',sans-serif;font-size:small" class="">Do you think that it needs [host=server1] rather than just [server1]?</span><br clear="all" class=""></div><div class=""><span style="font-family:'verdana',sans-serif;font-size:small" class=""><br class=""></span></div><div class=""><span style="font-family:'verdana',sans-serif;font-size:small" class="">Tim</span></div><div class=""><div dir="ltr" data-smartmail="gmail_signature" class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""></div></div></div></div></div></div></div></div></div></div><br class=""><div class="m_-6454891287267448652m_5574527214305874886m_1466183938543054546m_-1935798333174502666elided-text"><div dir="ltr" class="">On Tue, Oct 16, 2018 at 1:30 PM Thomas Eckert <<a href="mailto:thomas.eckert@it-eckert.de" target="_blank" class="">thomas.eckert@it-eckert.de</a>> wrote:<br class=""></div><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex" class=""><div style="word-wrap:break-word" class=""><div class="">Hi Tim,</div><div class=""><br class=""></div><div class="">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 class="">You added this in `tasks.cfg` to the launch of `xymond`, right?</div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Cheers</div><div class="">Thomas</div><div class=""><div class=""><blockquote class=""><div class="">On 16 Oct 2018, at 17:40, Timothy Williams <<a href="mailto:tlwilliams4@vcu.edu" target="_blank" class="">tlwilliams4@vcu.edu</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class=""><div style="font-family:'verdana',sans-serif;font-size:small" class="">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" class=""><br class=""></div><div style="font-family:'verdana',sans-serif;font-size:small" class="">Could it be the section/host headings, or order? I have:</div><div style="font-family:'verdana',sans-serif;font-size:small" class=""><br class=""></div><div style="font-family:'verdana',sans-serif;font-size:small" class="">[server1]</div><div style="font-family:'verdana',sans-serif;font-size:small" class="">file:somefile</div><div style="font-family:'verdana',sans-serif;font-size:small" class=""><br class=""></div><div style="font-family:'verdana',sans-serif;font-size:small" class="">[server2]</div><div style="font-family:'verdana',sans-serif;font-size:small" class="">file:different file</div><div style="font-family:'verdana',sans-serif;font-size:small" class=""><br class=""></div><div style="font-family:'verdana',sans-serif;font-size:small" class="">[os=powershell] (also tried [class=powershell] and [powershell] alone)</div><div style="font-family:'verdana',sans-serif;font-size:small" class="">xymonlogsend</div><div style="font-family:'verdana',sans-serif;font-size:small" class="">clientversion:2.28:<a href="http://url/" target="_blank" class="">http://url</a></div><div class=""><div dir="ltr" data-smartmail="gmail_signature" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><p class=""><span style="font-family:'arial',sans-serif" class=""><span style="font-family:'verdana',sans-serif;font-size:small" class="">Thanks,<br class=""></span></span><span style="font-family:'verdana',sans-serif" class="">Tim Williams</span></p><p class=""><span style="font-family:'arial',sans-serif" class=""><span style="font-family:'verdana',sans-serif;font-size:small" class=""><br class=""></span></span></p></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br class="">Xymon mailing list<br class=""><a href="mailto:Xymon@xymon.com" target="_blank" class="">Xymon@xymon.com</a><br class=""><a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank" class="">http://lists.xymon.com/mailman/listinfo/xymon</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote></div>
</blockquote></div><br class=""></div>_______________________________________________<br class="">
Xymon mailing list<br class="">
<a href="mailto:Xymon@xymon.com" target="_blank" class="">Xymon@xymon.com</a><br class="">
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank" class="">http://lists.xymon.com/mailman/listinfo/xymon</a><br class="">
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
_______________________________________________<br class="">Xymon mailing list<br class=""><a href="mailto:Xymon@xymon.com" class="">Xymon@xymon.com</a><br class="">http://lists.xymon.com/mailman/listinfo/xymon<br class=""></div></blockquote></div><br class=""></div></body></html>