I wonder if the thread lengthener is still in my clipboard

sed -i 's/Server=localhost/Server=zabbix.pentagon.lan/g' /etc/zabbix/zabbix_agent.conf
sed -i 's/Server=localhost/Server=zabbix.pentagon.lan/g' /etc/zabbix/zabbix_agentd.conf
sed -i "s/Hostname=localhost/Hostname=$Hname/g" /etc/zabbix/zabbix_agentd.conf

nope guess not guess I'll have to do it the hard way