RFC 1 Check_Open_Connections 2 SLA attribute for templates.
Karl DeBisschop
karl at debisschop.net
Wed Jul 23 06:03:31 CEST 2003
On Tue, 2003-07-22 at 22:40, Stanley Hopcroft wrote:
> Dear Ladies and Gentlemen,
>
> I am writing to request your comments on
>
> 1 A plugin to check that the number of open TCP connections is less than
> a threshold.
>
> This plugin is inspired by the Orcallator monitor of 'Number of Open TCP
> connections' and made essential by my employers famous name application
> server (name withheld since this is a family program) dieing early one
> morning when the hosts limit was breached.
>
> It is
>
> . implemented in Perl
>
> . not portable (basically its a Netstat filter that needs to know the
> Netstat format of the host)
>
> . easy to hack because it is so-so thin
>
> Here is the sample output (Sol version).
>
> [asterix]/usr/home/nagios$ perl/check_open_connections
> Ok. Number of open TCP connections (362) less than threshold. Top
> connectors: 10.0.100.201 108, 10.0.100.65 49, 192.168.101.210 27,
> 192.168.102.210 24, 192.168.103.210 22.
If you have SNMP on the host in question, you can just use check_snmp. I
think most implementations provide this in their MIB. Certainly net-snmp
does.
This solution has the advantage of being portable.
--
Karl
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list