Monitoring IIS and httpd connections
-
rbizzell39
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: Monitoring IIS and httpd connections
ok I will try this thanks and will follow up
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Monitoring IIS and httpd connections
Fantastic. We'll keep the thread open as long as you need.
-
rbizzell39
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
-
rbizzell39
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: Monitoring IIS and httpd connections
Is this what I need to put in the powershell script
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Monitoring IIS and httpd connections
There are two different powershell scripts:
1. https://raw.githubusercontent.com/ester ... ctions.ps1
2. https://raw.githubusercontent.com/ester ... _state.ps1
1. https://raw.githubusercontent.com/ester ... ctions.ps1
2. https://raw.githubusercontent.com/ester ... _state.ps1
-
rbizzell39
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: Monitoring IIS and httpd connections
I need to add this into my ini file
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Monitoring IIS and httpd connections
Code: Select all
[/settings/external scripts/scripts]
# Requires allow arguments=true
check_iis8_app_pool_state = powershell.exe scripts\check_iis8_app_pool_state.ps1 $ARG1$
check_default_app_pool = powershell.exe scripts\check_iis8_app_pool_state.ps1 DefaultAppPool
# Requires allow arguments=true
check_iis8_website = powershell.exe scripts\check_iis8_site.ps1 $ARG1$
check_default_website = powershell.exe scripts\check_iis8_site.ps1 'Default Web Site'
check_connections = powershell.exe scripts\check_iis8_connections.ps1 localhost 'Default Web Site' 3000 4000The full instructions for testing are included at https://github.com/esterniclos/nagios_iis
-
rbizzell39
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: Monitoring IIS and httpd connections
okay thanks!
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Monitoring IIS and httpd connections
No problem. Let us know how it goes!
-
rbizzell39
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: Monitoring IIS and httpd connections
One question I want to check multiple app pools can I just replace the the DefaultAppPool with my apps and separate them with commas or semicoln