Ad Widget

Collapse

Host monitored by proxy not accept data in the server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ceinmart
    Junior Member
    • Nov 2012
    • 28

    #1

    Host monitored by proxy not accept data in the server

    Zabbix 4.2 / Linux OpenSUSE Leap 15.0


    I have a very particular situation here.
    It's out of the correct standards and I'm aware of that.


    * Have 2 sites, the local and a remote site
    * Zabbix Server run into the local site, let's call it "zbx_server"
    * Zabbix Proxy run at the remote site, let's call it "zbx_proxy"
    * Have a "host" (service in really) to monitor which they items to collect are in both sites, but most of the items are into the remote site.
    * All items collected is a Zabbix Trapper, using zabbix_sender to populate them (SQL scripts collecting information in multiple databases)

    So, I decide to configure this "host" to be monitored by the "zbx_proxy", since most of the scripts/zabbix trappers run there and these scripts have the zabbix_sender set to zbx_proxy.
    But for the items were ran in the local site, I want to direct the zabbix_sender to zbx_server.

    the problem: the items where my zabbix_sender try to upload the data at the zbx_server fail.
    As far as I understand, that happened because the "host" is set to be monitored by the zbx_proxy .

    I want to avoid to create two "hosts", one for the local site and other to remote site because all items are relationed to the same service and all this is set by template and that will mess all configuration and made it very confusing.
    I also want to avoid the local data collect sent thru network to zbx_proxy where these data will back to zbx_server...

    Is there any way to do that? or I missing something here?

    Regards
    Cesar
Working...