View SNMP Service Configuration

Before completing the configuration of your SNMP services, you can view all or selected parts of the SNMP service configuration that will be written to the snmpd.conf file.

Note: For a list of all the Appliance Controller commands, see the Command Index.

  1. Log in to the Appliance Controller CLI.
  2. Enter:

    snmp show [service, sysinfo, community, view, trapcommunity, authtrapenable]

    The optional parameters are:

    service

    Enter to query whether the service is enabled or disabled.

    See Enable or Disable SNMP Services.

    sysinfo

    Enter to query system information, such as the administrator and managing device.

    See Define SNMP Maintenance Information.

    community

    Enter to query community information, such as community name and network settings.

    See Configure an SNMP Community .

    view

    Enter to query views set up for the community.

    See Configure an SNMP Community .

    trapcommunity

    Enter to query the trap community's name.

    See Configure an SNMP Community .

    authtrapenable

    Enter to query whether the authtrapenable service is enabled.

    See Enable SNMP Authorization Traps.

    If you do not enter optional parameters, all of the above parameters will be queried.

    Example:

    > snmp show

     

    SNMP service is enabled

     

    Agents:

    default agent is enabled.

    open-manage agent is enabled.

    stornext agent is enabled.

     

    Views:

    # This is the system MIB which gives system information such as uptime

    view systemInfo included .1.3.6.1.2.1.1

    # This is the IF-MIB branch which gives info on interfaces

    view systemInfo included .1.3.6.1.2.1.2.0.0.0.2

    # This branch contains networking information

    view systemInfo included .1.3.6.1.2.1.4

    view systemInfo included .1.3.6.1.4.11.3697.1.50

    # UCD-SNMP-MIB system statistic for load

    view systemInfo included .1.3.6.1.4.1.2021.10

    # UCD-SNMP-MIB system statistic for CPU

    view systemInfo included .1.3.6.1.4.1.2021.11

    # UCD-SNMP-MIB system statistic for memory

    view systemInfo included .1.3.6.1.4.1.2021.4

    # UCD-SNMP-MIB system statistic for disks

    view systemInfo included .1.3.6.1.4.1.2021.9

    view systemInfo included .1.3.6.1.4.1.3697

    view systemInfo included .1.3.6.1.4.1.3697.1.50

    view systemInfo included .1.3.6.1.4.1.674.10892

     

    Communities:

    rocommunity unguessable default -V systemInfo

     

    Notifications:

    trapcommunity public

    authtrapenable is disabled

    trap2sink 10.40.162.134:162

    trap2sink 10.40.163.163:162