###############################################################################
##
##  HP X Station Graphics Terminal.
## -- Sample snmpdrc (Snmp agent configuration) file
##
##  This file contains information about the configuration of the
##  HP X Station Snmp agents. Note that the syntax of this file has 
##  changed significantly from the syntax in previous snmpdrc files. 
##  The older syntax is still recognized but is obsolete. It is recommended 
##  that new snmpdrc files use the new syntax.
## 
## For parameters that effect all terminals the file 
## ${BASEPATH}/etc/snmpdrc should be used.
## 
## For parameters that effect only one terminal the file
## ${BASEPATH}/etc/<terminal_name>.snmpdrc should be used.
## 
## <terminal_name> is the name of the terminal as it appears on one of 
## the network config screens.
## 
## Lines starting with # are considered comments. Blank lines are ignored.
## 
## The value of certain specific variables can be set using the
## variable command. Use the following syntax with this command:
## 
## variable <variable name> <variable value>
## 
## The possible <variable name> and <variable value> pairs are:
## 
##   Variable Name          Variable values
## snmpEnableAuthenTraps	enable|disable
## EnableLinkTraps		enable|disable
## EnableEnterpriseTraps	enable|disable
## EnableColdstartTraps		enable|disable
## remoteResetEnable		enable|disable
## sysLocation		suitable string enclosed in quotes (")
## sysContact		suitable string enclosed in quotes (")
## sysName		suitable string enclosed in quotes (")
## 
## 
## Other configuration information is read in the form of tagged records:
## 
## 	<record tag>{ ... info ... }
## 
## <record tag> determines the type of information enclosed in the 
## braces ({}). The data inside the braces specifies a complete record 
## of this type. Newlines can appear in the record definition but the 
## opening brace ({) must immediately follow the <record tag> with no
## white space between them. 
##
## Elements of the definition are seperated by white space and new lines.
## 
## Valid record tags for the V1 agent are:
## 	community
## 	trap
## 
## Valid record tags for the V2 agent include those for the V1 agent and:
## 	party
## 	acl
## 	view
## 	context
## 
## 
## V1 Records.
## 
## A community record defines a V1 community string, associated network 
## management station, and the access rights allowed to this pair. 
## 
## community{ <community> <NMSaddress> <access> }
## 
## where,
## <community>:	is the community string.
## <NMSaddress>:is the network management system's (host) address. It 
## 		can be either an IP address in dotted decimal form or 
## 		it can be the host's name. If the address 0.0.0.0 is 
## 		used then any host can use this community.
## <access>:	is either the string "RONLY" (for read only access) or 
## 		"RWRITE" for read/write access.
## 
## 
## A trap record  defines the network management system to which traps will
## be sent and the community name to include in those traps.
## 
## trap{ <community> <NMSaddress> <trap type> }
## 
## where,
## <community>:	is the community string to be included in the trap.
## <NMSaddress>:is the network management system's (host) address. It 
## 		can be either an IP address in dotted decimal form or 
## 		it can be the host's name. The trap will be sent to this
## 		address.
## <trap type>:	is currently ignored.
## 
## 
## V2 Records.
## 
## To understand the configuration of the SNMP V2 agent you must understand
## the SNMP V2 administrative model defined in RFCs 1441 and 1445. You may
## also need to refer to the documentation for your Network Management
## software. 
## 
## Note that configuring an SNMP V2 agent is a nontrivial task. A full 
## configuration consists of several records (at least 2 parties, 1 context,
## 1 acl and 1 view). These must be consistant. Many of the records 
## are identified using Object IDentifiers (OIDs) in SNMP V2 protocol 
## messages. The configuration system uses indexes. These are numbers 
## which identify the particular record. They must be unique within 
## that type of record.
## 
## A party record defines the elements of an SNMP V2 party. For the elements
## of a party entry not present in this record the agent assumes a default 
## value.
## 
## The party includes the definition of both public and private key 
## values to be used with the authentication and privacy protocols
## used by this party. These can either be a string of two digit 
## hexadecimal numbers enclosed in quotes ("), "-" if no key is 
## required, or certain special keywords. No hexadecimal indicator 
## (for example a leading 0x, or $ or a trailing H) is needed for 
## the hexadecimal keys. 
## 
## The keys for the supported SNMP V2 authentication and privacy protocols
## are 128 bits long so keys for these protocols should be 16 two
## digit numbers long. 
## 
## If the key is the public authentication key for a SNMP V1 "party"
## then it should be the hexadecimal representation of the characters
## which make up the community string.
## 
## The terminal supports 2 locally configured secrets which can be used
## as key values. These secret values are entered in the config screens
## of an HP X Station and therefore need not pass over the network nor
## be available in a world readable file on a file server. They can be
## used as the secrets in a party definition by using the special keywords
## %SECRET1% and %SECRET2% 
## 
## Sample key values are:
## 
## "41 53 0c 7d bf 12 5e 87 22 39 62 45 98 B6 A5 9c"
## 	- a 128 bit key
## 
## "70 75 62 6c 69 63"
## 	- the community "public" expressed in hexadecimal
## 
## %SECRET1%
## 	- the special keyword which identifies the 1st locally
## 	configured secret value.
## 
## "-"
## 	- an empty or null secret value. This is used as place holder
## 	in the party definition when no key is needed.
## 
## party{
## <target party index> <subject party index> <context index>
## <privileges> <acl storage type> }
## 
## where,
## <target party index>: 
## 		is the index of the party which is the target of operations
##                 that use this ACL entry.
## 
## <subject party index>: 
## 		is the index of the party which is the initiator of operations
##                 that use this ACL entry.
## 
## <context index>:is the index of the context entry associated with this ACL
## 		entry.
## 
## <privileges>:	is the list of operations which this ACL entry allows.
## 		This field is a list of vertical bar (|) seperated 
## 		keywords. There must be no white space nor new lines in 
##		between keywords. Valid keywords are:
## 		Get
## 		GetNext
## 		Reponse
## 		Set
## 		SNMPv1Trap
## 		GetBulk
## 		Inform
## 		SNMPv2Trap
## 		
## 		This field may also be a decimal number which represents
## 		the ACL privileges as defined in RFC 1447
## 
## <acl storage type>:
## 		defines the type of storage used by the agent for this 
## 		entry. Currently only volatile and other are supported 
## 		by the HP X Station SNMP V2 agent.
## 
## 
## 
## A context record defines the elements of an SNMP V2 context entry.
## 
## context{
## <context id> <context index> <local> <view index> 
## <context storage type> }
## 
## where,
## <context id>:	an Object IDentifier (OID) used to identify this context
## 		in an SNMP V2 protocol message.
## 
## <context index>:a number used to identify this context entry. This must
## 		be uique among all contexts defined.
## 
## <local>:	defines whether this is a local or remote context. This
## 		field can be either "true" (if the context is a local
## 		context) or "false" (if the context is for a proxy agent).
## 		Note that the HP X Station SNMP agents do not support
## 		proxy agents.
## 
## <view index>:	the index of view entry associated with this context.
## 
## <context storage type>:
## 		defines the type of storage used by the agent for this 
## 		entry. Currently only volatile and other are supported 
## 		by the HP X Station SNMP V2 agent.
## 
## 
## A view record defines the elements of an SNMP V2 view entry.
## 
## view{
## <view index> <view subtree> <mask> <view type>
## <view storage type> }
## 
## where,
## <view index>:	a number used to identify this view entry. View indexes 
## 		are not unique to a view record. All view records with
## 		the same view index are used together to determine the
## 		view.
## 
## <view subtree>:	an Object IDentifier (OID) which is used as the base of 
## 		a branch of object space and whose access is controled 
## 
## <mask>:		a string of up to 16 hexadecimal numbers enclosed in
## 		quotes. If a null mask is required the string "-" is
## 		used. The meaning and use of the view mask is defined
## 		in RFCs 1446 and 1447.
## 
## <view type>:	defines whether this MIB branch should be included or 
## 		excluded. This field can be either "include" or "excluded".
## 
## <view storage type>:
## 		defines the type of storage used by the agent for this 
## 		entry. Currently only volatile and other are supported 
## 		by the HP X Station SNMP V2 agent.
## 
## 
############################################################################### 
## example configurations:
## 
# variable sysLocation "Bldng 46 pillar A6"
## 
## - sets the sysLocation string to the string "Bldng 46 pillar A6"
## 
# variable remoteResetEnable enable
## 
## - enables remote resets using the older HP X Station MIB.
## 
# variable EnableColdstartTraps enable
## 
## - enables the transmission of cold start traps.
## 
# community{ public 0.0.0.0 RONLY }
## 
## - configures the community "public" which can be used by any Network 
##   Manager and has read only access.
## 
# community{ hpxtPrivate nmssub3 RWRITE }
## 
## - configures the community "hpxtPrivate" can be used by the host 
##   nmssub3 and has read/write access
## 
# community{ testcomm 192.81.146.1 RWRITE }
## 
## - configures the community testcomm can be used by the host 
##   192.81.146.1 and has read/write access
## 
# trap{ XTtraps 192.81.146.1 coldStart }
## 
## - V1 traps will be sent to the host 192.81.146.1 with the community
##   XTtraps. (Note that all V1 traps will be sent to this host.)
## 
# trap{ hpxtPrivate nmssub3 AuthenTraps }
## 
## - V1 traps will be sent to the host nmssub3 with the community 
##   hpxtPrivate.
## 
############################################################################## 
## example V1 config using V2 records:
## 
# party{
# initialPartyId.192.81.146.2.1 1 rfc1157Domain 0.0.0.0 162 484 true
# noAuth 0 - "70 75 62 6c 69 63" 0 noPriv - - other 
# }
## 
# acl{
# 1 1 1 Get|GetNext other }
## 
# context{
# initialContextId.192.81.146.2.1 1 true 1 other }
## 
# view{
# 1 internet - included other }
## 
## - configures a V1 party with the community public and read only access
##   Note that this community can be used by any network manager
## 
##############################################################################
## example V2 readonly config:
## 
# party{
# initialPartyId.192.81.146.77.2 2 snmpUDPDomain 192.81.146.77 162 1458 true
# noAuth 0 - - 100
# noPriv - - 
# other }
## 
# party{
# initialPartyId.192.81.146.1.3 3 snmpUDPDomain 192.81.146.1 162 1458 false
# noAuth 0 - - 100 
# noPriv - - 
# other }
## 
# acl{
# 2 3 2 Get|GetNext|GetBulk other }
##
# acl{
# 3 2 2 Response other }
## 
# context{
# initialContextId.192.81.81.1.2 2 true 2 
# other }
##
# context{
# initialContextId.192.81.81.1.3 3 true 2 
# other }
## 
# view{
# 2 hpxtMIB - included 
# other }
# 
# view{
# 2 hpxtConfigPassword - excluded 
# other }
## 
## - defines a pair of V2 parties, a context, the read only ACLs which tie 
##   them together and 2 associated views. The views give access to the 
##   HP X Station MIB and except for the config password entry.
## 
## 
############################################################################## 
## example V2 trap config:
##
# party{
# initialPartyId.15.4.1.21.4 4 snmpUDPDomain hppadrd1 162 1458 true
# noAuth 0 - - 100
# noPriv - - 
# other }
## 
# party{
# initialPartyId.15.4.2.40.5 5 snmpUDPDomain hppadan 162 1458 false
# noAuth 0 - - 100 
# noPriv - - 
# other }
## 
# acl{
# 5 4 4 SNMPv1Trap|SNMPv2Trap other }
## 
# context{
# initialContextId.15.4.2.40.4 4 true 3 
# other }
## 
# view{
# 3 snmpTrap - included 
# other }
##
# view{
# 3 hpxtTraps - included 
# other }
##
## - configures the parties, context, acl, and view needed to have
##   the HP X Station proprietary traps sent from the X terminal hppadrd1
##   to the host hppadan
##   Note that snmpTrap must be included in the view for any parties
##   used to send any V2 traps.

