How to change community string in configuration file?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rragha2
Posts: 17
Joined: Mon Aug 03, 2020 4:57 am

How to change community string in configuration file?

Post by rragha2 »

Hi,

I added interface status and router services by using monitoring wizard(router/switch). In the process of onboarding, I filled in the community string(public).

If community string changes in our router, how do we replace it in NagiosXI?



Thank you,
Austin
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: How to change community string in configuration file?

Post by vtrac »

Hi Austin,
You can use view the "community string" from the service management page.
Configure > core-config-manager > Services > select "Port 1 - status"
service-with-community-string-listed.png
You can manually change each "port-#-status" from there .... or use the "Bulk Modifications Tool".

Configure > core-config-manager > Bulk Modifications Tool > select "Change Command and Arguments"
Leave "Check command" box blank since we only want to change just one "$ARG1$" argument.
update changes to ARG1.png
Select your (switch/router) "Host" and all "Port-# Status" (see below picture) ... then click "Save Changes"
select-all-service.png
Hope this helps!!

Vinh
You do not have the required permissions to view the files attached to this post.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: How to change community string in configuration file?

Post by vtrac »

Hi Austin,
My teammate has just mentioned that the best way to change your community string is for you to re-run the wizard again.
My previous suggestion might not update the "community string" correctly in the mrtg config file.

Nagios XI GUI > Configure > Configure Wizards > Select "Network Switch / Router" wizard.

Best Regards,
Vinh
rragha2
Posts: 17
Joined: Mon Aug 03, 2020 4:57 am

Re: How to change community string in configuration file?

Post by rragha2 »

Thanks for your reply.

Will monitoring data of the router be lost if we rerun the wizard?

Thanks,
Austin
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: How to change community string in configuration file?

Post by vtrac »

Hi Austin,
The monitoring data of the router will NOT be lost if re-ran the wizard again.

Best Regards,
Vinh
Locked