标签:ash src get int 图片 templates tps uri pass
#!/bin/bash
#此脚本用来获取redis-cli info信息
redis_cli="/usr/local/redis/bin/redis-cli"
redis_host="127.0.0.1"
redis_pass="123456"
redis_port="6379"
if [[ $# == 1 ]];then
result=`$redis_cli -h $redis_host -p $redis_port -a $redis_pass info 2>/dev/null|grep "$1:"|awk -F':' '{print $2}'`
echo $result
fi
UserParameter=redis.info[*],sh /usr/local/zabbix/scripts/zabbix_redis_info.sh $1
链接地址1:https://pan.baidu.com/s/1yNWkZfvbiTTcw4sqR-PwsQ
链接地址2:https://files.cnblogs.com/files/xiaohanzi-/zbx_export_templates.xml
标签:ash src get int 图片 templates tps uri pass
原文地址:https://www.cnblogs.com/xiaohanzi-/p/12083597.html