SNMP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
patrickm1
Posts: 10
Joined: Tue Dec 17, 2019 4:11 pm

SNMP

Post 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.
gwesterman
Posts: 269
Joined: Wed Aug 23, 2023 11:29 am

Re: SNMP

Post 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!
patrickm1
Posts: 10
Joined: Tue Dec 17, 2019 4:11 pm

Re: SNMP

Post by patrickm1 »

I will give that a try. Thanks for your help.
Post Reply