Description | This article describes how to configure FortiADC health check for VMware NSX Manager with additional string. |
Scope | FortiADC and FortiADC VM. |
Solution |
In some cases, certain web application requires an additional header to provide the correct response or status code.
For example, VMware NSX Manager is a monitoring system where it monitors its logical components' services' health. When multiple NSX managers are configured in a real server pool, FortiADC can poll real server pool members to determine which real server is available.
According to VMware NSX Manager requirements to monitor its health, it is required to define additional headers such as Authorization, Content-Type, and Accept.
Header1 Note: <Base64 Value> is Username:Password encoded in Base64.
Header2
Header3
A GET request must be sent to /api/v1/reverse-proxy/node/health and NSX Manager would respond to API call as below:
"healthy" : true
Based on the requirement, it is possible for FortiADC to configure an additional header with the ‘Additional String’ option.
From GUI:
FortiADC GUI Health Check configuration sample:
From CLI: Create Health Check as below:
# config system health-check set send-string /api/v1/reverse-proxy/node/health set receive-string \"healthy\" : true set match_type match_string next
Steps to verify.
FortiADC Health Check Monitor sample.
Refer to the below documentation for more information on health checks:
VMware NSX Manager health check requirement documentation: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.