Ad Widget

Collapse

Zabbix 3.0.2 + Proxy problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MightBeAWizard
    Member
    • May 2016
    • 33

    #1

    Zabbix 3.0.2 + Proxy problems

    Some backround info:

    So, I Installed about ~3 weeks ago Zabbix server and proxy server while proxy server was physically where I am, and everything worked just fine. Server and proxy were installed into different networks and they communicated as they were supposed to.

    However now that we moved proxy server to its final location, then we made VPN configurations etc etc. Now proxy won't give us any data back to server. Connections do work, they have been tested several times and if I make some changes to hosts that proxy is supposed to gather data from and bypass proxy server I still can get information from them if they are monitored directly from central server.


    Now to the problem:
    If I put my hosts that proxy should gather information from behind that proxy, agents are giving error "Get value from agent failed: cannot connect to [[XXX.XXX.XXX.XXX]:10050]: [4] Interrupted system call" even tho they are configured to be found from YYY.YYY.YYY.YYY:10051, IP that error gives is from the time when that server was physically at my location.

    So the question is, what makes proxy to behave so weird, why doesn't it update those IP's to new ones, even tho every agent configuration is done "properly"? And where do those old IP's come from, I found some old ip's in database in proxy, deleted them, forced cache reload but still nothing.

    Thanks in advance, hope someone could identify or point me to correct way.
  • MightBeAWizard
    Member
    • May 2016
    • 33

    #2
    I was able to solve this problem, the problem was in proxy server database, it had old records in hosts table for some reason, after I manually deleted those old records that were incorrect and forced cache refresh, everything started working

    Hope this helps someone someday.

    Comment

    • DmitryL
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2016
      • 278

      #3
      Hello MightBeAWizard!

      Just to be sure, did you restarted agents after changes were made to agent configuration file?
      Last edited by DmitryL; 30-05-2016, 09:04.

      Comment

      • MightBeAWizard
        Member
        • May 2016
        • 33

        #4
        Yes, I restarted my agents after I made those IP changes when we moved the server(s). My agents just became available on their own after I deleted those old ip's from proxy db.

        Even tho problem is now solved I am still confused why those old IP's were in proxy database and why new addresses never showed up before I manually deleted old ones.

        Comment

        Working...