update
This commit is contained in:
1
dsmon.sh
1
dsmon.sh
@@ -214,7 +214,6 @@ CHECK(){
|
|||||||
elif (( $(bc <<<"$dfreeper <= ${WARNING_LEVEL}") )); then
|
elif (( $(bc <<<"$dfreeper <= ${WARNING_LEVEL}") )); then
|
||||||
fs_status='Warning'
|
fs_status='Warning'
|
||||||
fs_status_color='Yellow'
|
fs_status_color='Yellow'
|
||||||
|
|
||||||
else
|
else
|
||||||
fs_status=''
|
fs_status=''
|
||||||
fs_status_color='Green'
|
fs_status_color='Green'
|
||||||
|
|||||||
2
run.sh
2
run.sh
@@ -6,7 +6,7 @@ source /opt/idssys/dsmon/config.settings.inc
|
|||||||
source /opt/idssys/defaults/colors.inc
|
source /opt/idssys/defaults/colors.inc
|
||||||
|
|
||||||
|
|
||||||
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
|
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "report" ]; then
|
||||||
# if [ "${1}" = "gui" ]; then
|
# if [ "${1}" = "gui" ]; then
|
||||||
# DISP_HEADER
|
# DISP_HEADER
|
||||||
# fi
|
# fi
|
||||||
|
|||||||
Reference in New Issue
Block a user