Closed phandox closed 6 years ago
What is the rpc url to access this info with the api?
Unfortunatelly I don't have access to Fortinet Developer Network so I can't tell you which RPC URL would that be...
I have looked through the API documentation, and I do not see anything available to retrieve the info you are looking for. If you have a support contract with Fortinet, then maybe you can ask through the support channel.
@phandox any luck going through your support contract?
Hi, sorry for late answer. No luck from Fortinet support, they just directed me to executing scripts directly on FortiManager...
Hello,
I've used
fortimgr_facts
to get configuration of FortiGate managed by FortiManager, however I get it in dictionary format of Ansible. Is it possible to get the output in the same format as you would get when you issuesshow
command on FortiGate? I would like to use Ansible to download the configurations of FortiGates from FortiManager (I can access the configuration via UI in Device Manager -> Revision History -> Show Configuration). When I get this output I can use it to restore configuration in case of changing hardware.Thanks.