Sürüm: 1.4.9Bu dokümantasyon Spitfire 1.4.9 içindir.
Altyapı izleme — IIS (Beta)
IIS
Hızlı kurulum
- IIS sunucusunda Administrator olarak çalıştırın.
Invoke-WebRequest -UseBasicParsing -Uri "https://<spitfire>/api/v1/setup/ds/iis.ps1?t=<token>&lang=tr" -OutFile "$env:TEMP\sf-iis.ps1"; powershell -NoProfile -ExecutionPolicy Bypass -File "$env:TEMP\sf-iis.ps1" OK: ...satırını görünce bitti.
IIS ağ üzerinden değil, IIS sunucusunun kendisinde Windows performance counter'larından Spitfire Windows agent'ı ile okunur. Spitfire Windows agent'ı gerekir: yoksa betik kurar. IIS'te hiçbir şeyi değiştirmez, yalnız agent servisini yeniden başlatır ve önce sorar. Üründe bu satır adres ve yeni bir token ile hazır gelir.
Elle kurulum
- İzlenen sistemi ekleyin: Altyapı izleme → IIS.
Ad: web1-iis Tower adresi: http://tower.corp:4318 - PowerShell'i Administrator olarak açın.
Start-Process powershell -Verb RunAs - IIS'i ve counter'larını denetleyin.
$ErrorActionPreference = 'Stop' if (-not (Get-Service W3SVC -ErrorAction SilentlyContinue)) { throw 'IIS (W3SVC) is not installed on this server' } $sets = @('Web Service', 'HTTP Service Request Queues', 'APP_POOL_WAS') if (@($sets | Where-Object { -not (Get-Counter -ListSet $_ -ErrorAction SilentlyContinue) }).Count -gt 0) { & "$env:SystemRoot\System32\lodctr.exe" /R & "$env:SystemRoot\System32\wbem\winmgmt.exe" /resyncperf } $sets | ForEach-Object { if (-not (Get-Counter -ListSet $_ -ErrorAction SilentlyContinue)) { throw "Performance counter set '$_' is missing" } } - Kurulumu izlenen sistem sayfasından kopyalayıp çalıştırın.
Altyapı izleme → IIS → Kurulumu IIS sunucusunda çalıştırın → Kopyala - Counter'ları kontrol edin.
Get-Counter '\Web Service(_Total)\Current Connections' -ErrorAction Stop; 'OK: IIS counters readable, first metrics within ~1 min'
Kurulum Spitfire Windows agent'ını (spitfire-collector servisi) iis bloğu
C:\ProgramData\Spitfire\collector-extra.yaml olacak şekilde kurar ya da yeniden kurar ve
Tower'ın sfcol_ token'ını sorar; token komut satırına yazılmaz. Paneller: metoda göre
istek/sn, anlık bağlantılar, request queue sayısı ve yaşı, reddedilen istekler, gönderilen ve
alınan byte, network blocked, aktif thread'ler, uptime, app pool durumu ve uptime'ı. Bulgular:
Running olmayan app pool (kritik), 5 sn'yi aşan request queue yaşı, 100'ü aşan request queue,
artan reddedilen istekler (uyarı). Seriler site ve app pool başınadır. Beta: receiver'ın
metrikleri upstream'de hâlâ development olarak işaretli.