MENGONTOL SHELL
:
3.129.253.21
:
170.10.163.183 / aifatradebd.com
:
Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
:
/
lib64
/
nagios
/
plugins
/
Upload File:
files >> //lib64/nagios/plugins/check_sysctl_missing
#!/bin/bash sysctl="/sbin/sysctl" if [[ -z "$1" ]]; then echo echo "Ensure sysctl oid is missing." echo "Usage: " echo echo "$0 <sysctl oid>" echo exit 3 fi $sysctl $1 1>/dev/null 2>&1 if [[ $? -gt 0 ]]; then echo "SYSCTL OK: $1 missing" exit 0 fi echo "SYSCTL CRITICAL: $1 present" exit 2
Copyright © Reserved.