Hi Zabbix community,
a very simple question
How can I send data via zabbix_sender for a host which has blanks in it's hostname? We are creating hosts via the API and currently allow hosts with blanks, then send data to them via the zabbix_sender.
I have tried the following:
./zabbix_sender -z zabbixmonitor.de -s 'Host Name' -k myval -o 19 -vv
and
./zabbix_sender -z zabbixmonitor.de -s "Host Name" -k myval -o 19 -vv
without success. As soon as I replace the blank with for example an underscore on the server and send like the following, it works:
./zabbix_sender -z zabbixmonitor.de -s 'Host_Name' -k myval -o 19 -vv
what to do?
any help is greatly appreciated
best regards
tuo
a very simple question
How can I send data via zabbix_sender for a host which has blanks in it's hostname? We are creating hosts via the API and currently allow hosts with blanks, then send data to them via the zabbix_sender.I have tried the following:
./zabbix_sender -z zabbixmonitor.de -s 'Host Name' -k myval -o 19 -vv
and
./zabbix_sender -z zabbixmonitor.de -s "Host Name" -k myval -o 19 -vv
without success. As soon as I replace the blank with for example an underscore on the server and send like the following, it works:
./zabbix_sender -z zabbixmonitor.de -s 'Host_Name' -k myval -o 19 -vv
what to do?

any help is greatly appreciated
best regards
tuo
Comment