feat(sensors): numeric -n mode + lmsensors_n extend for HA SNMP migration [#618]

This commit is contained in:
2026-09-01 18:02:09 -05:00
parent 196d0f597e
commit 7b922c507c
3 changed files with 99 additions and 1 deletions
+1
View File
@@ -127,6 +127,7 @@ sed -i 's/^agentaddress/#agentaddress/' "$SNMPD_CONF"
echo "rocommunity $COMMUNITY $src"
done
echo "extend lmsensors $WRAP_DST"
echo "extend lmsensors_n $WRAP_DST -n"
echo "$MARK_END"
} >>"$SNMPD_CONF"
log "agentaddress: $AGENT_ADDRS"