Page 1 of 1

How to get result from netstat -tan from nagios to another windows machine?

Posted: Tue Aug 01, 2023 6:20 am
by lzdravkov
Can you please tell me how to monitor an established connection (on a specified port) in a windows machine from nagios (centOS) here an example (output of netstat):

netstat -ant | find "4443"
TCP 0.0.0.0:4443 0.0.0.0:0 LISTENING InHost
TCP [::]:4443 [::]:0 LISTENING InHost

Re: How to get result from netstat -tan from nagios to another windows machine?

Posted: Wed Aug 09, 2023 3:01 pm
by bbahn
Hello and thanks for reaching out.

While there are many ways you could accomplish this, the suggested method would be to create a plugin that you run using the Nagios Cross-Platform Agent (NCPA) on your Windows machine.

Here are some useful resources for getting started:
https://www.nagios.org/ncpa/
https://nagiosenterprises.my.site.com/s ... A-32a58c75

Blake Bahner