The default SNMP community string used by GSX Monitor to communicate with the Windows SNMP service is public. Here we will describe how to change this.
Alerts sent to an SNMP target such as Microsoft SCOM (Systems Center Operations Manager) will be using the default community string, and this might not be the string that is configured. We can change this by editing the GSXSetup.ini file.
This effects any Alert Profile that has an SNMP alert added to it.
In this image, the SNMP Traps will be using public as the community string by default.
To change this, we need to add a line to GSXSetup.ini and then restart GSX Monitor:
- Shut down GSX Monitor.
- Navigate to GSX Monitor\Data\GsxSetup.ini
- Open the GSXSetup.ini file in a text editor.
- Locate the [OPTIONS] section and add the following line: [OPTIONS] SNMPTRAPCOMMUNITY=community_name
- Replace "community_name" with the desired community string.
- Save the file.
- Restart GSX Monitor including the service to load the changes from the .ini file.
Use the Test Profile button to check that it is now using the correct community string. Refer to Alert Profiles for more detailed information.