I'm trying to create a zabbix_trapper packet, and seem to be failing.
I'm testing with a text file, and sending it through netcat to the zabbix server, just to verify it'll work.
(I'm gonna use this in a microcontroller(arduino), that's why I'm not using the zabbix_sender utility )
test.trap (text file ) :
request: "sender data"
data:""
host: "Kitsune"
key: "test.trap"
value: "5"
Sending to zabbix server:
Kitsune:/tmp # cat test.trap | netcat 192.168.10.44 10051
OKKitsune:/tmp #
Notice the "OK" statement being returned, but nothing changed on the server.
Any pointers ?
I'm using zabbix 1.8.5
I'm testing with a text file, and sending it through netcat to the zabbix server, just to verify it'll work.
(I'm gonna use this in a microcontroller(arduino), that's why I'm not using the zabbix_sender utility )
test.trap (text file ) :
request: "sender data"
data:""
host: "Kitsune"
key: "test.trap"
value: "5"
Sending to zabbix server:
Kitsune:/tmp # cat test.trap | netcat 192.168.10.44 10051
OKKitsune:/tmp #
Notice the "OK" statement being returned, but nothing changed on the server.
Any pointers ?
I'm using zabbix 1.8.5
Comment