According to this MSDN blog, it should be quite straightforward to add health monitoring to my website by adding this:
Code:
<healthMonitoring>
   <rules>
   <add name="Application Events"
       eventName="Application Lifetime Events"
       provider="EventLogProvider"
       profile="Default"
       minInterval="00:01:00" />
   </rules>
</healthMonitoring>
... to the <system.web> section of my web.config. However, when I do that I get this error:

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Any ideas what else I might need to tweak? Is the comment about it not being configured as an application likely? It's a struggle to get permission to check the IIS settings, and the website works correctly without this section in the config.

Cheers...