<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>why are you trying to do it with a client-side test? You should
just add an http test to the configuration and run it as a network
test. In hosts.cfg:</p>
<p>1.2.3.4 myhost # <a class="moz-txt-link-freetext" href="http://1.2.3.4/">http://1.2.3.4/</a></p>
<p>If you must do it client-side, then you should add a test for
port 80 being in LISTEN state. There are several examples of that
on the Xymon demo site
<a class="moz-txt-link-freetext" href="https://www.xymon.com/xymon-cgi/viewconf.sh?client">https://www.xymon.com/xymon-cgi/viewconf.sh?client</a> like this which
tests for port 6543 running a MythTV service<br>
</p>
<pre>HOST=goya.hswn.rv13
PORT LOCAL=%[\.:]6543 STATE=LISTEN TEXT=myth</pre>
<p><br>
</p>
<p>Regards,</p>
<p>Henrik</p>
<p><br>
</p>
<div class="moz-cite-prefix">Den 17.01.2023 kl. 23.29 skrev
Christoph Zechner:<br>
</div>
<blockquote type="cite"
cite="mid:e8944526-5245-01ee-9690-4260d0c2cf5a@vrvis.at">Hi,
<br>
<br>
I've been trying to establish a remote port check, but cannot get
it to work. After reading the man pages and the corresponding
topics on the mailing list, I've configured a test like this:
<br>
<br>
PORT REMOTE=1.2.3.4:80
<br>
<br>
but the remote port always comes back as down, even though it is
up. Am I doing something wrong? Local port checks all work
perfectly, only the remote ones do not.
<br>
<br>
Am I doing something wrong here?
<br>
<br>
Context: I am using local mode on all clients, so I'm putting all
my checks in /etc/xymon/localclient.cfg, but this should not
effect this check, right?
<br>
<br>
Thanks in advance!
<br>
<br>
Best regards
<br>
Christoph Zechner
<br>
_______________________________________________
<br>
Xymon mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
<br>
</blockquote>
</body>
</html>