Changing the SNMP Authentication Settings
You can change the SNMP privPassPhraseKey and authPassPhraseKey using the CentraSiteCommand tool as follows:
Go to <CentraSiteInstallDir>/utilities and run the following command: CentraSiteCommand.cmd set Password -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -userToStore <key_present_in_web.xml> -passwordToStore <password_to_be_set>
<key_present_in_web.xml> - Value present in web.xml. By default, the value sagAuthPassphrase is assigned to authPassPhraseKey and sagPrivPassphrase is assigned to pprivPassPhraseKey.
<password_to_be_set> - Password that you configured in the Mediator Administration page in Integration Server.
Note: | After setting the password you must restart CentraSite for the changes to take effect. |
Examples:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set Password -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -userToStore sagAuthPassphrase -passwordToStore hello123
Result: Sets the authPassphraseKey to hello123
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set Password -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -userToStore sagPrivPassphrase -passwordToStore hello123
Result: Sets the privPassphraseKey to hello123