Ad Widget

Collapse

Hosts in Latest Data not showing up after 1.4.4 upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nairb007
    Junior Member
    • Jan 2008
    • 1

    #1

    Hosts in Latest Data not showing up after 1.4.4 upgrade

    I recently upgraded our 1.4.2 zabbix server(centos4,64-bit) to 1.4.4. Since that time, the Host column under the Latest Data form are all blank. Looking at the page source, it only shows nbsp for the data(no Hosts names). Looking at other sections of the Zabbix GUI(Configuration/Hosts) show all of the hostnames. If I query the postgres db all of the machine names are listed.

    How I upgraded:

    1. download zabbix_blah.tar.gz
    2. configure with postgres and net-snmp and zabbix_server support
    3. make install
    4. copied zabbix_server binary to proper location
    5. Renamed old 1.4.2 zabbix directory to zabbix_old and copied frontends to /var/www/zabbix
    6. Copied old zabbix_server.conf file over to new location.
    7. Fired up the zabbixserver startup script.

    Anyone have a similar situation?

    thanks
  • Anton
    Junior Member
    • Dec 2006
    • 17

    #2
    Can confirm this issue here too ... Did the same upgrading-steps, but on Debian Etch with a MySQL-backend ...


    in 1.4.2 all worked, as it should ...


    I tracked the issue down (hopefully correct) to "include/config.inc.php", to "get_node_name_by_elid($id_val, $forse_with_subnodes = null)" (line 270) ...


    is_show_subnodes() returns false, and $ZBX_NODES is an empty array with no elements ... additionally, ZBX_DISABLE_SUBNODES is defined to int(1) ...


    We don't use distributed Monitoring, just a single system with about 30 hosts to be monitored ...


    Any ideas?



    best regards,

    Anton

    Comment

    • Heva
      Junior Member
      • Dec 2006
      • 15

      #3
      Same here after a fresh install on Ubuntu 7.10 server x86_64.

      Latest data show hostname in column "Host" when showing everything, donwsizing to a hostgroup gives an empty filed under "Host".

      Comment

      • jean
        Member
        • Apr 2006
        • 85

        #4
        Same issue int the latest zabbix 1.4.5...

        Someone has a solution to this issue ?

        Comment

        • bbrendon
          Senior Member
          • Sep 2005
          • 870

          #5
          Weird. I wonder why this doesn't effect everyone. Maybe it has something to do with your browser cookie or zabbix groups?

          I don't recall what version I was running before 1.4.4, but I haven't seen this in 144 or 145. I would highly recommend upgrading to 1.4.5 if you haven't already.

          Oh, I'm running the 1.4.4 frontend and the 1.4.5 server.
          Unofficial Zabbix Expert
          Blog, Corporate Site

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            Perhaps this is PostgreSQL specific, though I cannot confirm it.
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • Anton
              Junior Member
              • Dec 2006
              • 17

              #7
              Sorry, i'm using mysql ...

              I could provide an ftp- and zabbix-account, if you want to have a look ...

              Comment

              • Aly
                ZABBIX developer
                • May 2007
                • 1126

                #8
                Does Host column ALL blank? or the host name is shown near an Application names and blank near an items?
                Zabbix | ex GUI developer

                Comment

                • Anton
                  Junior Member
                  • Dec 2006
                  • 17

                  #9
                  Originally posted by Aly
                  Does Host column ALL blank?
                  yes.

                  or the host name is shown near an Application names and blank near an items?
                  no ...


                  see attached screenshot.
                  Attached Files
                  Last edited by Anton; 26-03-2008, 18:16. Reason: reuploaded image

                  Comment

                  • Aly
                    ZABBIX developer
                    • May 2007
                    • 1126

                    #10
                    I see, there is no Application name shown thats why no host column.
                    Quick fix, apply this patch:
                    Attached Files
                    Last edited by Aly; 26-03-2008, 18:57.
                    Zabbix | ex GUI developer

                    Comment

                    • Anton
                      Junior Member
                      • Dec 2006
                      • 17

                      #11
                      yes, now its working!

                      thanks!
                      Last edited by Anton; 26-03-2008, 20:42. Reason: typo

                      Comment

                      • jean
                        Member
                        • Apr 2006
                        • 85

                        #12
                        Thank you for this patch.
                        Question, this patch will be implement in the next versions of Zabbix 1.4.X and 1.6.X ?

                        Comment

                        • Aly
                          ZABBIX developer
                          • May 2007
                          • 1126

                          #13
                          It was a quick fix, a real one is different. It's already in SVN. If you like the previous one, you can use it till 1.4.6 released

                          Here is this real patch:
                          Attached Files
                          Last edited by Aly; 28-03-2008, 10:42.
                          Zabbix | ex GUI developer

                          Comment

                          Working...