Ad Widget

Collapse

Zabbix web interface completely empty after upgrading zabbix-agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbadmin
    Junior Member
    • Jan 2018
    • 22

    #1

    Zabbix web interface completely empty after upgrading zabbix-agent

    So we faced an issue earlier this week where we noticed that all our RHEL7 servers were incorrectly pointing to a RHEL6 Zabbix repo we host locally. As such, all of the agents running were the .el6 version. Oddly, it still worked (with a little bit of changes needing to be made to ownership of /var/run/Zabbix).

    However, today I went about correcting the repository, replacing the RHEL6 rpms with RHEL7, and reinstalling the Zabbix agent across our RHEL7 environment. I'm in a really weird situation, now, though.

    So here's what I've observed:
    1) The agent is running fine, configured fine, and reporting data to the Zabbix server (as observed just at a network-traffic level). How I tested is just restarting the zabbix-agent process on a test server and seeing if it is making a network connection to the zabbix server:

    Code:
    [root@zabbixserver ~]# tcpdump -vv -x -X -s 1500 -i eth0 -n 'port 10051' | grep '10.13.175.127'
    tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 1500 bytes
        10.13.175.127.45945 > 10.13.175.225.zabbix-trapper: Flags [S], cksum 0x835c (correct), seq 2778747899, win 29200, options [mss 1460,sackOK,TS val 9046582 ecr 0,nop,wscale 7], length 0
        10.13.175.127.45945 > 10.13.175.225.zabbix-trapper: Flags [S], cksum 0x7f72 (correct), seq 2778747899, win 29200, options [mss 1460,sackOK,TS val 9047584 ecr 0,nop,wscale 7], length 0
    2) I can zabbix_get uptime of this server as well:
    HTML Code:
    [root@zabbixserver ~]# zabbix_get -s testserver -k "system.uptime"
    9441
    3) I use Grafana to visualize the data out of Zabbix. It is still accumulating data from Zabbix. I've looked at data for the last 3 hours and there's a full set of real data being pulled in from Zabbix/MariaDB.


    But when I log in to zabbix to check for alarms and such, there's nothing displayed? There used to be a lot of information. I've tried restarting the service, restarting the server, looking through zabbix server logs for any errors, looking through mariadb logs for errors, i'm getting nothing.

    Any tips or ideas here are much appreciated. Thanks in advance!

    -mb
  • kernbug
    Senior Member
    • Feb 2013
    • 330

    #2
    Originally posted by mbadmin

    But when I log in to zabbix to check for alarms and such, there's nothing displayed? There used to be a lot of information. I've tried restarting the service, restarting the server, looking through zabbix server logs for any errors, looking through mariadb logs for errors, i'm getting nothing.

    -mb
    Do you use low-level discovery with item prototypes?

    Comment

    • Heilig
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Mar 2013
      • 366

      #3
      HTML Code:
      [PHP][/PHP]
      mbadmin
      , have you checked Zabbix server performance (https://blog.zabbix.com/monitoring-h...esses-are/457/) and queue (https://www.zabbix.com/documentation.../items/queue)?

      Comment

      • mbadmin
        Junior Member
        • Jan 2018
        • 22

        #4
        Originally posted by kernbug

        Do you use low-level discovery with item prototypes?
        I'm not sure what you mean by this. I don't use the discovery at all, I've written a custom script to scrape our puppet API and add hosts that way. It's been working for a while without issues.

        Comment

        • mbadmin
          Junior Member
          • Jan 2018
          • 22

          #5
          Actually... nevermind on this whole thing. Looks like my browser just needed to have cached files cleared out. It's working now..

          Comment

          • kernbug
            Senior Member
            • Feb 2013
            • 330

            #6
            Originally posted by mbadmin
            Actually... nevermind on this whole thing. Looks like my browser just needed to have cached files cleared out. It's working now..
            Hm, interesting behavior of the browser. Good, if everything is working.

            Comment

            • kloczek
              Senior Member
              • Jun 2006
              • 1771

              #7
              Originally posted by kernbug

              Hm, interesting behavior of the browser. Good, if everything is working.
              No, it isn't.
              From https://www.zabbix.com/documentation...lation/upgrade "8 Clear web browser cookies and cache

              After the upgrade you may need to clear web browser cookies and web browser cache for the Zabbix web interface to work properly."
              http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
              https://kloczek.wordpress.com/
              zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
              My zabbix templates https://github.com/kloczek/zabbix-templates

              Comment

              • kernbug
                Senior Member
                • Feb 2013
                • 330

                #8
                Originally posted by kloczek

                No, it isn't.
                From https://www.zabbix.com/documentation...lation/upgrade "8 Clear web browser cookies and cache

                After the upgrade you may need to clear web browser cookies and web browser cache for the Zabbix web interface to work properly."
                I know about this, but did not face such behavior after upgrades.

                Comment

                Working...