What process should nagios look for to check IIS7 running status

iis-7nagios

We're finally rolling out Server 2008 systems and our old IIS6 check looked for IIS.exe, which doesn't appear to be used anymore. Is there a better process name to look for?

We already have network availability checks in place, but having multiple forms of checks like this helps diagnose where not to look.

Best Answer

Looking at one of my own systems, as long as your site has traffic, it seems like you should have at least one w3wp.exe process running, spawned from svchost (command line: C:\Windows\system32\svchost.exe -k iissvcs). It doesn't look like any w3wp.exe processes start until you get at least one hit.

I'm assuming you're also checking to see if the service itself is started, which I would think is a better check than just looking for an exe.

Related Topic