11-05-2015 08:18 AM
Hi all,
Does anyone know how a Rule Input with multiple values can be used?
For example I want to check if a specific SNMP trap source interface is configured (snmp-server trap-source Vlan10)
In our network this could be Loopback0 or Vlan10. If I cretae an Input Rule:
Title: Interfaces
Data Type: String
Accept Multiple Values
Scope: Execution
How can I check my configuration agains the values in the Rule Input?
I tried it with two conditions:
1: snmp-server trap-source (.*)
2: <1.1> matches <_Interfaces>
But that didn't do it:
Violation: Configuration "Loopback10 matches [Vlan10, Loopback0]"
06-16-2017 05:07 AM
I know this is a very old thread. But did you ever find a solution? I am trying to specify some interfaces to exclude from a check, and cannot find a proper syntax to make it work.
However, I am using the same logic you are with <1.1> matches <_Interfaces>
07-31-2017 11:52 AM
No, unfortunately not...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide