SlideShare uma empresa Scribd logo
1 de 20
Monitoring Internet Information Services
How to
Monitor IIS
What Will I Learn Here?
Most enterprises using Windows Server editions host their websites using IIS
What is IIS? Counters to
Monitor
Performance
Counter Values
This will be the first in a series of three
blog posts on monitoring. In this article
we’ll discuss monitoring Internet
Information Services (IIS), the web
hosting platform available in Windows
Server editions. IIS is very popular in
part because it provides such a
compact service with lots of features
and configurations. Most enterprises
that use Windows Server editions are
How To Monitor IIS
hosting their websites using IIS. When hosting critical applications, many
companies use monitoring software to keep their system administrators
informed about the overall behavior of their systems. Such software provides
configurable alerts for performance counters, services and applications. We
will talk about how to monitor IIS, what the most important performance
counters are, and what services should be monitored when talking about
Internet Information services.
IIS can send information about its application pools and worker
processes, active requests, sites and applications, services that depend
on it, logging information, abnormal behavior and so on. You should
configure your monitoring software to measure the amount of CPU and
memory percentage that IIS is using.
Worker processes are responsible for executing code for web
applications, sending and responding to requests and so on. Each
worker process should be monitored carefully so that the following
parameters are working as desired:
How To Monitor IIS
Responsible for the
worker processes
behavior. By default,
any app pool will host
only one worker
process. You should
monitor each app
Application Pool Name
pool so that you know exactly what pool is responsible for memory
leaking or abnormal CPU usage. Each app pool is identified by its
Process ID so you should also take care of monitoring its
associated ID.
Percent of CPU Usage
Each worker process reserves a percentage of CPU to execute its active
requests. In the field, this counter value is regarded as one of the more
important counters to monitor.
Poorly written code using too much of the CPU’s resources or bad
requests can block applications from using the CPU, which will cause
the CPU to run at a very high rate or even at 100% continually.
Other counters to monitor include Processor: % Idle Time or Processor:
Interrupts/sec.
This is another important aspect that should be considered when
monitoring IIS performance. Any application should have enough space
to run in normal parameters.
Situations in which disk space is limited or close to 0, can pose a real
threat to an application’s performance especially when talking about
production environments. Logging too much information can cause log
files to grow excessively fast and cause the disk space to be depleted
causing poor performance.
The overall disk performance may include performance counters like Disk
Read Bytes/sec, Disk Reads/sec, Disk Write Bytes/sec or Disk
Writes/sec.
Disk Space Used by Apps
Monitoring the Process State is another important item; a process can be
in one of three states: starting, running, or stopping. Other applications,
viruses and even human interaction may interfere with the normal
operation of processes, so you should always check out the state of each
one.
The amount of memory used by a process should always be monitored
carefully. Worker processes must reserve an amount of memory for their
normal performance.
Next are some memory values to consider:
Disk Space Used by Apps – Cont’d
Private Bytes (KB)
The amount of physical memory used by each process, this value can be
seen when opening task manager. A worker process is named W3wp.exe
so you should take a look at each one when there is abnormal memory
usage.
Task manager can indicate several W3wp.exe processes running at the
same time so it may be hard to differentiate between them.
Remember that the process ID is unique and you can see the requests of
each worker process along with its ID from IIS management console.
Virtual Bytes (KB)
The amount of virtual memory that is used by worker processes. This
value cannot be seen in task manager but, there are many tools with
which you can view the amount of virtual memory consumed by each
worker process.
Two of the most common counters for Memory are % Committed Bytes in
Use and Page Faults/sec
Remember that here are many IIS performance counters that can be
monitored. As a system administrator you are able to choose and
configure the ones that you desire.
Among the performance counters that worth mentioning are:
Virtual Bytes (KB) – Cont’d
• Web Services – performance counters for the World Wide Web
Publishing Service.
• Counters for the FTP Service
• Performance counters for ASP applications and scripts
• Many monitoring software do not use local installed clients instead
they use the SNMP protocol. If you use such software make sure to
monitor this service also.
• Performance counters for Indexing services for web applications and
queries.
• In case your applications use SMTP or NNTP services make sure the
overall performance of this services are monitored.
• Global IIS counters for all Internet services like WWW, SMTP, FTP,
NNTP, etc.
Virtual Bytes (KB) – Cont’d
Windows is equipped with monitoring tools such as performance monitor,
IIS applications logs for each web app, event viewer and so on. You can
configure event viewer tracing for some of the IIS services and
applications.
Make sure that only the desired logs are sent and notified by your
monitoring tools. You can use an event repository that collects all IIS
events in a centralized location and from there only specific events are
forwarded to the monitoring software for alert triggering and so on.
Virtual Bytes (KB) – Cont’d
Among the IIS event sources are the following: NNTP Service—
NNTPSVC, WWW Service—W3SVC, FTP Service—MSFTPSVC, SMTP
Service—SMTPSVC, Active Server Pages, Microsoft COM+ MSDTC,
Certificate Services CERTSVC.
The values of performance counters can be chosen and customized by
the sys admins. This depends on the overall load of your servers and the
desired performance of your Web apps and services.
Some ideal values of the most important performance counters are:
Processor
• Percent of processor time – should be less than 75%
• System processor queue length – less than 2%
Memory
• Available bytes – this depends on your expectations. I’ve read an
article that mentioned 4 MB as the desired value.
• Pages per second – less than 20%, if this value increases it may
indicate poor app performance.
• Committed bytes – less than 75% of your physical memory. You
should always have at least 25% free of your physical memory that
can be used by other system resources.
• Pool nongpaged bytes – should be a constant value, if this value
fluctuates it may indicate a memory leak
Disk
• Percent disk time – 0 or a value that is close to 0 is ideal. In any case
this value should be as low as possible
• Queue length – a value that is less than 2
• Average disk bytes per transfer – a high value is an ideal
Web service or bytes total per second – As high as possible
IIS global or cache hits percent – A high value is ideal
These are the values we’ve found that are recommended by Microsoft.
There are hundreds of IIS performance counters that can be monitored.
You will have to choose and customize the desired alerts for each
counter.
Most monitoring tools have some default Counters configured so a lot of
this work can be done easily. Of course, you will have to choose
monitoring software that satisfies all your needs.
Conclusion
If you work on Microsoft Systems, you probably know that tools like this
should always incorporate Powershell scripting. With this powerful
scripting language you can create customized alerts, values and results.
Another aspect that you should consider when choosing this type of tool
is the price and the support that you can receive from the provider.
Freeware monitoring tools many times don’t provide support, which can
make the work of system administrators much more painful.
Conclusion – Cont’d
These are the most important aspects we feel should be considered
when talking about monitoring Internet Information Services behavior.
We know there are many more counters that you may believe to be very
important. Are there any you feel important enough to add here? Please
add your comments below!
We hope this post has helped give you a good idea on how you can
monitor IIS.
Stay tuned the next article, "How to Monitor ASP.NET" in this series
from Network Wrangler.
Author: Popescu Dan-Alexandru
Conclusion – Cont’d
What’s Your Message?
Brought to you by:
POWERADMIN.COM

Mais conteúdo relacionado

Mais procurados

INTRODUCTION TO IIS
INTRODUCTION TO IISINTRODUCTION TO IIS
INTRODUCTION TO IISsanya6900
 
06.m3 cms set-upwebserver
06.m3 cms set-upwebserver06.m3 cms set-upwebserver
06.m3 cms set-upwebservertarensi
 
Microsoft/Zend Webcast on Cloud Computing
Microsoft/Zend Webcast on Cloud ComputingMicrosoft/Zend Webcast on Cloud Computing
Microsoft/Zend Webcast on Cloud ComputingJosh Holmes
 
Hardening Apache Web Server by Aswin
Hardening Apache Web Server by AswinHardening Apache Web Server by Aswin
Hardening Apache Web Server by AswinAgate Studio
 
Installing windows server 2016 TP 4
Installing windows server 2016 TP 4Installing windows server 2016 TP 4
Installing windows server 2016 TP 4Ayman Sheta
 
SQL Server 2012 Security Task
SQL Server 2012 Security TaskSQL Server 2012 Security Task
SQL Server 2012 Security TaskYaakub Idris
 
Introduction to CFEngine Enterprise 3.6.0 Webinar
Introduction to CFEngine Enterprise 3.6.0 WebinarIntroduction to CFEngine Enterprise 3.6.0 Webinar
Introduction to CFEngine Enterprise 3.6.0 WebinarCFEngine
 
Cognos Analytics Implementation Tips, Tricks & Gotchas
Cognos Analytics Implementation Tips, Tricks & GotchasCognos Analytics Implementation Tips, Tricks & Gotchas
Cognos Analytics Implementation Tips, Tricks & GotchasCCG
 
Installation & configuration
Installation & configurationInstallation & configuration
Installation & configurationSyAM Software
 
Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010Alan Richards
 

Mais procurados (20)

IIS 7.0 +
IIS 7.0 +IIS 7.0 +
IIS 7.0 +
 
IIS 6.0 and asp.net
IIS 6.0 and asp.netIIS 6.0 and asp.net
IIS 6.0 and asp.net
 
IIS
IISIIS
IIS
 
Understanding iis part2
Understanding iis part2Understanding iis part2
Understanding iis part2
 
INTRODUCTION TO IIS
INTRODUCTION TO IISINTRODUCTION TO IIS
INTRODUCTION TO IIS
 
IIS PPT (1)
IIS PPT (1)IIS PPT (1)
IIS PPT (1)
 
I3 - for Web & J2EE
I3 - for Web & J2EEI3 - for Web & J2EE
I3 - for Web & J2EE
 
06.m3 cms set-upwebserver
06.m3 cms set-upwebserver06.m3 cms set-upwebserver
06.m3 cms set-upwebserver
 
Understanding iis part1
Understanding iis part1Understanding iis part1
Understanding iis part1
 
Microsoft/Zend Webcast on Cloud Computing
Microsoft/Zend Webcast on Cloud ComputingMicrosoft/Zend Webcast on Cloud Computing
Microsoft/Zend Webcast on Cloud Computing
 
Hardening Apache Web Server by Aswin
Hardening Apache Web Server by AswinHardening Apache Web Server by Aswin
Hardening Apache Web Server by Aswin
 
Installing windows server 2016 TP 4
Installing windows server 2016 TP 4Installing windows server 2016 TP 4
Installing windows server 2016 TP 4
 
SQL Server 2012 Security Task
SQL Server 2012 Security TaskSQL Server 2012 Security Task
SQL Server 2012 Security Task
 
Introduction to CFEngine Enterprise 3.6.0 Webinar
Introduction to CFEngine Enterprise 3.6.0 WebinarIntroduction to CFEngine Enterprise 3.6.0 Webinar
Introduction to CFEngine Enterprise 3.6.0 Webinar
 
Cognos Analytics Implementation Tips, Tricks & Gotchas
Cognos Analytics Implementation Tips, Tricks & GotchasCognos Analytics Implementation Tips, Tricks & Gotchas
Cognos Analytics Implementation Tips, Tricks & Gotchas
 
Installation & configuration
Installation & configurationInstallation & configuration
Installation & configuration
 
Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010
 
Windows Loves drupal
Windows Loves drupalWindows Loves drupal
Windows Loves drupal
 
SQL server part 1
SQL server  part 1SQL server  part 1
SQL server part 1
 
Websphere - Intoduction to Unicode websphere
Websphere - Intoduction to Unicode websphereWebsphere - Intoduction to Unicode websphere
Websphere - Intoduction to Unicode websphere
 

Destaque

INTRODUCTION TO IIS
INTRODUCTION TO IISINTRODUCTION TO IIS
INTRODUCTION TO IISsanya6900
 
Internet Information Server (IIS)
Internet Information Server (IIS)Internet Information Server (IIS)
Internet Information Server (IIS)Rosariio92
 
Seminar Windows Server 2012 features
Seminar   Windows Server 2012 featuresSeminar   Windows Server 2012 features
Seminar Windows Server 2012 featuresMicrosoftid
 
How to configure DHCP Server
How to configure DHCP Server How to configure DHCP Server
How to configure DHCP Server tcpipguru
 
0505 Windows Server 2008 一日精華營 PartI
0505 Windows Server 2008 一日精華營 PartI0505 Windows Server 2008 一日精華營 PartI
0505 Windows Server 2008 一日精華營 PartITimothy Chen
 
Windows server 2008 enterprise roadmap
Windows server 2008 enterprise roadmapWindows server 2008 enterprise roadmap
Windows server 2008 enterprise roadmapctc TrainCanada
 
Sql Server 2012 Installation..
Sql Server 2012 Installation..Sql Server 2012 Installation..
Sql Server 2012 Installation..Anand Kumar Rajana
 
introduction and configuration of IIS (in addition with printer)
introduction and configuration of IIS (in addition with printer)introduction and configuration of IIS (in addition with printer)
introduction and configuration of IIS (in addition with printer)Assay Khan
 
What is active directory
What is active directoryWhat is active directory
What is active directoryAdeel Khurram
 
Web Servers: Architecture and Security
Web Servers: Architecture and SecurityWeb Servers: Architecture and Security
Web Servers: Architecture and Securitygeorge.james
 
Hosting a website on IIS Server
Hosting a website on IIS ServerHosting a website on IIS Server
Hosting a website on IIS ServerDinesh Vasamshetty
 
Introduction to Active Directory
Introduction to Active DirectoryIntroduction to Active Directory
Introduction to Active Directorythoms1i
 
Microsoft Active Directory
Microsoft Active DirectoryMicrosoft Active Directory
Microsoft Active Directorythebigredhemi
 
Data Server Manager for DB2 for z/OS
Data Server Manager for DB2 for z/OS Data Server Manager for DB2 for z/OS
Data Server Manager for DB2 for z/OS Saghi Amirsoleymani
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directoryanilinvns
 
Introduction to Zabbix - Company, Product, Services and Use Cases
Introduction to Zabbix - Company, Product, Services and Use CasesIntroduction to Zabbix - Company, Product, Services and Use Cases
Introduction to Zabbix - Company, Product, Services and Use CasesZabbix
 

Destaque (20)

INTRODUCTION TO IIS
INTRODUCTION TO IISINTRODUCTION TO IIS
INTRODUCTION TO IIS
 
Internet information services(iis)
Internet information services(iis)Internet information services(iis)
Internet information services(iis)
 
Internet Information Server (IIS)
Internet Information Server (IIS)Internet Information Server (IIS)
Internet Information Server (IIS)
 
Seminar Windows Server 2012 features
Seminar   Windows Server 2012 featuresSeminar   Windows Server 2012 features
Seminar Windows Server 2012 features
 
How to configure DHCP Server
How to configure DHCP Server How to configure DHCP Server
How to configure DHCP Server
 
0505 Windows Server 2008 一日精華營 PartI
0505 Windows Server 2008 一日精華營 PartI0505 Windows Server 2008 一日精華營 PartI
0505 Windows Server 2008 一日精華營 PartI
 
WINDOWS SERVER 2008
WINDOWS SERVER 2008WINDOWS SERVER 2008
WINDOWS SERVER 2008
 
Windows server 2008 enterprise roadmap
Windows server 2008 enterprise roadmapWindows server 2008 enterprise roadmap
Windows server 2008 enterprise roadmap
 
Web Server Hardening
Web Server HardeningWeb Server Hardening
Web Server Hardening
 
Sql Server 2012 Installation..
Sql Server 2012 Installation..Sql Server 2012 Installation..
Sql Server 2012 Installation..
 
IIS 7: The Administrator’s Guide
IIS 7: The Administrator’s GuideIIS 7: The Administrator’s Guide
IIS 7: The Administrator’s Guide
 
introduction and configuration of IIS (in addition with printer)
introduction and configuration of IIS (in addition with printer)introduction and configuration of IIS (in addition with printer)
introduction and configuration of IIS (in addition with printer)
 
What is active directory
What is active directoryWhat is active directory
What is active directory
 
Web Servers: Architecture and Security
Web Servers: Architecture and SecurityWeb Servers: Architecture and Security
Web Servers: Architecture and Security
 
Hosting a website on IIS Server
Hosting a website on IIS ServerHosting a website on IIS Server
Hosting a website on IIS Server
 
Introduction to Active Directory
Introduction to Active DirectoryIntroduction to Active Directory
Introduction to Active Directory
 
Microsoft Active Directory
Microsoft Active DirectoryMicrosoft Active Directory
Microsoft Active Directory
 
Data Server Manager for DB2 for z/OS
Data Server Manager for DB2 for z/OS Data Server Manager for DB2 for z/OS
Data Server Manager for DB2 for z/OS
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directory
 
Introduction to Zabbix - Company, Product, Services and Use Cases
Introduction to Zabbix - Company, Product, Services and Use CasesIntroduction to Zabbix - Company, Product, Services and Use Cases
Introduction to Zabbix - Company, Product, Services and Use Cases
 

Semelhante a How to Monitor IIS

Active directory solutions brochure
Active directory solutions brochureActive directory solutions brochure
Active directory solutions brochureZoho Corporation
 
Dot Net performance monitoring
 Dot Net performance monitoring Dot Net performance monitoring
Dot Net performance monitoringKranthi Paidi
 
Documentation
DocumentationDocumentation
DocumentationKalyan A
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Piyush Kumar
 
Azure Monitoring Overview
Azure Monitoring OverviewAzure Monitoring Overview
Azure Monitoring Overviewgjuljo
 
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...Agile Testing Alliance
 
Login pi datasheet new
Login pi datasheet newLogin pi datasheet new
Login pi datasheet newMichael Wang
 
Web Server Technologies II: Web Applications & Server Maintenance
Web Server Technologies II: Web Applications & Server MaintenanceWeb Server Technologies II: Web Applications & Server Maintenance
Web Server Technologies II: Web Applications & Server MaintenancePort80 Software
 
Monitoring for Operational Outcomes and Application Insights: Best Practices ...
Monitoring for Operational Outcomes and Application Insights: Best Practices ...Monitoring for Operational Outcomes and Application Insights: Best Practices ...
Monitoring for Operational Outcomes and Application Insights: Best Practices ...Amazon Web Services
 
E g innovations overview
E g innovations overviewE g innovations overview
E g innovations overviewNuno Alves
 
Cloud computing From Iaas to PaaS to SaaS
Cloud computing From Iaas to PaaS to SaaSCloud computing From Iaas to PaaS to SaaS
Cloud computing From Iaas to PaaS to SaaSChris Sparshott
 
Microsoft Infrastructure Monitoring using OpManager
Microsoft Infrastructure Monitoring using OpManagerMicrosoft Infrastructure Monitoring using OpManager
Microsoft Infrastructure Monitoring using OpManagerManageEngine
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Softwarewebhostingguy
 

Semelhante a How to Monitor IIS (20)

Active directory solutions brochure
Active directory solutions brochureActive directory solutions brochure
Active directory solutions brochure
 
Dot Net performance monitoring
 Dot Net performance monitoring Dot Net performance monitoring
Dot Net performance monitoring
 
Performance testing wreaking balls
Performance testing wreaking ballsPerformance testing wreaking balls
Performance testing wreaking balls
 
Documentation
DocumentationDocumentation
Documentation
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
 
Azure Monitoring Overview
Azure Monitoring OverviewAzure Monitoring Overview
Azure Monitoring Overview
 
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
 
Applications manager 1 - Middle East Workshop
Applications manager 1 - Middle East WorkshopApplications manager 1 - Middle East Workshop
Applications manager 1 - Middle East Workshop
 
Siebel monitoring
Siebel monitoringSiebel monitoring
Siebel monitoring
 
Login pi datasheet new
Login pi datasheet newLogin pi datasheet new
Login pi datasheet new
 
Web Server Technologies II: Web Applications & Server Maintenance
Web Server Technologies II: Web Applications & Server MaintenanceWeb Server Technologies II: Web Applications & Server Maintenance
Web Server Technologies II: Web Applications & Server Maintenance
 
Monitoring for Operational Outcomes and Application Insights: Best Practices ...
Monitoring for Operational Outcomes and Application Insights: Best Practices ...Monitoring for Operational Outcomes and Application Insights: Best Practices ...
Monitoring for Operational Outcomes and Application Insights: Best Practices ...
 
E g innovations overview
E g innovations overviewE g innovations overview
E g innovations overview
 
Cloud computing From Iaas to PaaS to SaaS
Cloud computing From Iaas to PaaS to SaaSCloud computing From Iaas to PaaS to SaaS
Cloud computing From Iaas to PaaS to SaaS
 
Web based booking a car taxi5
Web based booking a car taxi5Web based booking a car taxi5
Web based booking a car taxi5
 
Microsoft Infrastructure Monitoring using OpManager
Microsoft Infrastructure Monitoring using OpManagerMicrosoft Infrastructure Monitoring using OpManager
Microsoft Infrastructure Monitoring using OpManager
 
Applications Manager Technical Overview
Applications Manager Technical OverviewApplications Manager Technical Overview
Applications Manager Technical Overview
 
Web Server Hardware and Software
Web Server Hardware and SoftwareWeb Server Hardware and Software
Web Server Hardware and Software
 
Closing the door on application performance problems
Closing the door on application performance problemsClosing the door on application performance problems
Closing the door on application performance problems
 
IBM Db2, system i and AS400 monitoring
IBM Db2, system i and AS400 monitoring IBM Db2, system i and AS400 monitoring
IBM Db2, system i and AS400 monitoring
 

Mais de Power Admin LLC

What is HIPAA Compliance?
What is HIPAA Compliance?What is HIPAA Compliance?
What is HIPAA Compliance?Power Admin LLC
 
Optimize and speed up windows 7
Optimize and speed up windows 7Optimize and speed up windows 7
Optimize and speed up windows 7Power Admin LLC
 
20 Windows Tools Every SysAdmin Should Know
20 Windows Tools Every SysAdmin Should Know20 Windows Tools Every SysAdmin Should Know
20 Windows Tools Every SysAdmin Should KnowPower Admin LLC
 
Cogent Consutlting Case Study
Cogent Consutlting Case StudyCogent Consutlting Case Study
Cogent Consutlting Case StudyPower Admin LLC
 
Power Admin File Sight™
Power Admin File Sight™Power Admin File Sight™
Power Admin File Sight™Power Admin LLC
 
Power Admin Server Monitor™
Power Admin Server Monitor™Power Admin Server Monitor™
Power Admin Server Monitor™Power Admin LLC
 

Mais de Power Admin LLC (8)

5 Tech Blogs
5 Tech Blogs5 Tech Blogs
5 Tech Blogs
 
Top 5 Fake News Site
Top 5 Fake News SiteTop 5 Fake News Site
Top 5 Fake News Site
 
What is HIPAA Compliance?
What is HIPAA Compliance?What is HIPAA Compliance?
What is HIPAA Compliance?
 
Optimize and speed up windows 7
Optimize and speed up windows 7Optimize and speed up windows 7
Optimize and speed up windows 7
 
20 Windows Tools Every SysAdmin Should Know
20 Windows Tools Every SysAdmin Should Know20 Windows Tools Every SysAdmin Should Know
20 Windows Tools Every SysAdmin Should Know
 
Cogent Consutlting Case Study
Cogent Consutlting Case StudyCogent Consutlting Case Study
Cogent Consutlting Case Study
 
Power Admin File Sight™
Power Admin File Sight™Power Admin File Sight™
Power Admin File Sight™
 
Power Admin Server Monitor™
Power Admin Server Monitor™Power Admin Server Monitor™
Power Admin Server Monitor™
 

Último

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Último (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

How to Monitor IIS

  • 1. Monitoring Internet Information Services How to Monitor IIS
  • 2. What Will I Learn Here? Most enterprises using Windows Server editions host their websites using IIS What is IIS? Counters to Monitor Performance Counter Values
  • 3. This will be the first in a series of three blog posts on monitoring. In this article we’ll discuss monitoring Internet Information Services (IIS), the web hosting platform available in Windows Server editions. IIS is very popular in part because it provides such a compact service with lots of features and configurations. Most enterprises that use Windows Server editions are How To Monitor IIS hosting their websites using IIS. When hosting critical applications, many companies use monitoring software to keep their system administrators informed about the overall behavior of their systems. Such software provides configurable alerts for performance counters, services and applications. We will talk about how to monitor IIS, what the most important performance counters are, and what services should be monitored when talking about Internet Information services.
  • 4. IIS can send information about its application pools and worker processes, active requests, sites and applications, services that depend on it, logging information, abnormal behavior and so on. You should configure your monitoring software to measure the amount of CPU and memory percentage that IIS is using. Worker processes are responsible for executing code for web applications, sending and responding to requests and so on. Each worker process should be monitored carefully so that the following parameters are working as desired: How To Monitor IIS
  • 5. Responsible for the worker processes behavior. By default, any app pool will host only one worker process. You should monitor each app Application Pool Name pool so that you know exactly what pool is responsible for memory leaking or abnormal CPU usage. Each app pool is identified by its Process ID so you should also take care of monitoring its associated ID.
  • 6. Percent of CPU Usage Each worker process reserves a percentage of CPU to execute its active requests. In the field, this counter value is regarded as one of the more important counters to monitor. Poorly written code using too much of the CPU’s resources or bad requests can block applications from using the CPU, which will cause the CPU to run at a very high rate or even at 100% continually. Other counters to monitor include Processor: % Idle Time or Processor: Interrupts/sec.
  • 7. This is another important aspect that should be considered when monitoring IIS performance. Any application should have enough space to run in normal parameters. Situations in which disk space is limited or close to 0, can pose a real threat to an application’s performance especially when talking about production environments. Logging too much information can cause log files to grow excessively fast and cause the disk space to be depleted causing poor performance. The overall disk performance may include performance counters like Disk Read Bytes/sec, Disk Reads/sec, Disk Write Bytes/sec or Disk Writes/sec. Disk Space Used by Apps
  • 8. Monitoring the Process State is another important item; a process can be in one of three states: starting, running, or stopping. Other applications, viruses and even human interaction may interfere with the normal operation of processes, so you should always check out the state of each one. The amount of memory used by a process should always be monitored carefully. Worker processes must reserve an amount of memory for their normal performance. Next are some memory values to consider: Disk Space Used by Apps – Cont’d
  • 9. Private Bytes (KB) The amount of physical memory used by each process, this value can be seen when opening task manager. A worker process is named W3wp.exe so you should take a look at each one when there is abnormal memory usage. Task manager can indicate several W3wp.exe processes running at the same time so it may be hard to differentiate between them. Remember that the process ID is unique and you can see the requests of each worker process along with its ID from IIS management console.
  • 10. Virtual Bytes (KB) The amount of virtual memory that is used by worker processes. This value cannot be seen in task manager but, there are many tools with which you can view the amount of virtual memory consumed by each worker process. Two of the most common counters for Memory are % Committed Bytes in Use and Page Faults/sec Remember that here are many IIS performance counters that can be monitored. As a system administrator you are able to choose and configure the ones that you desire. Among the performance counters that worth mentioning are:
  • 11. Virtual Bytes (KB) – Cont’d • Web Services – performance counters for the World Wide Web Publishing Service. • Counters for the FTP Service • Performance counters for ASP applications and scripts • Many monitoring software do not use local installed clients instead they use the SNMP protocol. If you use such software make sure to monitor this service also. • Performance counters for Indexing services for web applications and queries. • In case your applications use SMTP or NNTP services make sure the overall performance of this services are monitored. • Global IIS counters for all Internet services like WWW, SMTP, FTP, NNTP, etc.
  • 12. Virtual Bytes (KB) – Cont’d Windows is equipped with monitoring tools such as performance monitor, IIS applications logs for each web app, event viewer and so on. You can configure event viewer tracing for some of the IIS services and applications. Make sure that only the desired logs are sent and notified by your monitoring tools. You can use an event repository that collects all IIS events in a centralized location and from there only specific events are forwarded to the monitoring software for alert triggering and so on.
  • 13. Virtual Bytes (KB) – Cont’d Among the IIS event sources are the following: NNTP Service— NNTPSVC, WWW Service—W3SVC, FTP Service—MSFTPSVC, SMTP Service—SMTPSVC, Active Server Pages, Microsoft COM+ MSDTC, Certificate Services CERTSVC. The values of performance counters can be chosen and customized by the sys admins. This depends on the overall load of your servers and the desired performance of your Web apps and services. Some ideal values of the most important performance counters are:
  • 14. Processor • Percent of processor time – should be less than 75% • System processor queue length – less than 2%
  • 15. Memory • Available bytes – this depends on your expectations. I’ve read an article that mentioned 4 MB as the desired value. • Pages per second – less than 20%, if this value increases it may indicate poor app performance. • Committed bytes – less than 75% of your physical memory. You should always have at least 25% free of your physical memory that can be used by other system resources. • Pool nongpaged bytes – should be a constant value, if this value fluctuates it may indicate a memory leak
  • 16. Disk • Percent disk time – 0 or a value that is close to 0 is ideal. In any case this value should be as low as possible • Queue length – a value that is less than 2 • Average disk bytes per transfer – a high value is an ideal Web service or bytes total per second – As high as possible IIS global or cache hits percent – A high value is ideal
  • 17. These are the values we’ve found that are recommended by Microsoft. There are hundreds of IIS performance counters that can be monitored. You will have to choose and customize the desired alerts for each counter. Most monitoring tools have some default Counters configured so a lot of this work can be done easily. Of course, you will have to choose monitoring software that satisfies all your needs. Conclusion
  • 18. If you work on Microsoft Systems, you probably know that tools like this should always incorporate Powershell scripting. With this powerful scripting language you can create customized alerts, values and results. Another aspect that you should consider when choosing this type of tool is the price and the support that you can receive from the provider. Freeware monitoring tools many times don’t provide support, which can make the work of system administrators much more painful. Conclusion – Cont’d
  • 19. These are the most important aspects we feel should be considered when talking about monitoring Internet Information Services behavior. We know there are many more counters that you may believe to be very important. Are there any you feel important enough to add here? Please add your comments below! We hope this post has helped give you a good idea on how you can monitor IIS. Stay tuned the next article, "How to Monitor ASP.NET" in this series from Network Wrangler. Author: Popescu Dan-Alexandru Conclusion – Cont’d
  • 20. What’s Your Message? Brought to you by: POWERADMIN.COM

Notas do Editor

  1. This presentation demonstrates the new capabilities of PowerPoint and it is best viewed in Slide Show. These slides are designed to give you great ideas for the presentations you’ll create in PowerPoint 2010!For more sample templates, click the File tab, and then on the New tab, click Sample Templates.