PDA

View Full Version : How to use ZABBIX_SENDER


bobrivers
04-11-2009, 14:05
Hi,

I'm trying to use ZABBIX_SENDER, but I'm not getting lucky...

When I do a ./zabbix_sender -vv –z localhost –p 10051 –s MyServer –k db.connections –o 43 command, and as a response I receive:

zabbix_sender [21783]: DEBUG: Answer [{
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.001759"}]
Info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.001759"
sent: 1; skipped: 0; total: 1


In my zabbix, I have a host called MyServer and it has an item called db.connections.

I was monitoring the zabbix_server.log and it doesn't show anything. I also increased the log level.

I'm using zabbix 1.6.6.

What I need to do in order to make zabbix_sender to work?

TIA,

Bob

bobrivers
04-11-2009, 14:26
Sorry...

I found a thread with the answer... http://www.zabbix.org/forum/showthread.php?t=11609

The problem was with the hostname (-s). It's case sensitive...

TIA,

Bob