Skip to main content
NeTunnel
Visitor III
December 16, 2021
Question

Fortigate Rest API cmdb vs monitor

  • December 16, 2021
  • 1 reply
  • 5342 views

Hello, someone please can explain what is the diffrenet between  cmdb and monitor in API call 

 

1.request = session.get("https://x.x.x.x:443/api/v2/cmdb/system/interface"

 

 2.request = session.get("https://x.x.x.x:443/api/v2/monitor/system/config/backup?scope=global"

 

when i need use monitor on the API request and when i need to use cmdb

 

Please someone share with me the Fortigate Rest API Documented guide

 

1 reply

Debbie_FTNT
Staff & Editor
Staff & Editor
December 17, 2021

Hey @NeTunnel 

 

- the /cmdb section of API is for configuration (such as interfaces, users, policies etc)

- the /monitor section of API is primarily to get information from the FortiGate (detected devices, session list, authenticated users, etc), but does also include some  operations (such as taking a backup as you have outlined above).

 

FortiOS REST API documentation is available via the Fortinet Developer Network (fndn.fortinet.net). If you do not have access to the Developer Network, you can get it by requesting access and having sponsors. You can reach out to your local Fortinet Sales Representative regarding more information on access to the Developer Network.