Xymon Mailing List Archive search

How to test remote ports

list Becker Christian
Thu, 19 Jan 2023 07:56:23 +0000
Message-Id: <user-39f55e84fe4a@xymon.invalid>

Hi,

another possible scenario could be to put the following in protocols.cfg (in my example to check for port 82):

[tcp82]
        port 82

In your hosts.cfg, you need to put tcp82 just after the hostname that you want to check (don't forget to include the #) - example:

1.2.3.4        testhost        # tcp82


After a while your testhost should show up an additional column tcp82 (it's the name is as defined in your protocols.cfg).
We are doing that for a lot of hosts.
Hope it'll help you a bit.


Regards
Christian


-----Urspr?ngliche Nachricht-----
Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von Christoph Zechner
Gesendet: Dienstag, 17. Januar 2023 23:30
An: xymon at xymon.com
Betreff: [Xymon] How to test remote ports

WARNUNG: Diese E-Mail kam von au?erhalb der Organisation. Klicken Sie nicht auf Links oder ?ffnen Sie keine Anh?nge, es sei denn, Sie kennen den Absender und wissen, dass der Inhalt sicher ist.


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

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