Monitoring Webservices - Windows and Linux

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ednaldojta
Posts: 103
Joined: Tue Apr 07, 2015 7:52 am

Monitoring Webservices - Windows and Linux

Post 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!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Monitoring Webservices - Windows and Linux

Post 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.
Former Nagios Employee
ednaldojta
Posts: 103
Joined: Tue Apr 07, 2015 7:52 am

Re: Monitoring Webservices - Windows and Linux

Post by ednaldojta »

OK! then we can close this post and check only that old!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Monitoring Webservices - Windows and Linux

Post by rkennedy »

Sounds good, closing this one out.

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