docker: kategorie angepasst
This commit is contained in:
parent
e6759640eb
commit
3fa33e32c2
1 changed files with 7 additions and 7 deletions
14
extern/docker_
vendored
14
extern/docker_
vendored
|
@ -337,7 +337,7 @@ def status(client, mode):
|
||||||
if mode == "config":
|
if mode == "config":
|
||||||
print("graph_title Docker status")
|
print("graph_title Docker status")
|
||||||
print("graph_vlabel containers")
|
print("graph_vlabel containers")
|
||||||
print("graph_category virtualization")
|
print("graph_category container")
|
||||||
print("graph_total All containers")
|
print("graph_total All containers")
|
||||||
print("running.label RUNNING")
|
print("running.label RUNNING")
|
||||||
print("running.draw AREASTACK")
|
print("running.draw AREASTACK")
|
||||||
|
@ -385,7 +385,7 @@ def containers(client, mode):
|
||||||
if mode == "config":
|
if mode == "config":
|
||||||
print("graph_title Docker containers")
|
print("graph_title Docker containers")
|
||||||
print("graph_vlabel containers")
|
print("graph_vlabel containers")
|
||||||
print("graph_category virtualization")
|
print("graph_category container")
|
||||||
print("containers_quantity.label Containers")
|
print("containers_quantity.label Containers")
|
||||||
else:
|
else:
|
||||||
print('containers_quantity.value', len(client.all_containers))
|
print('containers_quantity.value', len(client.all_containers))
|
||||||
|
@ -395,7 +395,7 @@ def images(client, mode):
|
||||||
if mode == "config":
|
if mode == "config":
|
||||||
print("graph_title Docker images")
|
print("graph_title Docker images")
|
||||||
print("graph_vlabel images")
|
print("graph_vlabel images")
|
||||||
print("graph_category virtualization")
|
print("graph_category container")
|
||||||
print("graph_total All images")
|
print("graph_total All images")
|
||||||
print("intermediate_quantity.label Intermediate images")
|
print("intermediate_quantity.label Intermediate images")
|
||||||
print("intermediate_quantity.draw AREASTACK")
|
print("intermediate_quantity.draw AREASTACK")
|
||||||
|
@ -420,7 +420,7 @@ def volumes(client, mode):
|
||||||
if mode == "config":
|
if mode == "config":
|
||||||
print("graph_title Docker volumes")
|
print("graph_title Docker volumes")
|
||||||
print("graph_vlabel volumes")
|
print("graph_vlabel volumes")
|
||||||
print("graph_category virtualization")
|
print("graph_category container")
|
||||||
print("volumes_quantity.label Volumes")
|
print("volumes_quantity.label Volumes")
|
||||||
print("volumes_quantity.draw AREASTACK")
|
print("volumes_quantity.draw AREASTACK")
|
||||||
print("volumes_quantity.info Unused volumes can be deleted with "
|
print("volumes_quantity.info Unused volumes can be deleted with "
|
||||||
|
@ -438,7 +438,7 @@ def cpu(client, mode):
|
||||||
print("graph_scale no")
|
print("graph_scale no")
|
||||||
print("graph_period second")
|
print("graph_period second")
|
||||||
print("graph_vlabel CPU usage (%)")
|
print("graph_vlabel CPU usage (%)")
|
||||||
print("graph_category virtualization")
|
print("graph_category container")
|
||||||
print("graph_info This graph shows docker container CPU usage.")
|
print("graph_info This graph shows docker container CPU usage.")
|
||||||
print("graph_total Total CPU usage")
|
print("graph_total Total CPU usage")
|
||||||
for container in client.all_containers:
|
for container in client.all_containers:
|
||||||
|
@ -455,7 +455,7 @@ def network(client, mode):
|
||||||
print("graph_title Docker containers network usage")
|
print("graph_title Docker containers network usage")
|
||||||
print("graph_args --base 1024 -l 0")
|
print("graph_args --base 1024 -l 0")
|
||||||
print("graph_vlabel bits in (-) / out (+) per ${graph_period}")
|
print("graph_vlabel bits in (-) / out (+) per ${graph_period}")
|
||||||
print("graph_category virtualization")
|
print("graph_category container")
|
||||||
print("graph_info This graph shows docker container network usage.")
|
print("graph_info This graph shows docker container network usage.")
|
||||||
print("graph_total Total network usage")
|
print("graph_total Total network usage")
|
||||||
for container in client.all_containers:
|
for container in client.all_containers:
|
||||||
|
@ -481,7 +481,7 @@ def memory(client, mode):
|
||||||
print("graph_title Docker containers memory usage")
|
print("graph_title Docker containers memory usage")
|
||||||
print("graph_args --base 1024 -l 0")
|
print("graph_args --base 1024 -l 0")
|
||||||
print("graph_vlabel Bytes")
|
print("graph_vlabel Bytes")
|
||||||
print("graph_category virtualization")
|
print("graph_category container")
|
||||||
print("graph_info This graph shows docker container memory usage.")
|
print("graph_info This graph shows docker container memory usage.")
|
||||||
print("graph_total Total memory usage")
|
print("graph_total Total memory usage")
|
||||||
for container in client.all_containers:
|
for container in client.all_containers:
|
||||||
|
|
Loading…
Reference in a new issue