License
MIT License
master · public · Published over 5 years ago
These files provide basic Checks and Metrics for a Windows system.
Check Definition
{
"type": "CheckConfig",
"api_version": "core/v2",
"metadata": {
"namespace": "default",
"name": "win-cpu-check"
},
"spec": {
"command": "powershell.exe -ExecutionPolicy ByPass -C check-windows-cpu-load.ps1 90 95",
"subscriptions": [
"windows"
],
"handlers": [
"slack",
"email"
],
"runtime_assets": [
"sensu-plugins-windows"
],
"interval": 60,
"publish": true
}
}
Asset Definition
{
"type": "Asset",
"api_version": "core/v2",
"metadata": {
"name": "sensu-plugins-windows",
"namespace": "default",
"labels": {},
"annotations": {}
},
"spec": {
"url": "http://example/assets/asset.tar.gz",
"sha512": "7478720b02451aedc2",
"filters": [
"entity.system.os == 'windows'",
"entity.system.arch == 'amd64'"
]
}
}
lodctr /R
in an Admin elevated command promptTO DO
Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.
×