This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
snmp-config.yml.sample
84 lines (62 loc) · 2.38 KB
/
snmp-config.yml.sample
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
integrations:
- name: nri-snmp
env:
COLLECTION_FILES: /etc/newrelic-infra/integrations.d/snmp-metrics.yml
COMMUNITY: public
METRICS: "true"
SNMP_HOST: localhost
SNMP_PORT: "161"
# The number of seconds to wait before a request times out
TIMEOUT: 10
# The number of attempts to fetch metrics
RETRIES: 0
# if true doubles timeout in each retry
EXPONENTIAL_TIMEOUT: "false"
# if true uses SNMP Version 3
V3: "false"
# For V3 only. Set the security level. Valid values are noAuthnoPriv, authNoPriv or authPriv
# SECURITY_LEVEL:
# For V3 only. The security name that identifies the SNMPv3 user
# USERNAME:
# For V3 only. The algorithm used for SNMPv3 authentication. Valid values are SHA or MD5
# AUTH_PROTOCOL: "SHA"
# For V3 only. The password used to generate the key used for SNMPv3 authentication
# AUTH_PASSPHRASE:
# For V3 only. The algorithm used for SNMPv3 message integrity. Valid values are "AES" or "DES"
# PRIV_PROTOCOL: "AES"
# For V3 only. The password used to generate the key used to verify SNMPv3 message integrity
# PRIV_PASSPHRASE:
interval: 30s
labels:
key1: <LABEL_VALUE>
- name: nri-snmp
env:
COLLECTION_FILES: /etc/newrelic-infra/integrations.d/snmp-metrics.yml
COMMUNITY: public
INVENTORY: "true"
SNMP_HOST: localhost
SNMP_PORT: "161"
# The number of seconds to wait before a request times out
TIMEOUT: 10
# The number of attempts to fetch metrics
RETRIES: 0
# if true doubles timeout in each retry
EXPONENTIAL_TIMEOUT: "false"
# if true uses SNMP Version 3
V3: "false"
# For V3 only. Set the security level. Valid values are noAuthnoPriv, authNoPriv or authPriv
# SECURITY_LEVEL:
# For V3 only. The security name that identifies the SNMPv3 user
# USERNAME:
# For V3 only. The algorithm used for SNMPv3 authentication. Valid values are SHA or MD5
# AUTH_PROTOCOL: "SHA"
# For V3 only. The password used to generate the key used for SNMPv3 authentication
# AUTH_PASSPHRASE:
# For V3 only. The algorithm used for SNMPv3 message integrity. Valid values are "AES" or "DES"
# PRIV_PROTOCOL: "AES"
# For V3 only. The password used to generate the key used to verify SNMPv3 message integrity
# PRIV_PASSPHRASE:
interval: 30s
labels:
key1: <LABEL_VALUE>
inventory_source: config/snmp