Hello,
I'm facing an issue with the plugin. Works fine with app pools but not with app websites.
windows 2012 R2, IIS 8
C:\Users\xxx\Downloads\check_iis\Release>check_iis.exe -B -T
CRITICAL: AppPool 'DefaultAppPool' with an incorrect state: 'Stopped'. | 'Numb
erOfAppPools'=14 'NumberOfStartedAppPools'=13;;;0;14 'NumberOfStoppedAppPools'=1
;;;0;14 'NumberOfStoppingAppPools'=0;;;0;14 'NumberOfStartingAppPools'=0;;;0;14
'NumberOfUnknownAppPools'=0;;;0;14 'NumberOfCorrectAppPools'=13;;;0;14 'NumberOf
WrongAppPools'=1;;;0;14
C:\Users\xxx\Downloads\check_iis\Release>
C:\Users\xxx\Downloads\check_iis\Release>check_iis.exe -b -t
Unhandled Exception: System.Runtime.InteropServices.COMException: The object ide
ntifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)
at Microsoft.Web.Administration.Interop.IAppHostProperty.get_Value()
at Microsoft.Web.Administration.ConfigurationElement.GetPropertyValue(IAppHos
tProperty property)
at Microsoft.Web.Administration.Site.get_State()
at MonitoringPluginsForWindows.check_iis.InventorySites(ServerManager iisMana
ger, Boolean bVerboseInventory, Boolean do_running_only, Boolean do_inventory) i
n C:\Users\yannick\Downloads\check_iis-master\Solution\check_iis\Program.cs:line
807
at MonitoringPluginsForWindows.check_iis.CheckAllSites(Int32 returncode, Bool
ean do_perfcounter_sites, Boolean do_singluar_check, Boolean do_only_autostart_s
ites, String expected_state) in C:\Users\yannick\Downloads\check_iis-master\Solu
tion\check_iis\Program.cs:line 1039
at MonitoringPluginsForWindows.check_iis.Main(String[] args) in C:\Users\yann
ick\Downloads\check_iis-master\Solution\check_iis\Program.cs:line 255
C:\Users\xxx\Downloads\check_iis\Release>
Tested using an admin account / admin console.
Any clue of what could be the reason?
BR
Hello,
I'm facing an issue with the plugin. Works fine with app pools but not with app websites.
windows 2012 R2, IIS 8
Tested using an admin account / admin console.
Any clue of what could be the reason?
BR