Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Adam_Forester
Ambassador
Ambassador

SNMP Password Update - MDS

This was a particular customer request but can easily be modified to any environment. 

Usage: After the Solarwinds issue customer wanted to change the SNMP password on 700+ gateways across 40+ Domains.

Execution: Fairly straight forward bash script. Crawls for the name/IP on the MDS then it creates command files for each Domain that contains mgmt_cli for each gateway. You can execute it as a whole or do it per-line. This uses the 'run-script' API to execute clish commands.

 

Script location: https://github.com/WadesWeaponShed/SNMP-Password-Reset

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

@_Val_ Toolbox material

0 Kudos
Martin_Valenta
Advisor

This is usable only if you have everything on Gaia OS, if you have Gaia Embedded it's not usable and only via cprid_util you can achieve changes across all centrally managed devices.

Also why not get Domain list via api? 🙂

 

 

0 Kudos
Adam_Forester
Ambassador
Ambassador

You are right I make an assumption Gaia Lite is excluded. Good question! A lot of my own personal code repository was done prior to API with some old DBEdit fun... So I just use bits I had already written. Looks like I should update this section! Thank you so much for the note

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events