Forum Discussion

DisSsha_22912's avatar
DisSsha_22912
Icon for Nimbostratus rankNimbostratus
Sep 13, 2017
Solved

GTM/DNS How to check sync with iControl/Rest

Hello,

 

I would like to develop a tiny plugin for my icinga to be sure that my 2 DNS F5 server are in sync. I know device certificate & certificate trust can expire and I would like to prevent it with some request.

 

I didn't find anything on the API doc. But maybe I missed the solution.

 

Can you help me please ?

 

Regards,

 

  • Greetings, Very strange the "iquery" object isn't listed with the other REST GTM objects. Fortunately, it does however work! Here's the path:

     curl -sk -u admin:admin https://172.24.17.13/mgmt/tm/gtm/iquery
    

    Of interest, seems to be:

    "certExpireTime":{"description":"2027-08-27T16:38:44Z"}
    "connectState":{"description":"connected"}
    "commitIdId":{"value":638}
    

    The command output lists all GTMs in the sync group. Ensure the commitIdIds match across to verify sync.

    Hope this helps! Kevin

1 Reply

  • Kevin_K_51432's avatar
    Kevin_K_51432
    Historic F5 Account

    Greetings, Very strange the "iquery" object isn't listed with the other REST GTM objects. Fortunately, it does however work! Here's the path:

     curl -sk -u admin:admin https://172.24.17.13/mgmt/tm/gtm/iquery
    

    Of interest, seems to be:

    "certExpireTime":{"description":"2027-08-27T16:38:44Z"}
    "connectState":{"description":"connected"}
    "commitIdId":{"value":638}
    

    The command output lists all GTMs in the sync group. Ensure the commitIdIds match across to verify sync.

    Hope this helps! Kevin