SNMP community string change practice
search cancel

SNMP community string change practice

book

Article ID: 9997

calendar_today

Updated On:

Products

CA Network Flow Analysis (NetQos / NFA)

Issue/Introduction

What is the best practice in NFA to handle a global community string change?

 



We will be changing the SNMP string on all the devices/routers in NFA.

If we add the new string to the CAPC list in the profile, will NFA still be able to poll them?

Will we have to perform anything on each device?

Environment

RA/NFA all versions

Resolution

After adding the new Community String in CAPC, it will sync down to NFA
and no extra changes or updates will be needed for each device.

Here are they steps for doing a global snmp string change for NFA 9.3.3.

1.  Add the SNMP community string to CAPC or NPC
2.  Update the routers with the new SNMP string
3.  Open a DOS prompt on each Harvester and run the following command.
     mysql -P3308 -D poller -t -e "update routers set profileid=0;"
     mysql -P3308 -D poller -t -e "update routers set State='InitialPoll', stateretry=0, reboottime=0;"

Here are they steps for doing a global snmp string change for NFA 9.3.6+ / NetOps

1.  Add the SNMP community string to CAPC (NetOps Portal)
2.  Update the routers with the new SNMP string
3.  Open a DOS prompt on each Harvester and run the following command.
     mysql -P3308 -D harvester -unetqos -pnetqos -t -e "update routers set profileid=0;"
     mysql -P3308 -D harvester -unetqos -pnetqos -t -e "update routers set pollState='InitialPoll', stateretry=0, reboottime=0; "

Note: It should take some time to update the DB, so let it stew for a few hours.

Additional Information

It is not currently possible to do a global repoll of ALL routers using the ODATA API. However, the API can be used to repoll an individual router