node-opcua-vendor-diagnostic 2.98.0 → 2.98.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export * from "./vendor_diagnostic_nodes";
package/dist/index.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./vendor_diagnostic_nodes"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ *
3
+ * optionally install a CPU Usage and Memory Usage node
4
+ * ( condition : running on linux and require("usage")
5
+ * @method install_optional_cpu_and_memory_usage_node
6
+ * @param server {OPCUAServer}
7
+ *
8
+ */
9
+ export declare function install_optional_cpu_and_memory_usage_node(server: any): void;
@@ -0,0 +1,245 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.install_optional_cpu_and_memory_usage_node = void 0;
4
+ /* istanbul ignore file */
5
+ // tslint:disable:no-console
6
+ const os = require("os");
7
+ const node_opcua_assert_1 = require("node-opcua-assert");
8
+ const node_opcua_constants_1 = require("node-opcua-constants");
9
+ const node_opcua_server_1 = require("node-opcua-server");
10
+ const node_opcua_status_code_1 = require("node-opcua-status-code");
11
+ const node_opcua_variant_1 = require("node-opcua-variant");
12
+ // tslint:disable:no-var-requires
13
+ const humanize = require("humanize");
14
+ /**
15
+ * @method addVariableWithHumanizeText
16
+ * @param namespace
17
+ * @param options
18
+ * @param options.browseName
19
+ * @private
20
+ */
21
+ function addVariableWithHumanizeText(namespace, options) {
22
+ (0, node_opcua_assert_1.assert)(options.componentOf || options.organizedBy);
23
+ (0, node_opcua_assert_1.assert)(typeof options.description === "string");
24
+ const variable = namespace.addVariable(options);
25
+ // add the xxxAsText property
26
+ namespace.addVariable({
27
+ propertyOf: variable,
28
+ browseName: options.browseName.name.toString() + "AsText",
29
+ dataType: "String",
30
+ description: options.description + " as text",
31
+ minimumSamplingInterval: options.minimumSamplingInterval,
32
+ value: {
33
+ get() {
34
+ const v = options.value.get();
35
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.String, value: humanize.filesize(v.value) });
36
+ }
37
+ }
38
+ });
39
+ }
40
+ /**
41
+ *
42
+ * optionally install a CPU Usage and Memory Usage node
43
+ * ( condition : running on linux and require("usage")
44
+ * @method install_optional_cpu_and_memory_usage_node
45
+ * @param server {OPCUAServer}
46
+ *
47
+ */
48
+ function install_optional_cpu_and_memory_usage_node(server) {
49
+ const engine = server.engine;
50
+ (0, node_opcua_assert_1.assert)(engine instanceof node_opcua_server_1.ServerEngine);
51
+ let usage;
52
+ try {
53
+ const usage_module = "usage"; // we use a variable here to prevent error in webpack
54
+ usage = require(usage_module); // a warning will be generated here with webpack as the module name is not a litteral
55
+ }
56
+ catch (err) {
57
+ if (err instanceof Error) {
58
+ console.log("err", err.message);
59
+ }
60
+ usage = null;
61
+ // xx return;
62
+ }
63
+ const addressSpace = engine.addressSpace;
64
+ const namespace = addressSpace.getOwnNamespace();
65
+ const vendorServerInfo = addressSpace.findNode(node_opcua_constants_1.ObjectIds.Server_VendorServerInfo);
66
+ let usage_result = { memory: 0, cpu: 100 };
67
+ const pid = typeof process === "object" ? process.pid || 0 : 0;
68
+ if (usage) {
69
+ const options = { keepHistory: true };
70
+ setInterval(() => {
71
+ usage.lookup(pid, options, (err, result) => {
72
+ usage_result = result;
73
+ console.log("result Used Memory: ", humanize.filesize(result.memory), " CPU ", Math.round(result.cpu), " %");
74
+ if (err) {
75
+ console.log("err ", err);
76
+ }
77
+ });
78
+ }, 1000);
79
+ namespace.addVariable({
80
+ componentOf: vendorServerInfo,
81
+ browseName: "CPUUsage",
82
+ dataType: node_opcua_variant_1.DataType.Double,
83
+ description: "Current CPU usage of the server process",
84
+ minimumSamplingInterval: 1000,
85
+ nodeId: "s=CPUUsage",
86
+ value: {
87
+ get: () => {
88
+ if (!usage_result) {
89
+ return node_opcua_status_code_1.StatusCodes.BadResourceUnavailable;
90
+ }
91
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.Double, value: Math.round(usage_result.cpu) });
92
+ }
93
+ }
94
+ });
95
+ addVariableWithHumanizeText(namespace, {
96
+ componentOf: vendorServerInfo,
97
+ browseName: "MemoryUsage",
98
+ dataType: node_opcua_variant_1.DataType.UInt32,
99
+ description: "Current memory usage of the server process",
100
+ minimumSamplingInterval: 1000,
101
+ nodeId: "s=MemoryUsage",
102
+ value: {
103
+ get: () => {
104
+ if (!usage_result) {
105
+ return node_opcua_status_code_1.StatusCodes.BadResourceUnavailable;
106
+ }
107
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.UInt32, value: usage_result.memory });
108
+ }
109
+ }
110
+ });
111
+ }
112
+ else {
113
+ console.log("skipping installation of cpu_usage and memory_usage nodes");
114
+ }
115
+ namespace.addVariable({
116
+ componentOf: vendorServerInfo,
117
+ browseName: "PercentageMemoryUsed",
118
+ dataType: node_opcua_variant_1.DataType.Double,
119
+ description: "% of memory used by the server",
120
+ minimumSamplingInterval: 1000,
121
+ nodeId: "s=PercentageMemoryUsed",
122
+ value: {
123
+ get() {
124
+ const percent_used = Math.round(((os.totalmem() - os.freemem()) / os.totalmem()) * 100);
125
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.Double, value: percent_used });
126
+ }
127
+ }
128
+ });
129
+ addVariableWithHumanizeText(namespace, {
130
+ componentOf: vendorServerInfo,
131
+ accessLevel: "CurrentRead",
132
+ browseName: "SystemMemoryTotal",
133
+ dataType: node_opcua_variant_1.DataType.UInt64,
134
+ description: "Total Memory usage of the server",
135
+ minimumSamplingInterval: 1000,
136
+ nodeId: "s=SystemMemoryTotal",
137
+ value: {
138
+ get() {
139
+ const memory = os.totalmem();
140
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.UInt64, value: memory });
141
+ }
142
+ }
143
+ });
144
+ addVariableWithHumanizeText(namespace, {
145
+ componentOf: vendorServerInfo,
146
+ accessLevel: "CurrentRead",
147
+ browseName: "SystemMemoryFree",
148
+ dataType: "UInt64",
149
+ description: "Free Memory usage of the server in MB",
150
+ minimumSamplingInterval: 1000,
151
+ nodeId: "s=SystemMemoryFree",
152
+ value: {
153
+ get() {
154
+ const memory = os.freemem();
155
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.UInt64, value: memory });
156
+ }
157
+ }
158
+ });
159
+ namespace.addVariable({
160
+ componentOf: vendorServerInfo,
161
+ accessLevel: "CurrentRead",
162
+ browseName: "NumberOfCPUs",
163
+ dataType: "UInt32",
164
+ description: "Number of cpus on the server",
165
+ minimumSamplingInterval: 1000,
166
+ nodeId: "s=NumberOfCPUs",
167
+ value: {
168
+ get() {
169
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.UInt32, value: os.cpus().length });
170
+ }
171
+ }
172
+ });
173
+ namespace.addVariable({
174
+ componentOf: vendorServerInfo,
175
+ accessLevel: "CurrentRead",
176
+ browseName: "Arch",
177
+ dataType: "String",
178
+ description: "ServerArchitecture",
179
+ minimumSamplingInterval: 1000,
180
+ nodeId: "s=ServerArchitecture",
181
+ value: {
182
+ get() {
183
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.String, value: os.type() });
184
+ }
185
+ }
186
+ });
187
+ addVariableWithHumanizeText(namespace, {
188
+ componentOf: vendorServerInfo,
189
+ accessLevel: "CurrentRead",
190
+ browseName: "BytesWritten",
191
+ dataType: "UInt64",
192
+ description: "number of bytes written by the server",
193
+ minimumSamplingInterval: 1000,
194
+ nodeId: "s=BytesWritten",
195
+ value: {
196
+ get() {
197
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.UInt64, value: server.bytesWritten });
198
+ }
199
+ }
200
+ });
201
+ addVariableWithHumanizeText(namespace, {
202
+ componentOf: vendorServerInfo,
203
+ accessLevel: "CurrentRead",
204
+ browseName: "BytesRead",
205
+ dataType: "UInt64",
206
+ description: "number of bytes read by the server",
207
+ minimumSamplingInterval: 1000,
208
+ nodeId: "s=BytesRead",
209
+ value: {
210
+ get() {
211
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.UInt64, value: server.bytesRead });
212
+ }
213
+ }
214
+ });
215
+ namespace.addVariable({
216
+ componentOf: vendorServerInfo,
217
+ accessLevel: "CurrentRead",
218
+ browseName: "TransactionsCount",
219
+ dataType: "UInt32",
220
+ description: "total number of transactions performed the server",
221
+ minimumSamplingInterval: 1000,
222
+ nodeId: "s=TransactionsCount",
223
+ value: {
224
+ get() {
225
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.UInt32, value: server.transactionsCount });
226
+ }
227
+ }
228
+ });
229
+ namespace.addVariable({
230
+ componentOf: vendorServerInfo,
231
+ accessLevel: "CurrentRead",
232
+ browseName: "ConnectionsCount",
233
+ dataType: "String",
234
+ description: "number of active Connections",
235
+ minimumSamplingInterval: 1000,
236
+ nodeId: "s=ConnectionCount",
237
+ value: {
238
+ get() {
239
+ return new node_opcua_variant_1.Variant({ dataType: node_opcua_variant_1.DataType.String, value: humanize.filesize(server.currentChannelCount) });
240
+ }
241
+ }
242
+ });
243
+ }
244
+ exports.install_optional_cpu_and_memory_usage_node = install_optional_cpu_and_memory_usage_node;
245
+ //# sourceMappingURL=vendor_diagnostic_nodes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vendor_diagnostic_nodes.js","sourceRoot":"","sources":["../source/vendor_diagnostic_nodes.ts"],"names":[],"mappings":";;;AAAA,0BAA0B;AAC1B,4BAA4B;AAC5B,yBAAyB;AAGzB,yDAA2C;AAC3C,+DAAiD;AACjD,yDAAiD;AACjD,mEAAqD;AACrD,2DAAuD;AACvD,iCAAiC;AACjC,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAErC;;;;;;GAMG;AACH,SAAS,2BAA2B,CAAC,SAAoB,EAAE,OAAY;IACnE,IAAA,0BAAM,EAAC,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;IACnD,IAAA,0BAAM,EAAC,OAAO,OAAO,CAAC,WAAW,KAAK,QAAQ,CAAC,CAAC;IAEhD,MAAM,QAAQ,GAAG,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAChD,6BAA6B;IAC7B,SAAS,CAAC,WAAW,CAAC;QAClB,UAAU,EAAE,QAAQ;QAEpB,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,QAAQ;QACzD,QAAQ,EAAE,QAAQ;QAClB,WAAW,EAAE,OAAO,CAAC,WAAW,GAAG,UAAU;QAC7C,uBAAuB,EAAE,OAAO,CAAC,uBAAuB;QACxD,KAAK,EAAE;YACH,GAAG;gBACC,MAAM,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;gBAC9B,OAAO,IAAI,4BAAO,CAAC,EAAE,QAAQ,EAAE,6BAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,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,CAAC,CAAC;YACvF,CAAC;SACJ;KACJ,CAAC,CAAC;IAEH,SAAS,CAAC,WAAW,CAAC;QAClB,WAAW,EAAE,gBAAgB;QAE7B,WAAW,EAAE,aAAa;QAC1B,UAAU,EAAE,kBAAkB;QAC9B,QAAQ,EAAE,QAAQ;QAClB,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,IAAI;QAC7B,MAAM,EAAE,mBAAmB;QAC3B,KAAK,EAAE;YACH,GAAG;gBACC,OAAO,IAAI,4BAAO,CAAC,EAAE,QAAQ,EAAE,6BAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC;YAC5G,CAAC;SACJ;KACJ,CAAC,CAAC;AACP,CAAC;AA/ND,gGA+NC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "node-opcua-vendor-diagnostic",
3
- "version": "2.98.0",
4
- "description": "pure nodejs OPCUA SDK - module -vendor-diagnostic",
3
+ "version": "2.98.2",
4
+ "description": "pure nodejs OPCUA SDK - module vendor-diagnostic",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "scripts": {
@@ -11,12 +11,12 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "humanize": "0.0.9",
14
- "node-opcua-address-space": "2.98.0",
15
- "node-opcua-assert": "2.88.0",
16
- "node-opcua-constants": "2.88.0",
17
- "node-opcua-server": "2.98.0",
18
- "node-opcua-status-code": "2.98.0",
19
- "node-opcua-variant": "2.98.0"
14
+ "node-opcua-address-space": "2.98.2",
15
+ "node-opcua-assert": "2.98.1",
16
+ "node-opcua-constants": "2.98.1",
17
+ "node-opcua-server": "2.98.2",
18
+ "node-opcua-status-code": "2.98.1",
19
+ "node-opcua-variant": "2.98.1"
20
20
  },
21
21
  "author": "Etienne Rossignon",
22
22
  "license": "MIT",
@@ -33,5 +33,9 @@
33
33
  "internet of things"
34
34
  ],
35
35
  "homepage": "http://node-opcua.github.io/",
36
- "gitHead": "07dcdd8e8c7f2b55544c6e23023093e35674829c"
36
+ "gitHead": "6df8aa25475ba1235e585566cb2dec68b7e7a85f",
37
+ "files": [
38
+ "dist",
39
+ "source"
40
+ ]
37
41
  }