I think I might know what's going on here. Sounds like you're doing a double-expansion.
@nryan85 wrote:
To test I created a new configuration template that just contains one line in the CLI Script type of template: ping ${pingVar}
<snip>
I then deployed that template and in the parameters screen I see the pingVar variable. For the value of the variable I put what you suggested: $(SNMPv2-MIB|sysName|0)
Instead of defining a variable, then assigning $(SNMPv2-MIB|sysName|0) to that variable, skip a step. When you define your CLI script, use $(SNMPv2-MIB|sysName|0) there. Note that this means you won't be asked for that variable value when you go to deploy the CLI template.
If you did want to be able to enter a value for that variable at deployment time (e.g. because sometimes you wanted to enter a specific hostname, not the device hostname), you'll probably need to define a separate CLI template.
@nryan85 wrote:
Does it matter that we use SNMPv3 on our devices? I tried changing your MIB name to SNMPv3-MIB just hoping but similar results.
And no, in this case it doesn't matter that you're using SNMPv3. The "v2" here is a different versioning thing, not related to SNMP v1 vs v2c vs v3. Confusing, yes?