Update status.inc
This commit is contained in:
@@ -46,9 +46,10 @@ STATUS(){
|
|||||||
if [ "${ST_ACTION}" != "check" ]; then
|
if [ "${ST_ACTION}" != "check" ]; then
|
||||||
lip=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
lip=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
|
||||||
uptime=`uptime -p`
|
uptime=`uptime -p`
|
||||||
echo -e "${idsST[Bold]}"; DIVIDER
|
echo
|
||||||
|
DIVIDER
|
||||||
echo -e "${idsCL[Yellow]} ${NODE_HOSTNAME} Service Status -localhost-${idsCL[Default]}"
|
echo -e "${idsCL[Yellow]} ${NODE_HOSTNAME} Service Status -localhost-${idsCL[Default]}"
|
||||||
DIVIDER; echo -e "${idsST[Reset]}"
|
DIVIDER
|
||||||
echo -e " ${idsCL[LightCyan]}${uptime}${idsCL[Default]}"
|
echo -e " ${idsCL[LightCyan]}${uptime}${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
# if [ "${ST_ACTION}" != "check" ]; then
|
# if [ "${ST_ACTION}" != "check" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user