Ad Widget

Collapse

Bugs and Feedback on 1.5.3 build 5841

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cstackpole
    Senior Member
    Zabbix Certified Specialist
    • Oct 2006
    • 225

    #1

    Bugs and Feedback on 1.5.3 build 5841

    I have been testing with this build for most of today (I have another post about the install which took some time) and I just thought I would post a few thoughts.

    First, the bug report.
    1)After Admin logs in, click configuration, then Export/Import, and I get this:
    Code:
    export/import: Parse error: syntax error, unexpected ';' in /home/zabbix/public_html/exp_imp.php on line 192
    2)After Admin logs in, click Monitoring, Latest data, select a host. Some items the details work. Some when you click on graph/details you just get this error message
    Code:
    implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed[/home/zabbix/public_html/include/db.inc.php:749]
    3)After Admin logs in, click Monitoring, Triggers. No matter what I select I just get the following error:
    Code:
        * Error in query [SELECT DISTINCT t.triggerid,t.status,t.description, t.expression,t.priority, t.lastchange,t.comments,t.url,t.value,h.host,h.hostid,t.type FROM triggers t,hosts h,items i,functions f WHERE f.itemid=i.itemid AND h.hostid=i.hostid AND t.triggerid=f.triggerid AND t.status=0 AND i.status=0 AND (t.triggerid IN (10001,10002,10004,10005,10006,10007,10008,10010,10011,10012,10013,10014,10015,10016,10017,10018,10019,10020,10021,10022,10023,10024,10027,10028,10029,10030,10031,10032,10033,10034,10035,10036,10037,10038,10039,10041,10042,10043,10044,10045,10046,10047,10048,10049,10056,10057,10058,10059,10061,10068,10081,10091,10092,10094,10163,10164,10165,10168,10169,10173,10187,10189,10190,10191,12001,12002,12003,12004,12005,12006,12007,12008,12009,12010,12011,12012,12013,12014,12015,12016,12017,12018,12019,12020,12021,12022,12023,12024,12025,12026,12027,12028,12029,12030,12031,12032,12033,12034,12035,12036,12037,12038,12039,12040,12041,12042,12043,12044,12045,12046,12047,12048,12049,12050,12051,12052,12053,12054,12055,12056,12057,12058,12059,12060,12061,12062,12063,12064,12065,12066,12067,12068,12069,12070,12071,12072,12073,12074,12075,12076,12077,12078,12079,12080,12081,12082,12083,12084,12085,12086,12087,12088,12089,12090,12091,12092,12093,12094,12095,12096,12097,12098,12099,12100,12101,12102,12103,12104,12105,12106,12107,12108,12109,12110,12111,12112,12113,12114,12115,12116,12117,12118,12119,12120,12121,12122,12123,12124,12125,12126,12127,12128,12129,12130,12131,12132,12133,12134,12135,12136,12137,12138,12139,12140,12141,12142,12143,12144,12145,12146,12147,12148,12149,12150,12151,12152,12153,12154,12155,12156,12157,12158,12159,12160,12161,12162,12163,12164,12165,12166,12167,12168,12169,12170,12171,12172,12173,12174,12175,12176,12177,12178,12179,12180,12181,12182,12183,12184,12185,12186,12187,12188,12189,12190,12191,12192,12193,12194,12195,12196,12197,12198,12199,12200,12202,12203,12204,12205,12206,12207,12208,12209,12210,12211,12212,12213,12214,12215,12216,12217,12218,12219,12220,12221,12222,12223,12224,12225,12226,12227,12228,12229,12230,12231,12232,12233,12234,12235,12236,12237,12238,12239,12240,12241,12242,12243,12244,12245,12246,12247,12248,12249,12250,12251,12252,12253,12254,12255,12256,12257,12258,12259,12260,12261,12262,12263,12264,12265,12266,12267,12268,12269,12270,12271,12272,12273,12274,12275,12276,12277,12278,12279,12280,12281,12282,12283,12284,12285,12286,12287,12288,12289,12290,12291,12292,12293,12294,12295,12296,12297,12298,12299,12300,12301,12302,12303,12304,12305,12306,12307,12308,12309,12310,12311,12312,12313,12314,12315,12316,12317,12318,12319,12320,12321,12322,12323,12324,12325,12326,12327,12328,12329,12330,12331,12332,12333,12334,12335,12336,12337,12338,12339,12340,12341,12342,12343,12344,12345,12346,12347,12348,12349,12350,12351,12352,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,12436,12437,12438,12439,12440,12441,12442,12443,12444,12445,12446,12447,12448,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,12535,12536,12537,12538,12539,12540,12541,12542,12543,12544,12545,12546,12547,12548,12549,12550,12551,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,12579,12580,12581,12582,12583,12584,12585,12586,12587,12588,12589,12590,12591,12592,12593,12594,12595,12596,12597,12598,12599,12600,12601,12602,12603,12604,12605,12606,12607,12608,12609,12610,12611,12612,12613,12614,12615,12616,12617,12618,12619,12620,12621,12622,12623,12624,12625,12626,12627,12628,12629,12630,12631,12632,12633,12634,12635,12636,12637,12638,12639,12640,12641,12642,12643,12644,12645,12646,12647,12648,12649,12650,12651,12652,12653,12654,12655,12656,12657,12658,12659,12660,12661,12662,12663,12664,12665,12666,12667,12668,12669,12670,12671,12672,12673,12674,12675,12676,12677,12678,12679,12680,12681,12682,12683,12684,12685,12686,12687,12688,12689,12690,12691,12692,12693,12694,12695,12696,12697,12698,12699,12700,12701,12702,12703,12704,12705,12706,12707,12708,12709,12710,12711,12712,12713,12714,12715,12716,12717,12718,12719,12720,12721,12722,12723,12724,12725,12726,12727,12728,12729,12730,12731,12732,12733,12734,12735,12736,12737,12738,12739,12740,12741,12742,12743,12744,12745,12746,12747,12748,12749,12750,12751,12752,12753,12754,12755,12756,12757,12758,12759,12760,12761,12762,12763,12764,12765,12766,12767,12768,12769,12770,12771,12772,12773,12774,12775,12776,12777,12778,12779,12780,12781,12782,12783,12784,12785,12786,12787,12788,12789,12790,12791,12792,12793,12794,12795,12796,12797,12798,12799,12800,12801,12802,12803,12804,12805,12806,12807,12808,12809,12810,12811,12812,12813,12814,12815,12816,12817,12818,12819,12820,12821,12822,12823,12824,12825,12826,12827,12828,12829,12830,12831,12832,12833,12834,12835,12836,12837,12838,12839,12840,12841,12842,12843,12844,12845,12846,12847,12848,12849,12850,12851,12852,12853,12854,12855,12856,12857,12858,12859,12860,12861,12862,12863,12864,12865,12866,12867,12868,12869,12870,12871,12872,12873,12874,12875,12876,12877,12878,12879,12880,12881,12882,12883,12884,12885,12886,12887,12888,12889,12890,12891,12892,12893,12894,12895,12896,12897,12898,12899,12900,12901,12902)) AND h.status=0 AND h.hostid=10017 AND hg.groupid =4 AND ((t.value=1) OR ((t.value=0) AND ((1217344906-t.lastchange)<1800))) ORDER BY t.lastchange DESC] [Unknown column 'hg.groupid' in 'where clause']
        * mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/home/zabbix/public_html/include/db.inc.php:503]

    Next I have a few questions/commentary which are just somethings that I jotted down as I ran through various tests and configurations.

    I configured an item and a trigger, tested it and all worked as expected. I then setup an Action to email me. The action supposedly worked, but I got no email.
    Hrm.
    Administration->Notifications went from 0 to 1, and then when the trigger went off it went to 2. OK so something triggered and it said I was notified. Still no email.
    Hrm.
    No big deal. I will just do what I always do when this comes up on the 1.4 system. I will navigate to Monitoring->Actions, right? Ummm no. There is no Actions under Monitoring.
    Where did it go? I had a friend check to make sure I wasn't crazy, and then we went through and tried to find it elsewhere. I am at a loss. This was a great tool under 1.4 to find what action fired, what the message was, and when it was sent. Was this great tool removed? Or am I just unable to find it's new location? (If I just missed it, feel free to laugh at me btw, it was a typo on the email which I found after reviewing everything again.)

    The next thing I have is, the dashboard. I love it from an Admins view. However, I created a user with limited rights (read only on only Windows servers) and when I logged in as that user, I still saw status messages for the Zabbix server (which is in Linux servers and Zabbix servers. Not Windows servers) on the "Status of Zabbix" menu. Can I not remove this?

    I know this is probably way to late to add in, but it would be nice to be able to display specific items/triggers on the dashboard in the same way you can with the screens.

    Lastly on this topic, I am kind of disappointed in the inventory. Has it changed much since Zabbix 1.0? It looks and performs exactly as it did in 1.4 at least. Considering that the Linux_template picks up the hostname, the Kernel version, and a few other things right off the bat I was kind of hoping that the profile would auto add it/update it in the inventory. I was at least hoping for added fields with the bonus of picking fields that were displayed. Instead it is just the same as it has been...

    OK, time to stop being a downer. The Zabbix team has done a remarkable job and deserves some praise.
    However, that makes the post too long, so I will make it a second post
  • cstackpole
    Senior Member
    Zabbix Certified Specialist
    • Oct 2006
    • 225

    #2
    For hours I have been adding hosts and experimenting with this build. I have too many things to praise for me to list them all off, but I would like to mention a few that are very big for me.

    As an Admin who has a dedicated computer and monitor for watching Zabbix, I really love the dashboard.

    The new Configuration->Actions? Brilliant! I love the layout, everything seems MUCH more intuitive and natural. The escalations (from what I have tested) work perfectly. I love being able to customize messages for triggers on and off. Everything works as expected...I am in awe. This really does make things much easier.

    I haven't exactly pinned down why, but the new interface and menus seem much easier to navigate and use. It is not just me who has noticed it either. just doing simple routine things like adding an item seems much easier. We all are impressed.

    The timeline selector tool. We have seen it before in the earlier betas, but we all love it. We haven't build up enough data yet to really test it, but we like it a lot so far. We do miss having an explicit reset button to take us to the latest hour. However, just hitting the browser refresh seems to do just that, so I don't mind so much

    Then there are a ton of little things that I am drooling over. Like on the Overview page there on the left is a drop down to change the hosts location. I have seen some discussion about that on the forums but I always dismissed it. Now that I have seen it, I think it is great. I would like to see the text at the top angled so I don't have to twist my head so much, but that really is trivial to me.

    Overall, we are very excited about this release. We are migrating a bunch of our development servers to the 1.5 beta system I just built (eg, boxes we don't care if alerts don't go out or if they are not monitored). Hopefully, I will be able to do a lot of testing and reporting of all the great things Zabbix does and be ready for the upcoming release.

    Thanks Zabbix Team!

    Comment

    • Kilrathy
      Junior Member
      • Jul 2008
      • 4

      #3
      Code:
      export/import: Parse error: syntax error, unexpected ';' in /home/zabbix/public_html/exp_imp.php on line 192
      Here's the fix:
      Look at line 192 in exp_imp.php and change
      PHP Code:
      $db_hosts DBselect('SELECT * FROM hosts WHERE '.DBcondition('hostid',array_keys($hosts)); 
      to
      PHP Code:
      $db_hosts DBselect('SELECT * FROM hosts WHERE '.DBcondition('hostid',array_keys($hosts))); 


      I found another bug at the screens.
      Code:
      Fatal error: Call to undefined function get_history_of_triggers_events() in /var/www/zabbix/include/screens.inc.php on line 1077
      This only, when I choose "History of events".

      Comment

      • Aly
        ZABBIX developer
        • May 2007
        • 1126

        #4
        Thanks for a nice review. I hope that thous small, nasty bugs won't get in to the next beta release.
        Zabbix | ex GUI developer

        Comment

        • Kilrathy
          Junior Member
          • Jul 2008
          • 4

          #5
          Is this also a bug or just a problem with my updated installation:

          When I login as Admin and go to Monitoring -> Latest Data and klick on the graph link of any Item, I got always ERROR: No permissions !

          I tried also with a new user, which has also super-admin rights.

          Comment

          • Aly
            ZABBIX developer
            • May 2007
            • 1126

            #6
            There was such bug in some revision..
            Zabbix | ex GUI developer

            Comment

            • cstackpole
              Senior Member
              Zabbix Certified Specialist
              • Oct 2006
              • 225

              #7
              Thanks Kilrathy for the fix!

              Thanks Aly for the work on Zabbix!

              There is a lot of excitement here about the next release. I will keep testing the beta's and will let you guys know if I find anything.

              Thanks!

              Comment

              • cstackpole
                Senior Member
                Zabbix Certified Specialist
                • Oct 2006
                • 225

                #8
                Originally posted by cstackpole
                I configured an item and a trigger, tested it and all worked as expected. I then setup an Action to email me. The action supposedly worked, but I got no email.
                Hrm.
                Administration->Notifications went from 0 to 1, and then when the trigger went off it went to 2. OK so something triggered and it said I was notified. Still no email.
                Hrm.
                No big deal. I will just do what I always do when this comes up on the 1.4 system. I will navigate to Monitoring->Actions, right? Ummm no. There is no Actions under Monitoring.
                Where did it go? I had a friend check to make sure I wasn't crazy, and then we went through and tried to find it elsewhere. I am at a loss. This was a great tool under 1.4 to find what action fired, what the message was, and when it was sent. Was this great tool removed? Or am I just unable to find it's new location? (If I just missed it, feel free to laugh at me btw, it was a typo on the email which I found after reviewing everything again.)
                This is actually still very relevant to me. It has been requested by several users to bring it back. Am I just missing its new location?

                Also, a few users have requested being able to see which actions were sent to them on their Dashboard. Will this be more customizable/flexible in the future?

                Thanks Zabbix team!

                Comment

                • cstackpole
                  Senior Member
                  Zabbix Certified Specialist
                  • Oct 2006
                  • 225

                  #9
                  While speaking with a user on exactly what they would want customized to their dashboard, I realized that it was too complicated. After thinking for a moment, I realized 'Duh! I can use screens!'.

                  So the customization of the Dashboard can really be answered by a custom screen and I redirected the users to their custom screen on login. It works...or at least all appears to at the moment...I would appreciate comments and feedback for others who care about having personalized Dashboard/Screens; what have you done to address this topic?

                  While configuring the screens, I discovered that the "History of Actions" still exists as an item in the screens! Hooray! So that partially solves that problem.

                  I am not sure why it was removed from the Monitoring sub-menu, but I would still really like to have the Actions avalible as a primary sub-menu. Can anyone comment on why it was removed? Can it be added elsewhere besides mounted in a screen?

                  Thanks!

                  Comment

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

                    #10
                    All right, it is time to make things more clear.

                    First of all, history of actions is not removed, it was moved to Administration->Audit->Audit actions. So, it is accessible by ZABBIX Super Administrators only, which I believe makes sense.

                    In order to see how ZABBIX reacted to a specific event, click on a trigger, then click on an event and see nice screen, which provides all possible information about single event including list of executed actions and remote commands.

                    Enjoy! Let me know if you'd like to see any improvements.
                    Alexei Vladishev
                    Creator of Zabbix, Product manager
                    New York | Tokyo | Riga
                    My Twitter

                    Comment

                    • cstackpole
                      Senior Member
                      Zabbix Certified Specialist
                      • Oct 2006
                      • 225

                      #11
                      OK, Now I see.
                      Yes I agree Administration->Audit->Audit actions is a better place to put it. I had seen the Administration->Audit->Audit logs, but somehow completely missed the Audit actions. I have noticed a few other things that have moved and I have a feeling that there will be a few more forum posts from others who just overlooked the new location. It might be beneficial to have this kind of information in a sticky post when 1.6 is released.

                      Also, for the Trigger->Event details....WOW! That is good stuff. I really like that detailed information. I completely missed that before you mentioned it....

                      This is great work! I am really pumped about this release!

                      Comment

                      Working...