Ad Widget

Collapse

Zabbix Proxy Configuration Help Please!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xeroplasmic
    Junior Member
    • Jun 2022
    • 5

    #1

    Zabbix Proxy Configuration Help Please!

    Hi there, Trying to setup Zabbix 6.0 with Proxy on Ubuntu 20.04 Focal. Desperately need help and I will be extremely appreciative.

    Zabbix itself is up fine, but when I go to Import database schema, It looks like i'm missing the Proxy Schema.sql.gz

    I do have a proxy.sql under /usr/share/doc/zabbix-sql-scripts/mysql/proxy.sql and I'm going to assume it might be this I need to import it over into mysql in the zabbix_proxy database I made for it to work properly? Or is this the incorrect sql for the proxy?

    Putting it in an AWS instance to test set this up, if I blow it up ill just restart.

    Gonna give it a go with Source /usr/share/doc/zabbix-sql-scripts/mysql/proxy.sql to import the SQL. Hopefully thats what I was looking for

    EDIT:

    A Slight update, I went ahead and ran the import, Looks like Zabbix proxy Service is started and running. I have changed the Proxy listen port to 10055 as I am running the Proxy + Zabbix Server on the same box. Got a new problem now, Looking at logs it's giving me "cannot Send proxy data to server at "127.0.0.1". Proxy "zabbix_proxy" not found.

    I've attempted to go into the Zabbix Web GUI and add zabbix_proxy and 127.0.0.1 as the proxy host to configure it locally. Do I need to replace the 127.0.0.1 in my proxy .conf file to my Public IP?

    I am attaching a screenshot of the Proxy log. Ended up crashing my box, trying to restart it and then I will get my proxy .conf and upload the config for that

    Click image for larger version

Name:	Zabbix Proxy Log.png
Views:	640
Size:	140.8 KB
ID:	445513
  • xeroplasmic
    Junior Member
    • Jun 2022
    • 5

    #2
    It looks like I can't edit my post. But I was able to get the proxy installed, and My Zabbix Server is able to Successfully communicate the proxy service ( received configuration data from server at "MY SERVER DNS", datalen 3988)

    Due to constraints, I have to install the Zabbix server and Zabbix proxy on the same Linux install. I have changed the Zabbix proxy to listen on 10055. I have tried to install and agent through the proxy already ( I will post the settings with altered IPS as an example) But I am not getting any prompt to adopt or accept an autodiscovery of any sort. It seems like there's nothing hitting the proxy in an attempt to connect even. I've added the firewall exception on the windows server I'm trying to access.

    So now, I am wondering if someone can send me some references or instructions on how I can Start adding remote agents to be monitored by my Zabbix Server. IE I have my Office in Seattle, and I want to install an agent on a client server in Texas and get it to check in.


    Thanks for taking the time to read through this all with me, and help me figure this out =)
    Attached Files

    Comment

    • xeroplasmic
      Junior Member
      • Jun 2022
      • 5

      #3
      Looking at the zabbix_agentd.log file I have after trying to install the agent after installing using the zabbix server IP and then the proxy with the Zabbix Proxy IP. I get the following log result. Seems like my previous theory was right that it's not able to Authorize or "adopt" this agent. Any light shed would be awesome =)

      Code:
      9056:20220602:002227.317 Starting Zabbix Agent [SHARON]. Zabbix 6.0.4 (revision 3d787ff402e).
      9056:20220602:002227.332 **** Enabled features ****
      9056:20220602:002227.332 IPv6 support: YES
      9056:20220602:002227.332 TLS support: YES
      9056:20220602:002227.332 **************************
      9056:20220602:002227.332 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
      9056:20220602:002228.799 agent #0 started [main process]
      7656:20220602:002228.799 agent [NODE="1"]Home[/NODE] started [collector]
      8652:20220602:002228.799 agent [NODE="2"]Forum[/NODE] started[listener #1]
      7932:20220602:002228.799 agent #3 started[listener #2]
      8676:20220602:002228.799 agent #4 started[listener #3]
      3204:20220602:002228.799 agent #5 started [active checks #1]
      3204:20220602:002228.877 no active checks on server [ZABBIXIP:10051]: host [SHARON] not found

      Comment

      Working...