EasyManua.ls Logo

Tripp Lite B092-016 - Etc;Config;Snmpd.conf

Tripp Lite B092-016
257 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
217
Chapter 15: Advanced Configuration
noauth
snmpwalk -Oa –v3 –l noAuthNoPriv –u readonlyusername -M .:/usr/share/snmp/mibs b095 STATUS-MIB::Status
auth
snmpwalk -Oa –v3 –l authNoPriv –u readonlyusername –a SHA –A “authpassword” -M .:/usr/share/snmp/mibs b095 STATUS-
MIB::ogStatus
priv
snmpwalk -Oa –v3 –l authNoPriv –u readonlyusername –a SHA –A “authpassword” –x DES –X “privpassword” -M .:/usr/share/
snmp/mibs b095 STATUS-MIB::ogStatus
-l SecurityLevel
-u SecurityNameorReadOnlyUsername
-a AuthenticationProtocol–SHAorMD5
-A AuthenticationPassword
-x PrivacyProtocol–DESorAES
-X PrivacyPassword
A mib browser may be used to explore the enterprise MIB structure.
15.5.4 /etc/config/snmpd.conf
The net-snmpdisanextensibleSNMPwhichincludesbuilt-insupportforawiderangeofMIBinformationmodules,andcan
beextendedusingdynamicallyloadedmodules,externalscriptsandcommands.snmpd when enabled should run with a
default configuration. Its behavior can be customized via the options in /etc/config/snmpd.conf.
Note:IftheSNMPServiceisenabledthroughtheWebBasedManagementConsolethiscongurationlewillbeoveridden
and you will lose any customization.
Changingstandardsysteminformationsuchassystemcontact,nameandlocationcanbeachievedbyediting
/etc/config/snmpd.conf file and locating the following lines:
sysdescr "tripplite"
syscontact root <root@localhost>(configure /etc/default/snmpd.conf)
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exibletocompletelycoverhere.Thecongurationleitselfis
commentedextensivelyandgooddocumentationisavailableatthenet-snmpwebsitehttp://www.net-snmp.org,specically:
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

Table of Contents