mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-29 18:13:10 +01:00
Update monitor-all.sh
tweak
This commit is contained in:
parent
1dc63002ad
commit
465cd75015
@ -32,11 +32,9 @@ echo '#!/usr/bin/env bash
|
||||
excluded_instances=("$@")
|
||||
echo "Excluded instances: ${excluded_instances[@]}"
|
||||
|
||||
while true
|
||||
do
|
||||
while true; do
|
||||
|
||||
for instance in $(pct list | awk '\''{if(NR>1) print $1}'\''; qm list | awk '\''{if(NR>1) print $1}'\'')
|
||||
do
|
||||
for instance in $(pct list | awk '\''{if(NR>1) print $1}'\''; qm list | awk '\''{if(NR>1) print $1}'\''); do
|
||||
# Skip excluded instances
|
||||
if [[ " ${excluded_instances[@]} " =~ " ${instance} " ]]; then
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user