This file is indexed.

/etc/yate/ysnmpagent.conf is in yate-core 5.4.0-1-1ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[general]
; general SNMP configuration

; local address to bind the listener to, default is 0.0.0.0 (all interfaces)
;addr=0.0.0.0

; port on which the module listens for SNMP messages. Defaults to 161.
;port=161

;thread priority for SNMP message processing. Defaults to normal.
;thread=normal

; Version string reported by SNMP, can contain Engine substitutions
; You may consider adding ${release} or ${revision}
;version=${version}


[snmp_v2]
; SNMPv2 configuration

; read only access community string. Mandatory.
ro_community=
; read write access community string. Mandatory.
rw_community=
; read create access community string.
rc_community=


[snmp_v3]
; SNMPv3 configuration

; format for generating the snmpEngineID
; values are
;	1 		= IPv4 address format,
;	2		= IPv6 address format,
;	3		= MAC address format,
;	4		= TEXT format,
;	5		= OCTETS format,
;	128 		= ENTERPRISE specific format
; Defaults to 4 (TEXT)
;engine_format=4

; information for generating the snmpEngineID.
; Must correspond to the format set (i.e. if engine_format=1, engine_info must be a IPv4 address)
; If the format is TEXT (4) the default is the node name
; NOTE! IPv6 address must not use the IPv6 short format. Mandatory.
; NOTE! OCTETS format must be a hexified string
engine_info=


[traps]
; SNMP traps configuration

;enable or disable all_notifications. Defaults to true.
;enable_traps=true

; list traps to disable. Must be separated by ','.
; An entire substree of traps can be disabled by ending the name of the trap with ".*"
; (e.g. disable the whole database status traps by adding database.*)
disable_traps=

; IP address to which the traps are sent. Defaults to localhost.
;remote_ip=localhost

; port for the remote IP. Defaults to 162.
;remote_port=162

;SNMP protocol version to use for sending traps (values are SNMPv2c or SNMPv3). Defaults to SNMPv2c.
;proto_version=SNMPv2c

; if SNMPv2 is used, set the community string used for the remote SNMP entity. Mandatory if SNMPv2c traps are used.
community=

; if SNMPv3 is used, specify which configured user should be used for sending traps (there must be a section named like the given value to trap_user)
; see the example bellow (section [userV3]) for configuring a SNMPv3 user
; the specified user will not allowed to interrogate this SNMP agent, it will only be used to send traps to the configured traps receiver
;trap_user=


;[userV3]
; Configure a section for a SNMPv3 user. The name of the user is the name of the section.
; To allow SNMPv3 interrogation, at least one SNMPv3 user must be configured

; authentication pass phrase. If it is not set, authentication will not be required
;auth_password=

; authentication method ( MD5 | SHA1 ) in case it is used.
;auth_protocol=MD5

; privacy pass phrase. If it is not set, encryption will not be required
;priv_password=

; privacy encryption method ( DES | AES). Default is DES.
;priv_protocol=DES

; user access level. Mandatory. Acceptable values are: readonly, readwrite, readcreate.
;access=