Update powerwall.sh
This commit is contained in:
@@ -134,7 +134,7 @@ AVERAGETEMP(){
|
||||
daysback=${2}
|
||||
sensorid=${1}
|
||||
logsfound=0;
|
||||
if [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ]; then
|
||||
if [ "${PW_SENSOR_TYPE[${1}]}" == "esxi" ]; then
|
||||
entityid=($(${mysql_conn} -e "SELECT id FROM servermonitor.entities WHERE BINARY name='${3}' AND sensorid='${sensorid}'"))
|
||||
entityid=${entityid[1]}
|
||||
# echo "HERE: ${3} - ${entityid}"
|
||||
|
||||
Reference in New Issue
Block a user