SNMP Counters

Applies To: Windows Server 2003, Windows Server 2003 with SP1

IIS exposes the following counters for Simple Network Management Protocol (SNMP) services. These counters are defined in more detail in three .mib files — Inetsrv.mib, Http.mib and Ftp.mib — which you can find in the Windir\System32 folder. Inetsrv.mib is a container object for the other two files and, therefore, does not contain counters. To view the contents of the .mib files, open the files by using Notepad.

You cannot view the SNMP counters in System Monitor or Performance Logs and Alerts. Use WMI or a management information base (MIB) Browser tool instead.

For information about installing and using the SNMP service, see Checklist: Implementing the SNMP service in Help and Support Center for Microsoft® Windows® Server 2003.

SNMP FTP Service Counters

Use the SNMP counters in Table D.21 through Table D.23 to monitor FTP service performance.

Table D.21 describes the totalBytes and totalFiles counters that you can use to monitor an SMTP FTP service.

Table D.21 totalBytes and totalFiles Counters

Counter Description

totalBytesSentHighWord

The high 32-bits of the total number of bytes sent by the FTP server.

totalBytesSentLowWord

The low 32-bits of the total number of bytes sent by the FTP server.

totalBytesReceivedHighWord

The high 32-bits of the total number of bytes received by the FTP server.

totalBytesReceivedLowWord

The low 32-bits of the total number of bytes received by the FTP server.

totalFilesSent

The total number of files sent by this FTP server.

totalFilesReceived

The total number of files received by this FTP server.

Table D.22 describes the AnonymousUsers and NonAnonymousUsers counters that you can use to monitor an SNMP FTP service.

Table D.22 AnonymousUsers and NonAnonymousUsers Counters

Counter Description

currentAnonymousUsers

The number of anonymous users currently connected to the FTP server.

currentNonAnonymousUsers

The number of nonanonymous users currently connected to the FTP server.

totalAnonymousUsers

The total number of anonymous users that have been connected to the FTP server.

totalNonAnonymousUsers

The total number of nonanonymous users that have been connected to the FTP server.

maxAnonymousUsers

The maximum number of anonymous users that have been simultaneously connected to the FTP server.

maxNonAnonymousUsers

The maximum number of nonanonymous users that have been simultaneously connected to the FTP server.

Table D.23 describes the Connections and Attempts counters that you can use to monitor an SNMP FTP service.

Table D.23 Connections and Attempts Counters

Counter Description

currentConnections

The current number of connections to the FTP server.

maxConnections

The maximum number of simultaneous connections that have been made to the FTP server.

connectionAttempts

The number of attempts that were made to connect to the FTP server.

logonAttempts

The number of attempts that were made to log on to the FTP server.

SNMP HTTP Service Counters

Use the SNMP HTTP counters in Table D.24 through Table D.31 to monitor WWW service performance.

Table D.24 describes the totalBytes and totalFiles counters that you can use to monitor an SNMP WWW service.

Table D.24 totalBytes and totalFiles Counters

Counter Description

totalBytesSentHighWord

The high 32-bits of the total number of bytes that have been sent by the WWW service since the service started.

totalBytesSentLowWord

The low 32-bits of the total number of bytes that have been sent by the WWW service since the service started.

totalBytesReceivedHighWord

The high 32-bits of the total number of bytes that have been received by the WWW service since the service started.

totalBytesReceivedLowWord

The low 32-bits of the total number of bytes that have been received by the WWW service since the service started.

totalFilesSent

The total number of files that have been sent by the WWW service since the service started.

totalFilesReceived

The total number of files that have been received by the WWW service since the service started.

Table D.25 describes the AnonymousUsers and NonAnonymousUsers counters that you can use to monitor an SNMP WWW service.

Table D.25 AnonymousUsers and NonAnonymousUsers Counters

Counter Description

currentAnonymousUsers

The number of users who currently have an anonymous connection by using the WWW service.

currentNonAnonymousUsers

The number of users who currently have a nonanonymous connection by using the WWW service.

totalAnonymousUsers

The total number of users who have made an anonymous connection by using the WWW service since the service started.

totalNonAnonymousUsers

The total number of users who have made a nonanonymous connection by using the WWW service since the service started.

maxAnonymousUsers

The maximum number of users who have made concurrent anonymous connections by using the WWW service since the service started.

maxNonAnonymousUsers

The maximum number of users who have made concurrent nonanonymous connections to the WWW service since the service started up.

Table D.26 describes the Connections and Attempts counters that you can use to monitor an SNMP WWW service.

Table D.26 Connections and Attempts Counters

Counter Description

currentConnections

The current number of connections made with the WWW service.

maxConnections

The maximum number of concurrent connections that have been made with the WWW service since the service started.

connectionAttempts

The number of connections that have been attempted by using the WWW service since the service started.

logonAttempts

The number of attempts to log on to the WWW service that have been made since the service started.

Table D.27 describes the total counters (totalOptions, totalGets, and others) that you can use to monitor an SNMP WWW service.

Table D.27 total Counters

Counter Description

totalOptions

The number of HTTP requests that have been made using the OPTIONS method since the service started.

totalGets

The number of HTTP requests that have been made using the GET method since the service started.

totalPosts

The number of HTTP requests that have been made using the POST method since the service started.

totalHeads

The number of HTTP requests that have been made using the HEAD method since the service started. Head requests generally indicate that a client is querying the state of a document it already has to see if it needs to be refreshed.

totalPuts

The number of HTTP requests that have been made using the PUT method since the service started.

totalDeletes

The number of HTTP requests that have been made using the DELETE method since the service started. Delete requests are typically used for file removal.

totalTraces

The number of HTTP requests that have been made using the TRACE method since the service started. Trace requests allow the client to see what is being received at the end of the request chain and to use this information for diagnostic purposes.

totalMove

The number of HTTP requests that have been made using the MOVE method since the service started. Move requests move files and directories.

totalCopy

The number of HTTP requests that have been made using the COPY method since the service started. Copy requests copy files and directories.

totalMkcol

The number of HTTP requests that have been made using the MKCOL method since the service started. Mkcol requests create directories on the server.

totalPropfind

The number of HTTP requests that have been made using the PROPFIND method since the service started. Propfind requests retrieve property values for files and directories.

totalProppatch

The number of HTTP requests that have been made using the PROPPATCH method since the service started. Proppatch requests set property values for files and directories.

totalSearch

The number of HTTP requests that have been made using the SEARCH method since the service started. Search requests query the server to find resources that match a set of conditions provided by the client.

totalLock

The number of HTTP requests that have been made using the LOCK method since the service started. Lock requests lock a file so that only the user who locked it can modify the file.

totalUnlock

The number of HTTP requests that have been made using the UNLOCK method since the service started. Unlock requests remove locks from files.

totalOthers

The number of HTTP requests that have been made by methods other than OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, MOVE, COPY, MKCOL, PROPFIND, PROPPATCH, SEARCH, LOCK, or UNLOCK methods since the service started.

Table D.28 describes the CGIRequests and BGIRequests counters that you can use to monitor an SNMP WWW service.

Table D.28 CGIRequests and BGIRequests Counters

Counter Description

currentCGIRequests

The current number of CGI requests being processed simultaneously by the WWW service.

currentBGIRequests

The current number of ISAPI requests being processed simultaneously by the WWW service.

totalCGIRequests

The total number of CGI requests that have been made since the service started.

totalBGIRequests

The total number of ISAPI requests that have been received since the service started.

maxCGIRequests

The maximum number of CGI requests that have been processed simultaneously by the WWW service since the service started.

maxBGIRequests

The maximum number of ISAPI requests that have been processed simultaneously by the WWW service since the service started.

Table D.29 lists the Requests counters (Blocked, Allowed, and Rejected), which are no longer valid in IIS 6.0. The value for these counters is always zero.

Table D.29 Requests Counters (Blocked, Allowed, and Rejected)

Counter

currentBlockedRequests

totalBlockedRequests

totalAllowedRequests

totalRejectedRequests

Table D.30 describes the Errors and Bandwidth counters that you can use to monitor an SNMP WWW service.

Table D.30 Errors and Bandwidth Counters

Counter Description

totalNotFoundErrors

The number of requests made since the service started that the server did not satisfy because the requested document was not found. This type of request is usually reported to the client as an HTTP 404 error message.

totalLockedErrors

The number of requests made since the service started that the server did not satisfy because the requested document was locked. This type of request is usually reported to the client as an HTTP 423 error message.

measuredBandwidth

The I/O bandwidth that the WWW service used, averaged over a minute.

Table D.31 lists the CAL-related counters that are no longer valid for the SNMP WWW service. The value of these counters is always zero.

Counter

currentCALsforAuthenticatedUsers

maxCALsforAuthenticatedUsers

totalCALFailedAuthenticatedUser

currentCALsforSecureConnections

maxCALsforSecureConnections

totalCALFailedSecureConnection