Hi,
On 19/01/2023 08:56, Becker Christian wrote:
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.
thank you very much, this was it! My check is working now, thanks for reminding me about the protocol list. :-)
Best regards Christoph
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon