Hello,
We use zabbix_sender and I would like to have a carriage return in the value sended to zabbix server.
for the moment what I have test and working its this :
In this case I have in the history the same output as I do in the shell
I have also test this one but it doesn't work:
Everything is on one line in history. Can you help me 
Thanks
We use zabbix_sender and I would like to have a carriage return in the value sended to zabbix server.
for the moment what I have test and working its this :
Code:
#!/bin/sh test_val=`ls -ltr /opt/` zabbix_sender -zzabbix -sTEST -ktest -o"$test_val"
I have also test this one but it doesn't work:
Code:
zzabbix_sender -zzabbix -sTEST -ktest -o"$test_val" -o"Hello \n test <br /> test char(13) \r test 123 \r\n 7987645 <br> 7897651 ^M 798"

Thanks
Comment