����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������
Server IP : 103.191.208.227 / Your IP : 3.136.18.192 Web Server : LiteSpeed System : Linux emphasis.herosite.pro 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64 User : mhmsfzcs ( 1485) PHP Version : 8.1.31 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib64/udisks2/modules/../../nagios/plugins/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
#!/bin/bash WARNING="500" CRITICAL="750" MAILER="" TIMER="" while getopts "w:c:M:t" optionName; do case "${optionName}" in w) WARNING="${OPTARG}";; c) CRITICAL="${OPTARG}";; M) MAILER="${OPTARG}";; t) TIMER="${OPTARG}";; esac done MAILS_IN_QUEUE=`sudo /usr/sbin/exim -bpc` if [[ ${MAILS_IN_QUEUE} -gt ${CRITICAL} ]]; then echo "CRITICAL: mailq is ${MAILS_IN_QUEUE} (threshold w = ${CRITICAL})|unsent=${MAILS_IN_QUEUE};${WARNING};${CRITICAL};0" exit 2 elif [[ ${MAILS_IN_QUEUE} -gt ${WARNING} ]]; then echo "WARNING: mailq is ${MAILS_IN_QUEUE} (threshold w = ${WARNING})|unsent=${MAILS_IN_QUEUE};${WARNING};${CRITICAL};0" exit 1 elif [[ ${MAILS_IN_QUEUE} -lt ${WARNING} ]]; then echo "OK: mailq is ${MAILS_IN_QUEUE} (threshold w = ${WARNING})|unsent=${MAILS_IN_QUEUE};${WARNING};${CRITICAL};0" exit 0 else echo "ERROR: something did not go right" exit 2 fi