Hi - I'm looking to create an HTTP action that will switch on the power port on an Aviosys 9258S.
I've successfully configured and tested the HTTP request that I need to make, but when I use it in the PRTG custom notification, nothing happens and the PRTG log reports "401 Unauthorized"?
The URL includes logon credentials, but perhaps these aren't being passed correctly? the format of the URL with the logon credentials has to be:
http://login:password@ipaddress/set.cmd?cmd=command
If I just pass the first part of the URL, without the command, I get no authorisation error in the logs, but obviously it's the command part of the URL that takes the action, so without it nothing happens!
The actual URL I'm, trying to pass is:
http://root:P@[email protected]/set.cmd?cmd=setpower+p61=1+p62=1+p63=1+p64=1
I'm using this entire string in the URL field of the HTTP action and leaving the Postdata field blank...
Any suggestions/better ideas?
Thanks, Nick
Add comment