How to monitor host's connections?!
How to monitor host's connections?!
There is an customized application server which will accept clients connect to this server, but sometimes if there were too many connections will caused server no reply. our customer want to know if NagiosXI has a way to warn when connections over specific numbers?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: How to monitor host's connections?!
It depends of course, you can always create a custom script, but we will need to know more information in order to see if one has already been created. What type of connections are these? And what are they connecting to? i.e "Mysql database, Oracle database, webportal, Windows 2012 server."
Re: How to monitor host's connections?!
slansing wrote:It depends of course, you can always create a custom script, but we will need to know more information in order to see if one has already been created. What type of connections are these? And what are they connecting to? i.e "Mysql database, Oracle database, webportal, Windows 2012 server."
If make it simple, just monitor total established connections of a host, and warn when total connections come to a specific numbers?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: How to monitor host's connections?!
That is not enough information, we need to know what type of device you are trying to monitor connections on. If it helps I'll give a few examples of what you could be trying to monitor connections on:
Webserver, Database, Webportal, AP, etc....
Webserver, Database, Webportal, AP, etc....
Re: How to monitor host's connections?!
Can't we just monitor total connections which like "netstat" command, no matter what type of services? because our customer want to know when the connections come to a specific number?slansing wrote:That is not enough information, we need to know what type of device you are trying to monitor connections on. If it helps I'll give a few examples of what you could be trying to monitor connections on:
Webserver, Database, Webportal, AP, etc....
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: How to monitor host's connections?!
Sure you can, on a device that uses netstat, but with devices that don't you will need to find a way to see connected users via something else. That is what I am getting at. Nagios runs checks, these checks run plugins which expect to check against a device they recognize, then they return the status information. This is why we need to know what type of device you are checking connections on. By your last comment it sounds like a Linux system, but that is not clear. After all, you can't netstat a MSSQL database, for instance
.
If you are only interested in netstat for a Linux server based check, here are some plugins:
http://exchange.nagios.org/index.php?op ... rd=netstat
If you are only interested in netstat for a Linux server based check, here are some plugins:
http://exchange.nagios.org/index.php?op ... rd=netstat
Re: How to monitor host's connections?!
If it's windows based server, still can check?slansing wrote:Sure you can, on a device that uses netstat, but with devices that don't you will need to find a way to see connected users via something else. That is what I am getting at. Nagios runs checks, these checks run plugins which expect to check against a device they recognize, then they return the status information. This is why we need to know what type of device you are checking connections on. By your last comment it sounds like a Linux system, but that is not clear. After all, you can't netstat a MSSQL database, for instance.
If you are only interested in netstat for a Linux server based check, here are some plugins:
http://exchange.nagios.org/index.php?op ... rd=netstat
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: How to monitor host's connections?!
You are likely looking for the .wsf version of this plugin
http://exchange.nagios.org/directory/Pl ... ns/details
http://exchange.nagios.org/directory/Pl ... ns/details
Re: How to monitor host's connections?!
It seems a localhost plugin, rather than to remotely monitor a windows server's connections?!scottwilkerson wrote:You are likely looking for the .wsf version of this plugin
http://exchange.nagios.org/directory/Pl ... ns/details
What we're looking for is a solution for remotely monitor windows server's connections(total established connections), need help, thanks!
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: How to monitor host's connections?!
It is a local plugin, however it would be called by NRPE through NSClient++ to run the plugin and return the total connections to the XI server. Is that the logic you are looking for?