Hello everyone,
I am currently testing my hand at designing some scripts for internal use. I have a very simple list of commands that will enable SNMPv3 and assign the user and groups that I want. I have tried modifying some of the templates found on Thwack however, I eventually break the script by trying to "simplify" it.
All I really want is a script that will execute these commands on the nodes that are selected in NCM.
snmp-server group "groupname" v3 priv read "readview" write "writeview" |
snmp-server user "user" "groupname" v3 auth md5 "password" priv aes 256 "password" |
snmp-server view "readview" iso included |
snmp-server view "writeview" iso included |
snmp-server host "IP" version 3 priv "user" |
snmp-server enable traps |
Any suggestion?