Lets have a go with my own blog! Offcourse it needs some Powershell code support:
|
Use-CacheCluster Get-CacheHost $instanceName = "DistributedCache" Get-SPServiceInstance | ?{($_.Service.Tostring()) -match $instanceName} |
And some PHP for instance:
But more likely are scripting languages like Python, Javascript, etc.
|
def status_check(item, params, info): warn, crit = params parsed = json_parse(info) if item not in parsed: return (3, "data not found in agent output") varname = 'ConnectionCount' value = saveint(parsed[item][varname]) status = 0 output = [] perfdata = [] if value >= crit: status = 2 elif value >= warn: status = 1 |
Also added a widget, got some modrewrite for friendly URL’s, some plug-ins, a photo, its getting somewhere…