Ad Widget

Collapse

Copying triggers is not working ...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wmo
    Junior Member
    • Feb 2007
    • 18

    #1

    Copying triggers is not working ...

    Well i ran into a annoying problem.

    In our configuration we have multiple groups and multiple templates.

    But it seems that we cannot copy triggers from one template to another.
    When i press "copy selected to" nothing happens.

    No matter where i press it (from inside a host or template) it just doesn't show the copy screen.

    Copying items is no problem, only triggers are giving us a problem.

    Anyone has this too? Anyone know a fix for it?
  • Farzad FARID
    Member
    • Apr 2007
    • 79

    #2
    Originally posted by wmo
    [...]

    No matter where i press it (from inside a host or template) it just doesn't show the copy screen.

    Copying items is no problem, only triggers are giving us a problem.

    Anyone has this too? Anyone know a fix for it?
    Hi, don't forget to alway specify the version number in your requests. What version are you using?

    With zabbix pre-1.3.6 (r4064) copying items and triggers between templates works fine for me, with no obvious error. So you could try updating and recompiling your code first.

    Regards

    Comment

    • wmo
      Junior Member
      • Feb 2007
      • 18

      #3
      the version i'm using is 1.3.4

      Comment

      • Farzad FARID
        Member
        • Apr 2007
        • 79

        #4
        Originally posted by wmo
        the version i'm using is 1.3.4
        OK, si I guess upgrading to 1.3.6 (which is much stabler) can be tricky for you because the database schema has changed a bit.

        Someone posted a script for upgrading from 1.3.4 to 1.3.5, http://www.zabbix.com/forum/showthread.php?t=5840, you could try it. And the changes from .5 to .6 are trivial (add some fields you may have not used yet):

        Code:
        --- zabbix-1.3.5/create/schema/mysql.sql        2007-04-16 19:27:32.000000000 +0200
        +++ zabbix-1.3.6/create/schema/mysql.sql        2007-04-26 18:47:56.000000000 +0200
        @@ -27,6 +27,8 @@
                dcheckid                bigint unsigned         DEFAULT '0'     NOT NULL,
                druleid         bigint unsigned         DEFAULT '0'     NOT NULL,
                type            integer         DEFAULT '0'     NOT NULL,
        +       key_            varchar(255)            DEFAULT '0'     NOT NULL,
        +       snmp_community          varchar(255)            DEFAULT '0'     NOT NULL,
                ports           varchar(255)            DEFAULT '0'     NOT NULL,
                PRIMARY KEY (dcheckid)
         ) type=InnoDB;
        @@ -43,6 +45,8 @@
                dserviceid              bigint unsigned         DEFAULT '0'     NOT NULL,
                dhostid         bigint unsigned         DEFAULT '0'     NOT NULL,
                type            integer         DEFAULT '0'     NOT NULL,
        +       key_            varchar(255)            DEFAULT '0'     NOT NULL,
        +       value           varchar(255)            DEFAULT '0'     NOT NULL,
                port            integer         DEFAULT '0'     NOT NULL,
                status          integer         DEFAULT '0'     NOT NULL,
                lastup          integer         DEFAULT '0'     NOT NULL,
        Then you'll enjoy the smooth copying of triggers without a glitch

        Comment

        Working...