Page 1 of 1
Ports monitoring
Posted: Sat Oct 26, 2013 9:28 am
by abdelilah
Hello everyone,
Could you please tell me if there is a way to monitore active connections and ports on a remote windows machine via snmp or nsclient, I have searched in the plugins libray but all I could find was useless to my case.
Thanks in advance.
Re: Ports monitoring
Posted: Mon Oct 28, 2013 10:33 am
by sreinhardt
You can definitely monitor port status and to some extent activity with either source of monitoring. When you say active connections, you are looking to continually monitor the total number, each individual one, or for a specific connection?
Re: Ports monitoring
Posted: Thu Oct 31, 2013 1:07 pm
by abdelilah
For example by typing "netstat -bn" I obtain this (among many others):
[Dropbox.exe] TCP 192.168.1.96:25718 108.160.163.51:80 ESTABLISHED
I want to be able to monitor this connection in the remote windows machine from Nagios.
Re: Ports monitoring
Posted: Fri Nov 01, 2013 9:41 am
by sreinhardt
Well, sure you can write a script that will output the results of this command, count up the number of connections and allows you to check warning and critical amounts. Otherwise this plugin might work for you:
http://exchange.nagios.org/directory/Pl ... ns/details