InfraTeam
Making Connections
21 days agoIs there a way to monitor CATO IPSec degraded status
Hello,
We recently enhanced our resilience on CATO side by switching from a single IPSec peering tunnel to a dual active/passive IPSec tunnel, enabling automatic failover in case of POP incident.
However, monitoring via the basic API request does not return a “Degraded” status; it only returns ‘Connected’ or “Disconnected”. The API request uses the Account Snapshot one.
Investigating deeper in the CATO API, it doesn't seem possible to get the “Degraded” status for IPSec connectivity.
Is this a limitation of the API?
Is an update to the API on CATO’s roadmap to monitor this status ?
Looking forward to your response.
Corentin
Hi Corentin,
Here is a slimmed down version of the query and variables required.
query accountSnapshot ( $accountID:ID ) { accountSnapshot ( accountID:$accountID ) { id sites { id connectivityStatusSiteSnapshot: connectivityStatus operationalStatusSiteSnapshot: operationalStatus lastConnected connectedSince popName infoSiteSnapshot: info { name ipsec { isPrimary remoteIP } } degradedStatusSiteSnapshot: degradedStatus { isDegraded degradedDetails { reason argsDegradedDetail: args { __typename ... on DegradedStatusBasicDataArgs { deviceName lastConnectedDate } ... on DegradedStatusSocketArgs { deviceName portID portName lastConnectedDate } ... on DegradedStatusLastConnectedArgs { lastConnectedDate } ... on DegradedStatusMultiTunnelArgs { deviceName tunnelID tunnelName lastConnectedDate } } } } } timestamp } }{ "accountID": "123456", "siteIDs": [] }I hope this helps,
Rob