Ad Widget

Collapse

Is it possible to monitoring all certificates expired on fortigates using API?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Aliensec
    Junior Member
    • Apr 2023
    • 8

    #1

    Is it possible to monitoring all certificates expired on fortigates using API?

    Dear Community,

    I need to collect an ITEMs on Zabbix the All certificates but it is not possible using SNMP.

    I can collect and monitoring if all certificates was expires and expired using API connection.

    Could anyone help me with how I can do this via API?

    Regards,
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    It is more of the question about Fortigate API... you shoudl probably construct a API call, that returns all the needed values and then create a template on top of it... http item -> discovery of all certs (prototypes for) and collecting data about their expiry dates. And then adding triggers to warn you about running out of time ...

    Comment

    • Aliensec
      Junior Member
      • Apr 2023
      • 8

      #3
      I was able to collect the certificate data but it is not creating the ITEMs from the certificates when I place the ITEM prototype in discovery. I have not identified a way to successfully create these ITEMS. Could you guide me? Do I use the Dependent ITEM? Json scripts?

      Comment

      Working...