This commit is contained in:
voltron committed 2023-07-04 14:51:50 -05:00
1 parent 5c10cb56bd
commit 32fc449fc6
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -46,6 +46,8 @@ if [ -f ${NM_FOLDER}/defaults.local.inc ]; then
NODE_TYPES+=(${nmtype}) NODE_TYPES+=(${nmtype})
done | sort -n done | sort -n
echo "HERE: $NODE_TYPES"
for ntype in "${NODE_TYPES[@]}"; do for ntype in "${NODE_TYPES[@]}"; do
arr ${ntype}_HOSTS arr ${ntype}_HOSTS
arr ${ntype}_SERVICES_CHECK arr ${ntype}_SERVICES_CHECK
-1
View File
@@ -797,7 +797,6 @@ NODEUPDATE() {
nmdiv=$(ls -l --time-style=+%s ${NM_FOLDER}/defaults.local.inc | cut -d ' ' -f 6) nmdiv=$(ls -l --time-style=+%s ${NM_FOLDER}/defaults.local.inc | cut -d ' ' -f 6)
for NTYPE in "${NODE_TYPES[@]}"; do for NTYPE in "${NODE_TYPES[@]}"; do
echo $NTYPE
nid=1 nid=1
var=${NTYPE}_HOSTS[@] var=${NTYPE}_HOSTS[@]
for nip in "${!var}"; do for nip in "${!var}"; do