[Xymon] Port Check on a Server

Torsten Richter bb4 at richter-it.net
Mon Apr 22 15:28:28 CEST 2024


Hi,

maybe you want to check out rports.sh: 
https://github.com/Elfmeterversemmler/XYmonscripts

Regards,
Torsten

Am 22.04.2024 um 14:44 schrieb bb at buglecreek.com:
> Hello,
> 
> I have a system that is running a rsyslog server on a non standard port and is an appliance. I need to check that the several ports are up and listening, however I can not install a client on the system.
> 
> The test would need to be initiated from the xymon server.  I assume I need a custom script, can someone point me in the right direction for this.  Heres nmap output.  Preferably I'd like to check if the port 443, 517,8001, 8002,and 80003 are all open.  If any of those are not open, go red.
> 
> PORT     STATE  SERVICE
> 22/tcp   closed ssh
> 443/tcp  open   https
> 517/tcp  open   XXXX
> 8001/tcp open   XXXX
> 8002/tcp open   XXXX
> 8003/tcp open   XXXX
> 
> 
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon

-- 
+---------------------------------------------------------+
| E-mail  : bb4 [at] richter-it.net			  |
|							  |
| Homepage: https://www.unixadmin.de/			  |
+---------------------------------------------------------+
Download my public key from:
http://keys.gnupg.net/pks/lookup?search=0x899093AC&op=get
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20240422/e73d7e2f/attachment.sig>


More information about the Xymon mailing list