[Xymon] How to test remote ports

Christoph Zechner zechner at vrvis.at
Thu Jan 19 06:54:39 CET 2023


Hi,

On 18/01/2023 21:15, Josh Luthman wrote:
> Is 1.2.3.4 your Xymon server or the host IP?  The 1.2.3.4 in your 
> example is the local addr that it would request from.  If you don't 
> care, you could use *:80.

1.2.3.4 is the host IP, I want to check if the port 80 on the remote IP 
1.2.3.4 is online (which it is, checked with nmap).

I've read the man page and came to the conclusion, if I put a remote 
port in there, it'd check it like a local port.

> 
> https://xymon.com/help/manpages/man5/analysis.cfg.5.html 
> <https://xymon.com/help/manpages/man5/analysis.cfg.5.html>
> 
> On Tue, Jan 17, 2023 at 5:52 PM Christoph Zechner <zechner at vrvis.at 
> <mailto:zechner at vrvis.at>> wrote:
> 
>     Hi,
> 
>     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:
> 
>     PORT REMOTE=1.2.3.4:80 <http://1.2.3.4:80>
> 
>     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.
> 
>     Am I doing something wrong here?
> 
>     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?
> 
>     Thanks in advance!
> 
>     Best regards
>     Christoph Zechner
>     _______________________________________________
>     Xymon mailing list
>     Xymon at xymon.com <mailto:Xymon at xymon.com>
>     http://lists.xymon.com/mailman/listinfo/xymon
>     <http://lists.xymon.com/mailman/listinfo/xymon>
> 


More information about the Xymon mailing list