SNMP Agent Snmpd.conf File

From Control Solutions IoTServer Documentation
Revision as of 15:50, 22 April 2019 by Jimhogenson (talk | contribs)
Jump to navigation Jump to search

Snmp agent snmpd conf 1.jpg

The SNMP engine that responds to external SNMP manager's Get and Set requests requires a configuration file named snmpd.conf to direct its functionality, primarily in terms of authorization. This page allows automated generation of that file, but with the option to manually edit it.

The SNMP engine in this IoTServer is the widely used open source Net-SNMP package. If you are concerned about manually editing the snmpd.conf file, simple search the Internet for Net-SNMP documentation - there is much to be found.

Snmp agent snmpd conf 2.jpg

The port on which SNMP listens for Get/Set requests defaults to the standard port 161. You may change it here if you wish.

Snmp agent snmpd conf 3.jpg

All SNMP devices have a set of system parameters that are universally available, and these describe the system. Enter your personalized system information here.

Snmp agent snmpd conf 4.jpg

Authorization for access in SNMPv1 and SNMPv2 is very simply. You only need to match the community names which are treated sort of like a password. If using SNMP v1 or v2 (v2c), enter your community strings here.

Snmp agent snmpd conf 5.jpg

Click the Generate Config button to auto-generate an snmpd.conf file. Parameters included in the file will be taken from two places: (1) The entries showing above on this page. (2) User settings from the System -> Users page (if SNMPv3).

SNMPv3 enforces access only by known users. These users may be a person or may be anther machine, but must be defined as a "user" either way. To permit SNMPv3 access, go to the System -> Users page and create a "user" for each person or machine that will access the MIB in this IoTServer. Once the users are created, and they have been selected for SNMPv3 access, they will be automatically included in the snmpd.conf file generated here.

Snmp agent snmpd conf 6.jpg

Snmp agent snmpd conf 7.jpg