Hello,
How can I have all credentials (at least SNMP) that are configured on all devices ? If so, is it possible to know if inherited ?
I don't see any parameters in API.
Thanks for your return,
Article Comments
Hello there,
We have a Powershell script here that pulls this information directly out of the cofiguration file. However the thing is that some entries are encrypted. You could also theoretically retrieve the value for SNMPv2 community string like this:
/api/getobjectproperty.htm?id=objectid&name=snmpcommv2&show=text
...but you won't get it as clear text, while something like
/api/getobjectproperty.htm?id=objectid&name=snmpport&show=text
will work, because that detail is not encrypted.
On a sidenote: You can use something like Chrome's built-in developer tools to identify fields not documented in the API in order to identify how they are named.
Kind regards,
Erhard
Feb, 2017 - Permalink
Hello there,
We have a Powershell script here that pulls this information directly out of the cofiguration file. However the thing is that some entries are encrypted. You could also theoretically retrieve the value for SNMPv2 community string like this:
/api/getobjectproperty.htm?id=objectid&name=snmpcommv2&show=text
...but you won't get it as clear text, while something like/api/getobjectproperty.htm?id=objectid&name=snmpport&show=text
will work, because that detail is not encrypted.On a sidenote: You can use something like Chrome's built-in developer tools to identify fields not documented in the API in order to identify how they are named.
Kind regards,
Erhard
Feb, 2017 - Permalink