Black Box LES144BA Server User Manual


 
sysname Not defined (edit /etc/default/snmpd.conf)
syslocation Not defined (edit /etc/default/snmpd.conf)
Simply change the values of sysdescr, syscontact, sysname and syslocation to the desired settings and
restart snmpd.
The snmpd.conf provides is extremely powerful and too flexible to completely cover here. The
configuration file itself is commented extensively and good documentation is available at the net-snmp
website http://www.net-snmp.org, specifically:
Man Page:
http://www.net-snmp.org/docs/man/snmpd.conf.html
FAQ:
http://www.net-snmp.org/docs/FAQ.html
Net-SNMPD Tutorial:
http://www.net-snmp.org/tutorial/tutorial-5/demon/snmpd.html
15.5.2 Adding more than one SNMP server
To add more than one SNMP server for alert traps add the first SNMP server using the Management
Console (refer Chapter 7) or the command line config tool. Secondary and any further SNMP servers are
added manually using config.
Log in to the console server’s command line shell as root or an admin user. Refer back to the
Management Console UI or user documentation for descriptions of each field.
To set the Manager Protocol field:
config --set config.system.snmp.protocol2=UDP or
config --set config.system.snmp.protocol2=TCP
To set the Manager Address field:
config --set config.system.snmp.address2=w.x.y.z
.. replacing w.x.y.z with the IP address or DNS name.
To set the Manager Trap Port field
config --set config.system.snmp.trapport2=162
.. replacing 162 with the TCP/UDP port number
To set the Version field
config --set config.system.snmp.version2=1 or
config --set config.system.snmp.version2=2c or
config --set config.system.snmp.version2=3
To set the Community field (SNMP version 1 and 2c only)
config --set config.system.snmp.community2=yourcommunityname
.. replacing yourcommunityname with the community name
To set the Engine ID field (SNMP version 3 only)
config --set config.system.snmp.engineid2=800000020109840301
.. replacing 800000020109840301 with the engine ID
To set the Username field (SNMP version 3 only)
config --set config.system.snmp.username2=yourusername
_____________________________________________________________________
724-746-5500 | blackbox.com Page 250