So -- I've got some discovery rules defined.
I'm trying to use "received value" like redis_enabled="yes" or even just redis_enabled.
I'm unclear on how "like" works -- are there any quoting issues? The string I'm looking for has double-quotes in it. Also, in the context of discovery, does it matter if the value returned by a key is a multi-line value or if it is just a long string with no cr/lf in it?
Also, I'm seeing weird inconsistent behavior depending on a rule's action.
If I make a rule to just send me email when an action condition is met, I get the email. If I make the same rule add a host to a host-group or link to a template, the action never seems to take place. But, if I manually link that host to a template, I can do so without error. I'm confused.
Any suggestions on troubleshooting this feature?
This is on 2.0.2.
I'm trying to use "received value" like redis_enabled="yes" or even just redis_enabled.
I'm unclear on how "like" works -- are there any quoting issues? The string I'm looking for has double-quotes in it. Also, in the context of discovery, does it matter if the value returned by a key is a multi-line value or if it is just a long string with no cr/lf in it?
Also, I'm seeing weird inconsistent behavior depending on a rule's action.
If I make a rule to just send me email when an action condition is met, I get the email. If I make the same rule add a host to a host-group or link to a template, the action never seems to take place. But, if I manually link that host to a template, I can do so without error. I'm confused.
Any suggestions on troubleshooting this feature?
This is on 2.0.2.
Comment