Forum Discussion

Islam_Nadim1's avatar
Feb 12, 2018

Health Monitor Receive String

Hello All,

I'm creating a Health Monitor to monitor a value returned from the node. on LTM, I can set the Receive String to be

[0-99]

Which will keep node up if value is between 0 and 99 inclusive. But on GTM, it doesn't work with this syntax, so I have to write it as

[0-9][0-9]

Is there any other way to check if the value is below a certain number, in this case 99 (This number will vary depending on the node I'm monitoring)?

  • Okay, I seem to have found a way

    ([1-9][0-9]|[0-9])
    

    And if more, like 0-1000

    (1000|[1-9][0-9][0-9]|[1-9][0-9]|[0-9])