I'm writing several Policies that will check the running configuration of a CISCO router for certain key strings. Depending the policy it will alert me to if the string is present or not. The problem i'm running into however, is that some of the strings do not exist in the standard running config. For instance I want to search for the string Authentication retries: 3. This does not exist in the running config, the only way to see this string is by first typing show ip ssh and then the string is displayed below.
My question is this. Can you design a policy that will first run the show ip ssh command and then look for the Authentication string?