Ad Widget

Collapse

No updates from proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • savd
    Junior Member
    • Jul 2008
    • 7

    #1

    No updates from proxy

    Few days ago our host with Zabbix server (also containing MySQL DB used by Zabbix proxy service located on other host -- I khow this stupid) was shut down (by 'shutdown' command, so DB is ok) for a few hours.

    Proxy service also died after a while (no surprise).

    After Zabbix server get back online & proxy service was restarted on proxy machine, proxy stops to send updates for monitored items to Zabbix server. It collects data from monitored hosts, it puts them into DB, it even read configuration changes from main Zabbix server, but status for hosts/items monitored via proxy are not being updated anymore.

    Direct checks by Zabbix server itself are fine. Logs are clean. tcpdump shows traffic between both proxy & server and proxy & monitored hosts. From strace on zabbix_proxy I see regular heartbeat and configuration changes queries from proxy to server.

    I tried to restart both proxy and server, I tried to restart all agents, I tried to delete & add back monitored hosts, I tried to manually update 'nextcheck' value for items monitored via proxy to future date (it stuck in queue time where server was shut down) -- no effect at all except now there are no timed out checks in queue.

    Any thoughts?
  • savd
    Junior Member
    • Jul 2008
    • 7

    #2
    Fixed few minutes after post by recompiling proxy with SQLite instead of MySQL, so problem was obviously on proxy side.

    I do not know though was this MySQL-backend-specific, or some DB content problem (I didn't migrate any data, just started with new DB after switching proxy backend to SQLite).

    Comment

    • duben
      Junior Member
      • Mar 2009
      • 3

      #3
      hi

      i have exactly same problem. Server running zabbix proxy was restarted and after boot, proxy doesnt send data to zabbix server. No error message in logs, restart of proxy or server didnt help. Recompilation of proxy and server also didnt help.

      Second proxy works ok, so it should be problem of this proxy not server. Your solution is pretty hardcore, so I'm asking if anyone has some idea how to solve this issue

      Comment

      • duben
        Junior Member
        • Mar 2009
        • 3

        #4
        hi

        so I solved problem with similar solution like savd. I stopped zabbix_proxy process, droped zabbix database on proxy server, than created new one with schemas from sources , started zabbix_proxy and now is everything ok, proxy sends data ok

        so its definitely database related problem

        Comment

        Working...