Hi all,
I'm very new to using the advanced scripting features in Solarwinds so forgive me if this is an obvious question.
I have been asked to create an SNMP v3 user on several hundred Cisco devices where the username matches the hostname. Is there a way to pull the node.name record into the script for use?
I'm looking to do something like this:
snmp-server user ${Node.Name} network-operator auth sha XXX priv aes-128 XXX
snmp-server host 1.2.3.4 informs version 3 priv ${Node.Name}
snmp-server host 5.6.7.8 informs version 3 priv ${Node.Name}
As written it doesn't convert the hostname from the ${Node.Name} variable. Is this possible and are there examples available that would help me get a better understanding of the DB entries that can be used?