@cryptotaxi247 / netdata-1 / commits / d791fd57c

SNMP: chrysalis profiles (#20557)

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

Fotis Voutsas committed Jun 29, 2025 at 22:42 UTC d791fd57c4c71cbc30f0b258d6dba039352acdc1
2 files changed +42 -32
src/go/plugin/go.d/config/go.d/snmp.profiles/default/chrysalis-luna-hsm.yaml
+41 -31
@@ -9,61 +9,71 @@ metrics:
9 symbol:
10 OID: 1.3.6.1.4.1.12383.3.1.1.1.0
11 name: hsmOperationRequests
12 - description: Number of operation requests
13 - unit: "{request}"
12 + description: Number of operations
13 + family: HSM/Operation/Request/Total
14 + unit: "{operation}"
15 - MIB: CHRYSALIS-UTSP-MIB
16 symbol:
17 OID: 1.3.6.1.4.1.12383.3.1.1.2.0
18 name: hsmOperationErrors
18 - description: Number of operation errors
19 - unit: "{error}"
19 + description: Number of operation errors
20 + family: HSM/Operation/Error/Total
21 + unit: "{error}"
22 + # - MIB: CHRYSALIS-UTSP-MIB
23 + # symbol:
24 + # OID: 1.3.6.1.4.1.12383.3.1.1.3.0
25 + # name: hsmCriticalEvents
26 + # description: Number of critical events
27 + # unit: "{event}"
28 + # - MIB: CHRYSALIS-UTSP-MIB
29 + # symbol:
30 + # OID: 1.3.6.1.4.1.12383.3.1.1.4.0
31 + # name: hsmNonCriticalEvents
32 + # description: Number of non critical events
33 + # unit: "{event}"
34 + # https://thalesdocs.com/gphsm/luna/7/docs/network/Content/monitoring/snmp/snmp_safenet-chrysalis-UTSP-mib.htm says these two are not implemented on the latest version
35 - MIB: CHRYSALIS-UTSP-MIB
36 symbol:
22 - OID: 1.3.6.1.4.1.12383.3.1.1.3.0
23 - name: hsmCriticalEvents
24 - description: Number of critical events
25 - unit: "{event}"
26 - - MIB: CHRYSALIS-UTSP-MIB
27 - symbol:
28 - OID: 1.3.6.1.4.1.12383.3.1.1.4.0
29 - name: hsmNonCriticalEvents
30 - description: Number of non critical events
31 - unit: "{event}"
32 -# TODO: enum in scalar metric is not supported yet (keep this metric and this comment in profile until it's fixed)
33 -# - MIB: CHRYSALIS-UTSP-MIB
34 -# symbol:
35 -# OID: 1.3.6.1.4.1.12383.3.1.2.1.0
36 -# name: ntlsOperStatus
37 -# enum:
38 -# up: 1
39 -# down: 2
40 -# unknown: 3
37 + OID: 1.3.6.1.4.1.12383.3.1.2.1.0
38 + name: ntlsOperStatus
39 + description: Current operational status of the NTL service
40 + family: HSM/NTLS/Operational/Status
41 + unit: "{status}"
42 + mapping:
43 + 1: up
44 + 2: down
45 + 3: unknown
46 - MIB: CHRYSALIS-UTSP-MIB
47 symbol:
48 OID: 1.3.6.1.4.1.12383.3.1.2.2.0
49 name: ntlsConnectedClients
45 - description: Number of connected clients
46 - unit: "{client}"
50 + description: The current number of connected clients using NTLS
51 + family: HSM/NTLS/Client/Connected
52 + unit: "{client}"
53 - MIB: CHRYSALIS-UTSP-MIB
54 symbol:
55 OID: 1.3.6.1.4.1.12383.3.1.2.3.0
56 name: ntlsLinks
51 - description: Number of links
52 - unit: "{link}"
57 + description: The current number of links in NTLS
58 + family: HSM/NTLS/Link/Active
59 + unit: "{link}"
60 - MIB: CHRYSALIS-UTSP-MIB
61 symbol:
62 OID: 1.3.6.1.4.1.12383.3.1.2.4.0
63 name: ntlsSuccessfulClientConnections
57 - description: Number of successful client connections
58 - unit: "{connection}"
64 + description: The total number of successful client connections
65 + family: HSM/NTLS/Connection/Successful
66 + unit: "{connection}/s"
67 - MIB: CHRYSALIS-UTSP-MIB
68 symbol:
69 OID: 1.3.6.1.4.1.12383.3.1.2.5.0
70 name: ntlsFailedClientConnections
63 - description: Number of failed client connections
64 - unit: "{connection}"
71 + description: The total number of unsuccessful client connections
72 + family: HSM/NTLS/Connection/Failed
73 + unit: "{connection}/s"
74 # TODO: sending tags for scalar metric is not supported yet (keep this metric and this)
75 # - MIB: CHRYSALIS-UTSP-MIB
76 # OID: 1.3.6.1.4.1.12383.3.1.2.6.0
77 # symbol: ntlsCertExpireDay
78 # tag: ntls_cert_expire_day
79 +# TODO can't find this, maybe remove
src/go/plugin/go.d/config/go.d/snmp.profiles/default/chrysalis.yaml
+1 -1
@@ -5,4 +5,4 @@ metadata:
5 device:
6 fields:
7 vendor:
8 - value: "chrysalis"
8 + value: "Chrysalis"