Zabbix_sender can't send text data (Type of information: text).
For example, I have active item with 'type of information: text'
On my server I have text file like this:
I can do something like this (for example):
But in this case server will get line "/tmp/ip_access_log" instead of file content
And I can't do this:
because option "-o" doesn't support standard input.
There is no way to do something for send this data.
Can you invent something for resolving this defect?
For example, I have active item with 'type of information: text'
On my server I have text file like this:
# cat /tmp/ip_access_log
453624 188.127.249.36
41768 80.93.53.83
8346 217.79.15.32
3793 188.134.41.22
3440 77.88.43.26
3353 94.127.146.106
3249 188.134.41.2
1976 66.249.66.89
1477 93.158.148.31
1459 212.158.169.98
453624 188.127.249.36
41768 80.93.53.83
8346 217.79.15.32
3793 188.134.41.22
3440 77.88.43.26
3353 94.127.146.106
3249 188.134.41.2
1976 66.249.66.89
1477 93.158.148.31
1459 212.158.169.98
# zabbix_sender -c /etc/zabbix_agentd.conf -k ip_log -o /tmp/ip_access_log
And I can't do this:
# cat /tmp/ip_access_log | zabbix_sender -c /etc/zabbix_agentd.conf -k ip_log -o-
There is no way to do something for send this data.
Can you invent something for resolving this defect?
Comment