Ad Widget

Collapse

Bug/Patch 1.1beta9

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jean
    Member
    • Apr 2006
    • 85

    #1

    Bug/Patch 1.1beta9

    File ../create/mysql/schema.sql misse the entries for the tables escalation...
    PHP Code:
    --
    -- 
    Table structure for table 'escalations'
    --
    CREATE TABLE escalations (
      
    escalationid          int(4)          NOT NULL auto_increment,
      
    name                  varchar(64)     DEFAULT '0' NOT NULL,
      
    dflt                  int(2)          DEFAULT '0' NOT NULL,
      
    PRIMARY KEY (escalationid),
      
    UNIQUE (name)
    type=InnoDB;

    --
    -- 
    Table structure for table 'escalation_rules'
    --

    CREATE TABLE escalation_rules (
      
    escalationruleid      int(4)          NOT NULL auto_increment,
      
    escalationid          int(4)          DEFAULT '0' NOT NULL,
      
    level                 int(4)          DEFAULT '0' NOT NULL,
      
    period                varchar(100)    DEFAULT '1-7,00:00-23:59' NOT NULL,
      
    delay                 int(4)          DEFAULT '0' NOT NULL,
      
    actiontype            int(4)          DEFAULT '0' NOT NULL,
      
    PRIMARY KEY (escalationruleid),
      
    KEY (escalationid)
    type=InnoDB;

    --
    -- 
    Table structure for table 'escalation_log'
    --

    CREATE TABLE escalation_log (
      
    escalationlogid       int(4)          NOT NULL auto_increment,
      
    triggerid             int(4)          DEFAULT '0' NOT NULL,
      
    alarmid               int(4)          DEFAULT '0' NOT NULL,
      
    escalationid          int(4)          DEFAULT '0' NOT NULL,
      
    actiontype            int(4)          DEFAULT '0' NOT NULL,
      
    level                 int(4)          DEFAULT '0' NOT NULL,
      
    adminlevel            int(4)          DEFAULT '0' NOT NULL,
      
    nextcheck             int(4)          DEFAULT '0' NOT NULL,
      
    status                int(4)          DEFAULT '0' NOT NULL,
      
    PRIMARY KEY (escalationlogid),
      
    KEY (alarmid,escalationid),
      
    KEY (triggerid)
    type=InnoDB
    Compilation error when --enable-static :
    In these files ../src/zabbix_server/Makefile ../src/zabbix_agentd/Makefile, misses -lresolv in several parts :
    False : libzbxcommon.a
    True : libzbxcommon.a -lresolv

    Bug 1 : When you want to add a Hosts group, this error appear : No host groups with groupid=[0]

    Bug 2 : When you want to add a connection between two elements in a map, this error appear :
    Warning. Field [selementid1] is mandatory
    Warning. Field [drawtype_off] is mandatory
    Warning. Field [color_off] is mandatory
  • adam.vollrath
    Member
    • Apr 2006
    • 31

    #2
    I've posted a patch for Bug 2 over in the patches forum:

    Comment

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

      #3
      The escalations tables are not used since 1.1beta9.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • jean
        Member
        • Apr 2006
        • 85

        #4
        escalation tables

        Ok, but in the the log of the servers, there was errors about the missing of the esacalation tables...

        Comment

        • munchmantx
          Junior Member
          • Sep 2005
          • 3

          #5
          I am having the same symptom listed in Bug 1:

          Bug 1 : When you want to add a Hosts group, this error appear : No host groups with groupid=[0]
          I have modified my installation to have the patched forms.inc.php but this appears to have nothing to do with the issue I'm having.

          I am unable to add any Host Groups and have them show up.

          Suggestions?

          Comment

          • munchmantx
            Junior Member
            • Sep 2005
            • 3

            #6
            No host groups with groupid=[0]

            Help! I am still having this error at the bottom of my Host Groups / "Create Group" screen.

            No host groups with groupid=[0]

            I also cannot create groups. Can someone explain what this error means and suggest how I might fix it?

            Thanks very much!

            Comment

            • fmtaylor2
              Member
              • May 2006
              • 66

              #7
              new groups

              I am not sure what causes that error or why. However, to create a new group, go to the host config type in your new group name in the new group box and hit save. Worked for me.

              The problem you cited should probably be fixed and/or the option removed in future versions....

              Comment

              • munchmantx
                Junior Member
                • Sep 2005
                • 3

                #8
                Can't Add New Host Group

                I am following DividebyZero's step-by-step guide blog at:

                specifically, at step:
                27 April 2006. Filling the windows office with happy little penguins.

                I go to Configuration / Hosts / Change to Host Groups / Create Group.
                (On this screen is where the "No host groups with groupid=[0]" message appears in red at the bottom.

                I fill in the "Name" field with Routers_Inodes (as per the blog example) or any other text (have tried other names) and click Save.

                This brings me to a page that says "Group Updated" at the top, but my group never appears when I go back to the Host Groups page?!

                Am I not following the logic? (entirely possible)

                Comment

                Working...