IIS and https current connection

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
emi65
Posts: 119
Joined: Fri Aug 17, 2012 3:41 am

IIS and https current connection

Post 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
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: IIS and https current connection

Post 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: 
emi65
Posts: 119
Joined: Fri Aug 17, 2012 3:41 am

Re: IIS and https current connection

Post by emi65 »

This OID work but ...... Does the number of HTTP or HTTPS connections ?

tks
Emilio
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: IIS and https current connection

Post 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.
Locked