-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
questionQuestions raised by people who don't know how to program or read the wiki :PQuestions raised by people who don't know how to program or read the wiki :P
Description
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
- It wasn't covered by the wiki, I swear!
- I have tried doing some basic research on this issue but haven't been able to come up with anything. Please help!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionQuestions raised by people who don't know how to program or read the wiki :PQuestions raised by people who don't know how to program or read the wiki :P