Page 1 of 1
SNMP
Posted: Thu Sep 19, 2024 12:26 pm
by patrickm1
How do I change the community string name on the SNMP for the actual Nagios Server? An internal scan said the server is using the default string public but I can't find where that is configured in the server.
Re: SNMP
Posted: Thu Sep 19, 2024 1:01 pm
by gwesterman
Hi @patrickm1,
If you just want to configure the snmp community string on your Nagios Server itself, you can follow the standard process for linux servers.
1. Open the SNMP configuration file in a text editor:
- It should be located in /etc/snmp/snmpd.conf
2. Modify the community string:
- Find the line that starts with com2sec.
- Change "public" on this line to your new community string.
3. Save the file.
4. Restart the SNMP service
- systemctl restart snmpd
This isn't necessarily Nagios-related so if I misinterpreted your question, please let me know.
Thank you!
Re: SNMP
Posted: Thu Sep 19, 2024 1:16 pm
by patrickm1
I will give that a try. Thanks for your help.