Page 1 of 1

IIS and https current connection

Posted: Tue Mar 17, 2015 10:36 am
by emi65
Hi

I need to monitor the number of https active connection on IIS site .

Do you know the OID of https connection ?

Many thanks for your help

Emilio

Re: IIS and https current connection

Posted: Tue Mar 17, 2015 10:39 am
by jdalrymple
Quick google leads me to this OID for IIS6: 1.3.6.1.4.1.311.1.7.3.1.13.0

This may not be true for newer versions, can you test and let us know?

--EDIT--

Here is a sample checkcommand from our exchange:
http://exchange.nagios.org/directory/Pl ... ks/details

Code: Select all

command[snmp_http_connections]=/usr/local/nagios/libexec/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.311.1.7.3.1.13.0 -u 'HTTP Connections' -d: 

Re: IIS and https current connection

Posted: Tue Mar 17, 2015 10:48 am
by emi65
This OID work but ...... Does the number of HTTP or HTTPS connections ?

tks
Emilio

Re: IIS and https current connection

Posted: Tue Mar 17, 2015 11:08 am
by jdalrymple
I see, you're looking for specifically a number of connections open using https, not just IIS connections. It seems from what I can read this is either specific to http, or perhaps a global counter for both types of connections. You may need to use a custom plugin counting the number of established connections on port 443, using OS tools instead of asking IIS.

Do you have a remote monitoring agent setup on this computer? If not would it be possible to install one?

There is a very useful Powershell script written by a Nagios contributor:

http://exchange.nagios.org/directory/Pl ... ns/details

This when run remotely can achieve what you want.