In order to supervise this type of equipment, you need to provide Esia with a community that has read-only SNMP V1/V2c access. We therefore need to start by configuring SNMP on this equipment.
To do this, you first need to enter the IP address of the switch in the URL of your browser. Then authenticate yourself.
It is then possible and necessary to activate SNMP. By default, it offers SNMP access in V1/V2c for the 'public' (read-only access) and 'private' (read and write) communities. public' (read-only access) and 'private' (read and write) communities. As a reminder, only read-only access is required for Esia. Depending on the range of the switch, the views used in the default community may be more or less restrictive.
Depending on the range, switch configuration differs little, but the following elements may differ:
Don't forget to save your configuration once it's working properly.
This tutorial has been tested with the following switches:
Go to « SNMP ⇒ SNMP ».
The configuration pages of interest are :
The last 2 pages (User and Group) are present on all switches. They are dedicated to SNMPv3 configuration, which is not required for Esia, but these pages are necessary for SNMPv2 in some switches (DGS-1210 for example) in order to link an SNMPv2 community to a particular view.
Tick the 'Enabled' box and then the 'Apply' button. Your Esia can now access the switch via SNMP via the 'public' community.
Your switch can now be monitored by Esia. The rest of this tutorial is useful if your switch is not configured by default or if you wish to make more detailed settings. In particular, it is advisable to change the name of the community (see below).
You can configure different views in your switch by adding rules. You need at least one rule to create a view and access defined OIDs. The rule parameters are :
As you can see from the screenshots below, a view called ReadWrite is already configured with all the OIDs.
The parameters are :
Allows you to create user groups and link them to views corresponding to a particular SNMP action. The parameters of a group are :
You can leave the default D-Link settings.
To create SNMP users, it is then possible to assign a community to these user(s). The parameters are :
The 'ReadOnly' user shown above is sufficient in Esia.
The firmware of the following switches is identical, so the tutorial is compatible: DGS-1250/1510/1520/3630/DXS-3400/DXS-3610
The configuration pages of interest are :
Tick the 'Enabled' box and then the 'Apply' button. Your Esia can now access the switch via SNMP via the 'public' community.
Your switch can now be monitored by Esia. The rest of this tutorial is useful if your switch is not configured by default or if you wish to make more detailed settings. In particular, it is advisable to change the name of the community (see below).
You can configure different views in your switch by adding rules. You need at least one rule to create a view and access defined OIDs. The rule parameters are :
As you can see from the screenshots below, by default, 2 views are offered 'restricted' and 'CommunityView'. These 2 views are both restricted in OIDs.
You can use the default view 'CommunityView'. This is restrictive with regard to OID 1.3.6.1.6.3 (snmpModules) but these OIDs are not used in Esia (and therefore not necessary).
If you still want to be able to access all the OIDs on these switches, you can either :
The parameters are :
You enter the view to be used directly in View Name. You do not have to go through a user and a user group as is the case for other D-LINK switches.
The 'public' community uses the 'CommunityView' view by default. By default, this view is restricted for oid 1.3.6.1.6.3 (snmpModules) which is not used by Esia. You can therefore use this community, but it is preferable to create a new community using this view.