mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-27 15:31:59 +00:00
Update monitor-all.sh
tweak
This commit is contained in:
parent
a520795e1b
commit
b0a7fc06eb
@ -35,6 +35,7 @@ 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
|
# Skip excluded instances
|
||||||
if [[ " ${excluded_instances[@]} " =~ " ${instance} " ]]; then
|
if [[ " ${excluded_instances[@]} " =~ " ${instance} " ]]; then
|
||||||
|
echo "Skipping $instance because it is excluded"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user