Get HA Configuration
Get your Fortigate High Availability configuraion.
Example Output
{
"http_method": "xxx",
"revision": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"results": {
"group-id": xxx,
"group-name": "xxx",
"mode": "xxxxxxxxxxx",
"sync-packet-balance": "xxxxxxxxx",
"password": "xxxxxxxx",
"key": "xxx",
"hbdev": "\"xxxxxxxxx\" x ",
"unicast-hb": "xxxxxxxx",
"unicast-hb-peerip": "x.x.x.x",
"unicast-hb-netmask": "x.x.x.x",
"session-sync-dev": "xxx",
"route-ttl": xx,
"route-wait": x,
"route-hold": xx,
"multicast-ttl": xxx,
"evpn-ttl": xx,
"load-balance-all": "xxxxxxxxx",
"sync-config": "xxxxxxxx",
"encryption": "xxxxxxxxx",
"authentication": "xxxxxxxxxxxx",
"hb-interval": x,
"hb-interval-in-milliseconds": "xxxms",
"hb-lost-threshold": xx,
"hello-holddown": xx,
"gratuitous-arps": "xxxxxxxxx",
"arps": x,
"arps-interval": x,
"session-pickup": "xxxxxxxxx",
"session-pickup-connectionless": "xxxxxxxxxxxxxxxxx",
"session-pickup-expectation": "xxxxxxxxxxxxx",
"session-pickup-nat": "xxxxxxxxx",
"session-pickup-delay": "xxxxxxxxxxxx",
"link-failed-signal": "xxxxxxxxxxxx",
"uninterruptible-upgrade": "xxxxxxxxxx",
"uninterruptible-primary-wait": xx,
"standalone-mgmt-vdom": "xxxxxxxxxxxxxxxxx",
"ha-mgmt-status": "xxxxxxxxx",
"ha-mgmt-interfaces": ["xxx"],
"ha-eth-type": "xxxx",
"hc-eth-type": "xxxx",
"l2ep-eth-type": "xxxx",
"ha-uptime-diff-margin": xxx,
"standalone-config-sync": "xxxxxxxxxxxx",
"unicast-status": "xxxxxxxxx",
"unicast-gateway": "x.x.x.x",
"unicast-peers": ["xxx"],
"logical-sn": "xxxxxxxxx",
"schedule": "xxxxxxxxx",
"weight": "xx ",
"cpu-threshold": "x x x",
"memory-threshold": "x x x",
"http-proxy-threshold": "x x x",
"ftp-proxy-threshold": "x x x",
"imap-proxy-threshold": "x x x",
"nntp-proxy-threshold": "x x x",
"pop3-proxy-threshold": "x x x",
"smtp-proxy-threshold": "x x x",
"override": "xxxxxxxxx",
"priority": xxx,
"override-wait-time": x,
"monitor": "xxx",
"pingserver-monitor-interface": "xxx",
"pingserver-failover-threshold": x,
"pingserver-secondary-force-reset": "xxxxxxxxx",
"pingserver-flip-timeout": xx,
"vcluster-status": "xxxxxxxxx",
"vcluster": ["xxx"],
"ha-direct": "xxxxxxxxx",
"ssd-failover": "xxxxxxxxx",
"memory-compatible-mode": "xxxxxxxxxxxxx",
"memory-based-failover": "xxxxxxxxxxxxx",
"memory-failover-threshold": x,
"memory-failover-monitor-period": xx,
"memory-failover-sample-rate": x,
"memory-failover-flip-timeout": x,
"failover-hold-time": x
},
"vdom": "xxxx",
"path": "xxxxxxxx",
"name": "xx",
"status": "xxxxxxxx",
"http_status": xxx,
"serial": "xxxxxxxxxxxxxxxx",
"version": "xxx.x.x",
"build": xxxx
}
Workflow Library Example
Get Ha Configuration with Fortigate and Send Results Via Email