update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
2
dsmon.sh
2
dsmon.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user