How to troubleshoot when Command Center is unable to discover NetScaler

How to troubleshoot when Command Center is unable to discover NetScaler

book

Article ID: CTX200377

calendar_today

Updated On:

Description

The following error is displayed when discovering NetScaler device on Command Center:
"unable to enable SNMP on the device"

Resolution

Complete the following troubleshooting steps to resolve the issue:

  1. Verify the device profile created on Command Center.

    • The device login credentials should have super user access rights.

    • Specify the SNMP community string which is created on NetScaler. Community string created on NetScaler should be set to ALL. Command Center expects SNMP community with ALL permissions.

    • Increase the timeout value in device profile from default 15 to 30 seconds.

    • The failure of NetScaler discovery can also be because SSH is not enabled on NetScaler device. Enable SSH on NetScaler device by using the following command and then rediscover the device in Command Center:
      set nsip <NS IP address> -ssh enabled

  2. Verify if UDP ports 161 and 162 are open between Command Center IP and NSIP.

  3. If there is any other SNMP manager added to the NetScaler, during discovery of that NetScaler on Command Center the following error is displayed:
    "unable to enable SNMP on the device -Couldn't find this server in device SNMP manager's list"
    Because another SNMP manager is present on this NetScaler instance, log on to this NetScaler and add the Command Center IP as SNMP manager.

  4. Capture simultaneous trace on NetScaler and Command Center server.
    Download Wireshark on Command Center server (on Windows server where Command Center is installed). Filter the capture with udp.port==161. From the trace you can verify if there is a networking issue.

  5. To discover NetScaler SDX and its instances the procedure is slightly different.

    1. Create a new SDX profile (ensure to provide correct credentials).

    2. Create a new NetScaler profile with Timeout of any higher value (default is 15 seconds).

    3. Associate the preceding NetScaler profile for SDX discovery.

    4. Try discovering the SDX-SVM (Service Virtual Machine) alone and do not discover its NetScaler instance.

    5. Discovering the SVM alone will also discover all the instances present on that SDX-SVM.

  6. You can also validate if SNMP to a particular NetScaler is reachable from Command Center.
    Run an SNMP query for sysDescr OID "1.3.6.1.2.1.1.1.0" using any MIB browser and verify the response.

  7. The Command Center performs implicit discovery of HA pair. Hence if one node is discovered, the other node will also get discovered implicitly.

  8. You can also examine the latest discovery logs to investigate why the discovery failed. The latest discovery logs are present at $CC_HOME/logs/discovery/ folder.
    On Command Center GUI you can navigate to Administration tab > Logging > View Logs > Discovery > NSDiscoveryErr.txt for latest discovery logs.

Issue/Introduction

The error "unable to enable SNMP on the device" is displayed when discovering NetScaler device on Command Center.