Black Box LES1248A-R2, LES1332A, LES1408A, LES144BA, LES1416A Adding more than one Snmp server

Models: LES1116A LES110BA LES1308A LES1348A LES144BA Value-Line and Advanced Console Servers LES114BA LES1432A LES1332A LES1316A LES1416A LES1208A-R2 LES1132A LES1216A-R2 LES1232A LES1248A-R2 LES1408A

1 286
Download 286 pages 6.23 Kb
Page 250
Image 250

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

Page 250
Image 250
Black Box LES1248A-R2, LES1332A, LES1408A, LES144BA, LES1416A, LES1348A, LES1432A, LES1316A Adding more than one Snmp server