{ "schemaVersion": "1.0", "version": "0.1.2", "name": "Custom Ruleset 7", "probes":{ "ManagedCodeRuleProbe": [ { "type": "External", "target": { "type": "Server" }, "implementation": { "class": "TestsProbeLibrary.Probe2", "assembly": "C:\\SQLAsmnt\\CustomizationSamples\\TestsProbeLibrary.dll" } } ] }, "rules":[ { "id": ["DefaultRuleset"], "itemType": "override", "enabled": false }, { "id": "ManagedCodeRule", "itemType": "definition", "displayName": "Check uses 3rd-party assembly", "description": "This is an example of a check using an assembly to get required data.", "message": "Method from the assembly returned a number greater than the threshold: @{ActualCpuUtilization} > @{threshold}.", "target": { "type": "Server" }, "probes": ["ManagedCodeRuleProbe"], "threshold": 83, "condition": { "less": ["@ActualCpuUtilization", "@threshold"] } } ] }