uawdijnntqw1x1x1
IP : 216.73.216.189
Hostname : altar25.supremepanel25.com
Kernel : Linux altar25.supremepanel25.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
lib64
/
GraphicsMagick-1.3.38
/
..
/
nagios
/
plugins
/
check_fs.sh
/
/
#!/bin/bash set -o pipefail -u FILE="/tmp/dirty_fs_7Qas9rRW" DMESG=$(which dmesg) DMESGOPTS="-T" GREP=$(which grep) GREPOPTS="-w" GREPSTRING="EXT4-fs error" TAIL=$(which tail) TAILOPTS="-1" TOUCH=$(which touch) [[ -f $FILE ]] && \ printf "\360\237\214\213 " && \ echo "CRITICAL: Filesystem is broken. Restart and repair now." && \ exit 2 CHECK_FS=$($DMESG $DMESGOPTS | $GREP $GREPOPTS "$GREPSTRING" | $TAIL $TAILOPTS) if [ ! -z "$CHECK_FS" ] then $TOUCH $FILE 2>/dev/null && \ printf "\360\237\214\213 " && \ echo "CRITICAL: Filesystem is broken. Restart and repair now." && \ exit 2 || \ printf "\360\237\231\200 " && \ echo "UNKNOWN: Cannot create temp file $FILE" && \ exit 3 fi printf "\360\237\222\232 " && \ echo "OK:" "Filesystem is clean." && \ exit 0
/home/../lib64/GraphicsMagick-1.3.38/../nagios/plugins/check_fs.sh