ChetanAr_315803
Jun 09, 2017Cirrus
Monitor receive string needs to read from send string
I've a requirement for health monitoring where receive string has a dependency send string as below:
send string: healthcheck?pretty=true/false
receive string: true if pretty=true in send string and same for false.
If false is encountered in send string and accordingly in receive string, pool will be marked as down.
Approach: If i keep 'true' in send string and mention just 'true' in receive string and 'false' in send string and leave 'true' in receive string, it will mark the pool down which will eventually be marked as down as send string will have 'false' in it.
Is this the correct approach?