Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Scripting noob question

$
0
0

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?


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>