Page 1 of 1

Monitoring Webservices - Windows and Linux

Posted: Mon Mar 21, 2016 8:05 am
by ednaldojta
Hello friends! once again I come to request the help of you.
I need to check the number of connections per port for Linux and Windows servers. Already I checked the check_connections. However I do not know how to configure it, and is also suitable for this!

Basically I need to bring the number of connections per port.
And input and output data in MBytes / KBytes per port.

It's possible?

I thank friends attention!

Re: Monitoring Webservices - Windows and Linux

Posted: Mon Mar 21, 2016 2:12 pm
by rkennedy
I believe your other post, addresses how to check the amount of connections per port. Just change the grep based on the port. -

Code: Select all

/usr/local/nagios/libexec/check_by_ssh -H <remote ip> -C "netstat -an | grep 5666 | wc -l" -t 120
(for reference)

As for how much data is going, per port, I don't know of a way off the top of my head. Are you able to produce the output over the CLI? The data can always be manipulated from there.

Re: Monitoring Webservices - Windows and Linux

Posted: Mon Mar 21, 2016 2:28 pm
by ednaldojta
OK! then we can close this post and check only that old!

Re: Monitoring Webservices - Windows and Linux

Posted: Mon Mar 21, 2016 2:37 pm
by rkennedy
Sounds good, closing this one out.

If you need any assistance in the future, feel free to create a new thread!