nzdazza / prtg-addons

Automatically exported from code.google.com/p/prtg-addons
0 stars 0 forks source link

PRObject issues #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to use the PRObject executable to pause/un-pause sensors for the 
command line. I keep receiving the error "The operation has timed out".

An example of the command:

PRObject.exe -u=https://prtg.mydomain.com -un=myusername -pw=mypassword 
-id=40273 -a=p

I have tried the -u parameter with the same exact format as is used to connect 
in a browser window.  Any variation below is successful when browsing, but not 
successful with PRObject.

prtg.mydomain.com
https://prtg.mydomain.com
https://prtg.mydomain.com/index.htm

Original issue reported on code.google.com by bill.tur...@gmail.com on 19 Mar 2013 at 8:31

GoogleCodeExporter commented 9 years ago
Hi,

The executable is actually sending the url below:

https://prtg.mydomain.com/api/pause.htm?id=40273&action=0&pausemsg=Paused+by+com
mand+line+tool.&username= myusername&password=mypassword

Does this work from your internet browser?
You need to replace the prtg.mydomain.com, myusername and mypassword with your 
own values of cause.

Original comment by gerard.f...@gmail.com on 20 Mar 2013 at 1:51

GoogleCodeExporter commented 9 years ago
Gerard,

Yes, the command executes successfully and the sensor enters a paused state.

Original comment by bill.tur...@gmail.com on 21 Mar 2013 at 8:06

GoogleCodeExporter commented 9 years ago
Hi,

Is it ok to send you a new version for testing?
If this is ok, please contact me directly.

Original comment by gerard.f...@gmail.com on 27 Mar 2013 at 1:30