This commit is contained in:
2024-01-06 23:44:48 -06:00
parent d1ebfa544b
commit bc9616be85
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERS=2.3.7-01062024 VERS=2.3.10-01062024
DS_FOLDER=/opt/idssys/dsmon DS_FOLDER=/opt/idssys/dsmon
DS_CRONTAB_FOLDER=/opt/idssys/nodemgmt/crontabs DS_CRONTAB_FOLDER=/opt/idssys/nodemgmt/crontabs

View File

@@ -154,7 +154,7 @@ CHECK(){
((nc_count++)) ((nc_count++))
fi fi
done done
if [ $(($(date +%s)-scanstart)) -gt 600 ]; then if [ $(($(date +%s)-scanstart)) -gt 300 ]; then
SENDNOTICE "NMG Scan Stuck" "DSmon Check scan has been running for 10mins, klling all bash...." 1 SENDNOTICE "NMG Scan Stuck" "DSmon Check scan has been running for 10mins, klling all bash...." 1
killall bash killall bash
exit 1 exit 1