sqlinsight-pro/src/SQLInsight.Agent/appsettings.json

101 lines
3.6 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"SQLInsight": {
"Repository": {
"ConnectionString": "Server=sqlmon01.eksempel.local;Database=SQLInsight;Integrated Security=true;Encrypt=true"
},
"Tick": "00:00:15",
"MaxParallelInstances": 4,
"CollectorIntervals": {
},
"Hub": {
"Enabled": false,
"Url": "https://hub.sqlinsight.seosoft.dk/",
"License": null,
"SendSensitiveEvidence": false,
"SendServerName": false,
"SubmitInterval": "00:15:00"
},
"Notifications": {
"WebUrl": "https://sqlinsight.eksempel.local/",
"NotifyResolved": true,
"MaxMessagesPerHour": 20,
"Email": {
"Enabled": false,
"Host": "smtp.eksempel.local",
"Port": 587,
"Security": "StartTls",
"From": "sqlinsight@eksempel.local",
"To": [ "dba@eksempel.local" ],
"MinSeverity": "High"
},
"Teams": {
"Enabled": false,
"WebhookUrl": null,
"MinSeverity": "High"
},
"Webhook": {
"Enabled": false,
"Url": null,
"Secret": null,
"MinSeverity": "Medium"
}
},
"Retention": {
"RawDays": 14,
"HourlyDays": 400,
"EventDays": 90,
"ResolvedFindingDays": 365
},
"DynamicsAx": {
// Dynamics AX-tjek (docs/dynamics-ax.md). Kører kun i databaser genkendt som AX og valgt til overvågning.
"BatchLateMinutes": 30,
"BatchStuckHours": 6,
"BatchLongRunningFactor": 2.0,
"NumberSequenceWarnPercent": 80,
"ForecastWarnDays": 90,
"RecId32WarnPercent": 50
// "LocalTimeZone": "Romance Standard Time" // AOS'ens tidszone for Axapta 3.0/4.0's lokale tider; tom: agentens egen
},
"Servers": {
// Windows-servere (se docs/windows-servere.md). Rettigheder: db/permissions/grant-windows-server.ps1 – aldrig lokal administrator.
"Enabled": true,
"IncludeSqlHosts": true,
"Protocol": "Auto",
"MaxParallelServers": 4,
"OperationTimeout": "00:00:30",
"CycleTimeout": "00:05:00",
"Intervals": { "performance": "00:01:00", "disks": "00:15:00", "services": "00:05:00", "events": "00:05:00", "tasks": "00:15:00" },
"Cpu": { "HighPercent": 90, "SustainedMinutes": 15 },
"Memory": { "AvailablePercent": 5, "AvailableMegabytes": 1024, "PagesPerSecond": 1000, "CommitPercent": 90 },
"Disks": { "FreePercent": 10, "CriticalFreePercent": 5, "EnoughFreeGigabytes": 50, "ForecastDays": 30, "ForecastHistoryDays": 14 },
"Services": { "Ignore": [], "StartupGraceMinutes": 15, "MaxFindings": 15 },
"EventLog": { "RepeatThreshold": 5, "Ignore": [], "MaxFindings": 15 },
"Tasks": { "IncludeMicrosoftTasks": false, "IgnoreUserAndUpdaterTasks": true, "LateMinutes": 60, "MaxWatched": 50, "Ignore": [] },
"UptimeDays": 0,
"SampleDays": 14,
"DiskHistoryDays": 35,
"EventDays": 90
},
"SyntheticChecks": {
// Syntetiske tjek (se docs/syntetiske-tjek.md). Tjekkene selv oprettes i webbrugerfladen eller API'et.
"Enabled": true,
"MaxParallelChecks": 4,
"FailuresBeforeFinding": 2,
"SlowRunsBeforeFinding": 3,
"CertificateWarningDays": 21,
"CertificateCriticalDays": 7,
"ResultDays": 14,
"BusinessConnectorPath": null
},
"Instances": [
// Servere tilføjes nemmest i webbrugerfladen (Servere og databaser). Her kan de også stå, fx (se docs/installation.md):
// { "Name": "prod-sql01", "Server": "sql01.domæne.local", "Authentication": "Windows", "Provider": "Auto", "Encryption": "Mandatory" }
]
}
}