Path : /proc/2/cwd/proc/self/root/proc/self/root/proc/2/task/2/cwd/var/lib/zabbix/ |
Current File : //proc/2/cwd/proc/self/root/proc/self/root/proc/2/task/2/cwd/var/lib/zabbix/ipmitool.sh |
#!/bin/bash if [ $8 == "sensor" ]; then ipmitool -I "$1" -H "$2" -U "$3" -P "$4" -L "$5" sensor reading "$6" | awk -F "|" '{print $2}' elif [ $8 == "info" ]; then ipmitool -I "$1" -H "$2" -U "$3" -P "$4" -L "$5" bmc info | grep "$6" | awk -F ":" '{print $2}' fi