Lets have a go with my own blog!
Offcourse it needs some Powershell code support:
1 2 3 4 5 |
Use-CacheCluster Get-CacheHost $instanceName = "DistributedCache" Get-SPServiceInstance | ?{($_.Service.Tostring()) -match $instanceName} |
And some PHP for instance:
1 2 3 |
<?php phpinfo(); ?> |
But more likely are scripting languages like Python, Javascript, etc.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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…