App manager API and sshPkAuth
App manager API and sshPkAuth
I try to add my linux server by API and use sshPkAuth, But I got a result
<response
response-code
="
4206
"
>
The username and password mentioned in the request URL should not be empty.
my API.
https://host/AppManager/xml/AddMonitor?apikey=admin_key&os=Linux&type=servers&displayname=myhost&host=10.229.xx.xx&subnet=255.255.255.128&mode=SSH&snmptelnetport=22&username=monitor&password=&sshPKAuth=on&description=my_sshPkAuth
PS, I can add server and use sshPkAuth by GUI web.
anyone have an idea or example ??
thanks a lot.