<div dir="ltr">Dave<div><br></div><div>A strange problem indeed. I've scanned the relevant parts of the code, and it all checks out, according to my amateur knowledge of C. What you're trying to do should work just fine.</div><div><br></div><div>I wonder if it's just a coincidence that your group name starts with a 7-letter word. Probably.</div><div><br></div><div>Perhaps you could have xymond_client run in debug mode (adding "--debug" in tasks.cfg), and see if it shows any clues in the log.</div><div><br></div><div>FYI, another check the process status, without using the web interface (lynx/curl/wget) is to use the xymon command:</div><div><br></div><div>$ xymoncmd</div><div>$ XYMON $XYMONCMD "query balin2012.mydomain.testnet.procs"</div><div>yellow <span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Wed Jul 11 13:29:40 2018 - Processes NOT ok</span>

</div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">... (etc)</span></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><br></div><div>J</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 July 2018 at 06:42, Dave "doughnut" Fogarty <span dir="ltr"><<a href="mailto:doughnut@doughnut.net" target="_blank">doughnut@doughnut.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a xymon server running "Debian GNU/Linux 9 (stretch)" with xymon 4.3.28-2. I'm having bad luck getting DISPLAYGROUP to work in analysis.cfg.  It seems to only match on the first 7 characters.<br>
<br>
I also see this problem on "Debian GNU/Linux 8 (jessie)" with xymon 4.3.17-6+deb8u1.<br>
<br>
Below, I've shown that the display group is set, and that the analysis.cfg file is being parsed correctly by xymon, yet the the svcstatus page only shows the shortest of the DISPLAYGROUP enabled lines.<br>
<br>
<br>
root@misc-ten105-test:/etc/xym<wbr>on# egrep -H Testnet.Database.Servers hosts.cfg hosts.cfg:group Testnet Database Servers<br>
<br>
root@misc-ten105-test:/etc/xym<wbr>on# cat analysis.d/davetest.cfg HOST=* EXCLASS=linux<br>
        PROC    davetest-nonlinux 1 150 yellow<br>
        PROC    davetest-Testnet.Database.Serv<wbr>ers 1 150 yellow DISPLAYGROUP=%(Testnet.Databas<wbr>e.Servers)<br>
        PROC    davetest-Database 1 150 yellow DISPLAYGROUP=%(Database)<br>
        PROC    davetest-Databas 1 150 yellow DISPLAYGROUP=%(Databas)<br>
        PROC    davetest-Testnet.Database 1 150 yellow DISPLAYGROUP=%(Testnet.Databas<wbr>e)<br>
        PROC    davetest-Testnet.Data 1 150 yellow DISPLAYGROUP=%(Testnet.Data)<br>
        PROC    davetest-Testnet.D 1 150 yellow DISPLAYGROUP=%(Testnet.D)<br>
        PROC    davetest-Testnet. 1 150 yellow DISPLAYGROUP=%(Testnet.)<br>
        PROC    davetest-Testnet 1 150 yellow DISPLAYGROUP=%(Testnet)<br>
        PROC    davetest-Testne 1 150 yellow DISPLAYGROUP=%(Testne)<br>
<br>
<br>
root@misc-ten105-test:/etc/xym<wbr>on# sudo -u xymon xymoncmd xymond_client --dump-config | grep davetest<br>
[...]<br>
PROC davetest-nonlinux 1 150 yellow HOST=* EXCLASS=linux (line: 375)<br>
PROC davetest-Testnet.Database.Serv<wbr>ers 1 150 yellow HOST=* DISPLAYGROUP=%(Testnet.Databas<wbr>e.Servers) EXCLASS=linux (line: 377)<br>
PROC davetest-Database 1 150 yellow HOST=* DISPLAYGROUP=%(Database) EXCLASS=linux (line: 378)<br>
PROC davetest-Databas 1 150 yellow HOST=* DISPLAYGROUP=%(Databas) EXCLASS=linux (line: 379)<br>
PROC davetest-Testnet.Database 1 150 yellow HOST=* DISPLAYGROUP=%(Testnet.Databas<wbr>e) EXCLASS=linux (line: 380)<br>
PROC davetest-Testnet.Data 1 150 yellow HOST=* DISPLAYGROUP=%(Testnet.Data) EXCLASS=linux (line: 381)<br>
PROC davetest-Testnet.D 1 150 yellow HOST=* DISPLAYGROUP=%(Testnet.D) EXCLASS=linux (line: 382)<br>
PROC davetest-Testnet. 1 150 yellow HOST=* DISPLAYGROUP=%(Testnet.) EXCLASS=linux (line: 383)<br>
PROC davetest-Testnet 1 150 yellow HOST=* DISPLAYGROUP=%(Testnet) EXCLASS=linux (line: 384)<br>
PROC davetest-Testne 1 150 yellow HOST=* DISPLAYGROUP=%(Testne) EXCLASS=linux (line: 385)<br>
<br>
<br>
root@misc-ten105-test:/etc/xym<wbr>on# lynx -dump -nolist '<a href="http://localhost/xymon-cgi/svcstatus.sh?HOST=balin2012.collegenet.testnet&SERVICE=procs" rel="noreferrer" target="_blank">http://localhost/xymon-cgi/sv<wbr>cstatus.sh?HOST=balin2012.coll<wbr>egenet.testnet&SERVICE=procs</a>'<br>
[...]<br>
   Xymon<br>
<br>
                    balin2012.mydomain.testnet - procs<br>
<br>
   Wed Jul 11 13:29:40 2018<br>
   _____________________________<wbr>______________________________<wbr>____________<br>
<br>
<br>
                                   HISTORY<br>
<br>
                 Wed Jul 11 13:29:40 2018 - Processes NOT ok<br>
<br>
 yellow  davetest-nonlinux (found 0, req. between 1 and 150)<br>
 yellow  davetest-Testnet (found 0, req. between 1 and 150)<br>
 yellow  davetest-Testne (found 0, req. between 1 and 150)<br>
<br>
<br>
<br>
              Status unchanged in 8 days, 21 hours, 22 minutes<br>
                  Status message received from 10.101.1.35<br>
                            Client data available<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman<wbr>/listinfo/xymon</a><br>
</blockquote></div><br></div>