From 85f14e0aef1ae548d8893ad14f626f4a1ceccc20 Mon Sep 17 00:00:00 2001 From: lgq <1015864684@qq.com> Date: 星期一, 14 七月 2025 15:47:58 +0800 Subject: [PATCH] 1.同步snmp导出oid相关脚本 --- local/bin/snmp_val.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/local/bin/snmp_val.sh b/local/bin/snmp_val.sh index bf4378e..d09feb4 100755 --- a/local/bin/snmp_val.sh +++ b/local/bin/snmp_val.sh @@ -5,7 +5,7 @@ # 鑾峰彇浼犲叆鐨� OID OID="$1" -jsoner=/usr/sbin/jsoner +jsoner=./jsoner #echo "鑴氭湰琚皟鐢�, OID: $OID" chn=${OID##*.} @@ -30,4 +30,4 @@ # 榛樿杩斿洖 RESPONSE="{\"type\": \"OctetString\", \"value\": \"noData\"}" echo "$RESPONSE" -fi +fi \ No newline at end of file -- Gitblit v1.9.3