What's going on?
Hello Lord Milko, how are you?
I was trying to run this command:
$table = @{ "name_" = "PCT_CROMATOGRAFIA_NITROGENIO"; "pythonscript_" = "Modbus Python.py";"params_" ="registro=17231,nome=PCT_CROMATOGRAFIA_NITROGENIO,tipo=32float";"sensortype" = "pythonscript";"comments_"="teste"};$params = New-SensorParameters $table; Get-Device -Id 39273 | Add-sensor $params;
It was working fine earlier, but now it keeps giving me this error:
Add-sensor : Could not authenticate to PRTG; the specified username and password were invalid.
No linha:1 caractere:280
- ... w-SensorParameters $table; Get-Device -Id 39273 | Add-sensor $params;
-
- CategoryInfo : NotSpecified: (:) [Add-Sensor], HttpRequestException
- FullyQualifiedErrorId : System.Net.Http.HttpRequestException,PrtgAPI.PowerShell.Cmdlets.AddSensor
Can you help me with this?
Due Dilligance
What's going on?
Hello Lord Milko, how are you?
I was trying to run this command:
$table = @{ "name_" = "PCT_CROMATOGRAFIA_NITROGENIO"; "pythonscript_" = "Modbus Python.py";"params_" ="registro=17231,nome=PCT_CROMATOGRAFIA_NITROGENIO,tipo=32float";"sensortype" = "pythonscript";"comments_"="teste"};$params = New-SensorParameters $table; Get-Device -Id 39273 | Add-sensor $params;
It was working fine earlier, but now it keeps giving me this error:
Add-sensor : Could not authenticate to PRTG; the specified username and password were invalid.
No linha:1 caractere:280
Can you help me with this?
Due Dilligance