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