Salesforce

ESM : modify snmp polling with timeout & retry values

« Go Back
Information
ESM : modify snmp polling with timeout & retry values
ESM-modify-snmp-polling-with-timeout-retry-values
Validated
Ronan Donnelly
4/13/2022, 4:44 AM
5/25/2020, 9:52 AM
Content
  • Devices periodically go LOA in ESM / OneControl due to missed SNMP management ping / response
  • ESM
  • OneControl

Modify <ESM_home>/conf/NmsProcessesBE.conf to implement SNMP timeout and retry values

 

Step 1: Go to the ESM configuraton directory:

cd /opt/ciena/ESM61200/conf

Step 2: Make backup copy of the NmsProcessesBE.conf file:

cp -p NmsProcessesBE.conf NmsProcessesBE.conf.orig

Step 3: Open NmsProcessesBE.conf for editing

vi NmsProcessesBE.conf

Find following line:

PROCESS     com.adventnet.nms.poll.Collector
ARGS  MAX_OIDS_IN_ONE_POLL 15 AUTHORIZATION true DATA_COLLECTION_QUERY_INTERVAL 120000  PASS_THRO_ALL_POLLING_OBJECTS true DATA_COLLECTION_SNMP_RETRIES 2 DATA_COLLECTION_SNMP_TIMEOUT 10 DATA_COLLECTION_STARTUP_DELAY 300 STATUS_POLL_TXN_TIMEOUT 60000 


Add timeout & retry values to end of line. In this example we will set timeout of 10 seconds with one retry.


STATUS_POLL_SNMP_TIMEOUT 10 STATUS_POLL_SNMP_RETRIES 1

Edited line should look like this : 

PROCESS     com.adventnet.nms.poll.Collector
ARGS  MAX_OIDS_IN_ONE_POLL 15 AUTHORIZATION true DATA_COLLECTION_QUERY_INTERVAL 120000  PASS_THRO_ALL_POLLING_OBJECTS true DATA_COLLECTION_SNMP_RETRIES 2 DATA_COLLECTION_SNMP_TIMEOUT 10 DATA_COLLECTION_STARTUP_DELAY 300 STATUS_POLL_TXN_TIMEOUT 60000 STATUS_POLL_SNMP_TIMEOUT 10 STATUS_POLL_SNMP_RETRIES 1


Step 4: Save file and close

Step 5: Halt / Restart ESM

Halt:

cd <ESM_home>/bin/
./Shutdown username password


Restart:

cd <ESM_home>/bin/
nohup ./startnms.sh &


Tail nohup.out file to observe startup:

tail -100f nohup.out


Powered by