You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.html
+59-94Lines changed: 59 additions & 94 deletions
Original file line number
Diff line number
Diff line change
@@ -21,44 +21,28 @@
21
21
<h1id="title">Docker ZenPack</h1>
22
22
<p>This ZenPack provides support for monitoring <ahref="https://www.docker.com/">Docker</a> and <ahref="https://podman.io">Podman</a> containers running on Linux devices.</p>
23
23
24
-
<p>Docker versions through 20.10.2 and Podman versions through 3.4.2 are known to be supported in Docker ZenPack as of March, 2022.</p>
24
+
<p>Docker versions through 28.4.0 and Podman versions through 4.9.4 are known to be supported in Docker ZenPack as of February, 2026.</p>
<p>When zDockerMonitorContainerStats or zPodmanMonitorContainerStats is enabled, the statistics of each Docker/Podman container will be collected once every five minutes by running the following commands.</p>
<p>These three commands capture the cgroup CPU, memory, and IO usage respectively. They will work regardless of whether the cgroupfs or systemd driver are used.</p>
283
+
<p>These three commands capture the docker stats and podman stats CPU, memory, and IO usage. They will work regardless of whether the cgroupfs or systemd driver are used.</p>
284
+
<p><strong>Note</strong>: You can use zContainerCommandUser property to specify the user to run the commands as. By default, the commands are run as the root user. For non-root users, monitoring is only available for OSs with cgroup v2.</p>
301
285
302
286
<p>The following datapoints are parsed from the results of these commands.</p>
303
287
304
288
<dl>
305
-
<dt>cpuacct_usage</dt>
306
-
<dd><b>Description</b>: Total usage include user and system time.</dd>
307
-
<dd><b>Provenance</b>: Value of cpuacct.usage for container divided by number of CPUs found in cpuacct.usage_percpu, divided by 10,000,000 to convert from nanoseconds to centiseconds. Presented as a rate.</dd>
308
-
<dd><b>Units</b>: ticks per second (works out to a 0-100/sec rate)</dd>
309
-
<dd><b>Aliases</b>: cpu__ticks</dd>
289
+
<dt>CPUPerc</dt>
290
+
<dd><b>Description</b>: CPU usage percentage.</dd>
291
+
<dd><b>Provenance</b>: Value of CPUPerc for container.</dd>
292
+
<dd><b>Units</b>: percentage</dd>
310
293
</dl>
311
294
312
295
<dl>
313
-
<dt>cpuacct_usage_user</dt>
296
+
<dt>MemPerc</dt>
314
297
<dd><b>Description</b>: User time.</dd>
315
-
<dd><b>Provenance</b>: Value of user in cpuacct.stat divided by number of CPUs found in cpuacct.usage_percpu. Presented as a rate.</dd>
316
-
<dd><b>Units</b>: ticks per second (works out to 0-100/sec rate)</dd>
317
-
<dd><b>Aliases</b>: cpu_user__ticks</dd>
298
+
<dd><b>Provenance</b>: Value of MemPerc for container.</dd>
299
+
<dd><b>Units</b>: percentage</dd>
318
300
</dl>
319
301
320
302
<dl>
321
-
<dt>cpuacct_usage_system</dt>
322
-
<dd><b>Description</b>: System time.</dd>
323
-
<dd><b>Provenance</b>: Value of system in cpuacct.stat divided by number of CPUs found in cpuacct.usage_percpu. Presented as a rate.</dd>
324
-
<dd><b>Units</b>: ticks per second (works out to 0-100/sec rate)</dd>
325
-
<dd><b>Aliases</b>: cpu_system__ticks</dd>
326
-
</dl>
327
-
328
-
<dl>
329
-
<dt>cpuacct_processes</dt>
330
-
<dd><b>Description</b>: Number of processes running in container.</dd>
331
-
<dd><b>Provenance</b>: Value in cgroup.procs for container.</dd>
332
-
<dd><b>Units</b>: process count</dd>
333
-
</dl>
334
-
335
-
<dl>
336
-
<dt>memory_limit</dt>
337
-
<dd><b>Description</b>: Memory usage limit for container. (n/a indicates no limit)</dd>
338
-
<dd><b>Provenance</b>: Value in memory.limit_in_bytes for container.</dd>
339
-
<dd><b>Units</b>: bytes or n/a</dd>
340
-
</dl>
341
-
342
-
<dl>
343
-
<dt>memory_usage</dt>
303
+
<dt>MemUsageUsed</dt>
344
304
<dd><b>Description</b>: Memory usage for container.</dd>
345
-
<dd><b>Provenance</b>: Value in memory.usage_in_bytes for container.</dd>
305
+
<dd><b>Provenance</b>: Value of MemUsageUsed for container.</dd>
346
306
<dd><b>Units</b>: bytes</dd>
347
-
<dd><b>Aliases</b>: mem_usage__bytes</dd>
348
307
</dl>
349
308
350
309
<dl>
351
-
<dt>blkio_bytes_total</dt>
352
-
<dd><b>Description</b>: Rate of IO read and write bytes for container.</dd>
353
-
<dd><b>Provenance</b>: Sum of total value in blkio.io_service_bytes_recursive and blkio.throttle.io_service_bytes. Presented as a rate.</dd>
354
-
<dd><b>Units</b>: bytes per second</dd>
310
+
<dt>MemUsageLimit</dt>
311
+
<dd><b>Description</b>: Memory usage limit for container. (n/a indicates no limit)</dd>
312
+
<dd><b>Provenance</b>: Value of MemUsageLimit for container.</dd>
313
+
<dd><b>Units</b>: bytes or n/a</dd>
355
314
</dl>
356
315
357
316
<dl>
358
-
<dt>blkio_bytes_read</dt>
317
+
<dt>BlockIORead</dt>
359
318
<dd><b>Description</b>: Rate of IO read bytes for container.</dd>
360
-
<dd><b>Provenance</b>: Sum of read value in blkio.io_service_bytes_recursive and blkio.throttle.io_service_bytes. Presented as a rate.</dd>
319
+
<dd><b>Provenance</b>: Value of BlockIORead for container.</dd>
361
320
<dd><b>Units</b>: bytes per second</dd>
362
321
</dl>
363
322
364
323
<dl>
365
-
<dt>blkio_bytes_write</dt>
366
-
<dd><b>Description</b>: Rate of IO write bytes bytes for a container.</dd>
367
-
<dd><b>Provenance</b>: Sum of write value in blkio.io_service_bytes_recursive and blkio.throttle.io_service_bytes. Presented as a rate.</dd>
324
+
<dt>BlockIOWrite</dt>
325
+
<dd><b>Description</b>: Rate of IO write bytes for container.</dd>
326
+
<dd><b>Provenance</b>: Value of BlockIOWrite for container.</dd>
368
327
<dd><b>Units</b>: bytes per second</dd>
369
328
</dl>
370
329
371
330
<dl>
372
-
<dt>blkio_io_total</dt>
373
-
<dd><b>Description</b>: Rate of IO read and write operations for container.</dd>
374
-
<dd><b>Provenance</b>: Sum of total value in blkio.io_serviced_recursive and blkio.throttle.io_service_bytes. Presented as a rate.</dd>
375
-
<dd><b>Units</b>: operations per second</dd>
331
+
<dt>NetIORead</dt>
332
+
<dd><b>Description</b>: Rate of IO read and write bytes for container.</dd>
333
+
<dd><b>Provenance</b>: Value of NetIORead for container.</dd>
334
+
<dd><b>Units</b>: bytes per second</dd>
376
335
</dl>
377
336
378
337
<dl>
379
-
<dt>blkio_io_read</dt>
380
-
<dd><b>Description</b>: Rate of IO read operations for container.</dd>
381
-
<dd><b>Provenance</b>: Sum of read value in blkio.io_serviced_recursive and blkio.throttle.io_service_bytes. Presented as a rate.</dd>
382
-
<dd><b>Units</b>: operations per second</dd>
338
+
<dt>NetIOWrite</dt>
339
+
<dd><b>Description</b>: Rate of IO write bytes for container.</dd>
340
+
<dd><b>Provenance</b>: Value of NetIOWrite for container.</dd>
341
+
<dd><b>Units</b>: bytes per second</dd>
383
342
</dl>
384
343
385
344
<dl>
386
-
<dt>blkio_io_write</dt>
387
-
<dd><b>Description</b>: Rate of IO write operations for container.</dd>
388
-
<dd><b>Provenance</b>: Sum of write value in blkio.io_serviced_recursive and blkio.throttle.io_service_bytes. Presented as a rate.</dd>
389
-
<dd><b>Units</b>: operations per second</dd>
345
+
<dt>PIDs</dt>
346
+
<dd><b>Description</b>: Number of processes running in container.</dd>
347
+
<dd><b>Provenance</b>: Value of PIDs for container.</dd>
348
+
<dd><b>Units</b>: process count</dd>
390
349
</dl>
391
350
392
351
<p>The following graphs are built using these datapoints.</p>
<p><strong></strong>Note</strong>: Starting from version 2.2.0 Docker ZenPack support modeling and monitoring of Docker and Podman containers which are running on the OSs with cgroup v2.</p>
<p>When zDockerMonitorContainerSize or zPodmanMonitorContainerSize is enabled, the real size and virtual size of each Docker/Podman container will be monitored once every ten minutes by running the following command.</p>
0 commit comments