Jnon
Nov 16, 2015Nimbostratus
Using quotes in monitor recv string
I need to monitor a string that looks something like
recv "my status="UP""
I saw another solution here that recommended using
recv 'my status=\"UP\"' but the output of that when listing the monitor is: recv "my status=\"UP\"" if the actual string is - my status="UP" - do I want the \ in the monitor in order for it to be interpreted correctly?
Would it be better to write it with a wild card as recv "my status=.?UP.?"