Ad Widget

Collapse

Zabbix Trapper not working with remote DBHost

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dunn_48
    Junior Member
    • May 2011
    • 4

    #1

    Zabbix Trapper not working with remote DBHost

    I have a zabbix server at 192.168.10.2 and its db is hosted on a different server, 192.168.10.3

    Everything works as expected BESIDES when using a zabbix_sender.

    You can see in the logs that the zabbix server/trapper gets the correct data but fails to process it. I think i have it troubleshot down to it not likeing the remote database. I pointed the zabbix server to the localdatabase, created a quick host with an item (zabbix trapper) and the zabbix_sender works fine.

    I'm not 100% sure this is the problem, but all signs point to yes. When using a remote db for a zabbix server, when using a zabbix_sender command to the server, it fails to process.

    response is much appreciated. I'm using zabbix 1.8.10 but seems to be that way as i reverted to 1.8.5 and had the same issues (server and agent as the agent is was updates the zabbix_sender)

    I can give more details if needed, but remote db to me is the problem (like the trapper on the zabbix server is looking at the localdatbase and not the DBHost=192.168.10.3 parameter in the conf file.)
  • dunn_48
    Junior Member
    • May 2011
    • 4

    #2
    figured it out. it was a timing issue. The server that was running the zabbix_sender was on machine 192.168.10.4. I had it in the allowed part of the zabbix trapper item, but it was a timing issue. It would not work but after a couple mins it would then stop failing and process the item


    192.168.10.4 (zabbix_sender)
    |
    V
    192.168.10.2 (zabbix_server)
    |
    V
    192.168.10.3 (zabbix remote db)

    remeber to use tcpdump to ensure the zabbix_sender is sending from the allowed ip(s) and give it a minute or to when manually running the zabbix_sender in -vv mode to see it succeed and process (not fail)

    hope this helps anyone

    Comment

    Working...