Hi,
i'm trying to create a custom powershell scripts to integrate with MS teams, and i am running into a problem where in i want to find out the following details
[string]$sensor= 'Windows CPU Load', [int]$sensorid= '5518', [string]$status='prtg_status', [string]$message='prtg_message', [string]$device='test', [string]$since='prtg_since', [string]$lastup='prtg_lastup', [string]$sensorURL='prtg_sensorurl', [string]$deviceURL='prtg_deviceurl', [string]$serviceURL='service_url'
i want to monitor for example any service , in this case, the windows cpu load on the server "test".
i am not sure what to enter in the $message, $since and rest of the above code. where can i find the details?
Add comment