Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
      None

      Description

      There is a problem with export/import triggers based on

      {HOSTNAME} macro.

      We create item with {HOSTNAME}

      macro and then we create trigger based on it. Export of such template goes OK. During import procedure everything goes OK (Import cuccessfully) but into log details we receive an error

      Added new item Template_netia_oracle_DB_TS_template1:netia.oracle.db[

      {HOSTNAME},tablespace,template,used]
      No such monitored parameter (netia.oracle.db[Template_netia_oracle_DB_TS_template1,tablespace,template,freep]) for host (Template_netia_oracle_DB_TS_template1)
      No such monitored parameter (netia.oracle.db[Template_netia_oracle_DB_TS_template1,tablespace,template,freep]) for host (Template_netia_oracle_DB_TS_template1)
      No such monitored parameter (netia.oracle.db[Template_netia_oracle_DB_TS_template1,tablespace,template,free_dsk]) for host (Template_netia_oracle_DB_TS_template1)

      An XML triggers section looks like that

      <triggers>
      <trigger>
      <description>Netia.oracle.ts.freep Space alert</description>
      <type>0</type>
      <expression>{{HOSTNAME}

      :netia.oracle.db[

      {HOSTNAME},tablespace,template,auto].last(0)}=0 & {{HOSTNAME}

      :netia.oracle.db[

      {HOSTNAME},tablespace,template,freep].last(0)}<10</expression>
      <url></url>
      <status>0</status>
      <priority>3</priority>
      <comments></comments>
      </trigger>
      <trigger>
      <description>Netia.oracle.ts.freep Space {ITEM.LASTVALUE}</description>
      <type>0</type>
      <expression>{{HOSTNAME}

      :netia.oracle.db[

      {HOSTNAME},tablespace,template,freep].last(0)}<15 & {{HOSTNAME}

      :netia.oracle.db[

      {HOSTNAME},tablespace,template,freep].last(0)} > 10</expression>
      <url></url>
      <status>0</status>
      <priority>2</priority>
      <comments></comments>
      </trigger>
      <trigger>
      <description>Netia.oracle.ts.freep Space error</description>
      <type>0</type>
      <expression>{{HOSTNAME}

      :netia.oracle.db[

      {HOSTNAME},tablespace,template,auto].last(0)}>0 & {{HOSTNAME}

      :netia.oracle.db[

      {HOSTNAME},tablespace,template,free_extp].last(0)}<10 | {{HOSTNAME}

      :netia.oracle.db[

      {HOSTNAME},tablespace,template,auto].last(0)}>0 & {{HOSTNAME}

      :netia.oracle.db[

      {HOSTNAME},tablespace,template,free_dsk].last(0)}<15000000000</expression>
      <url></url>
      <status>0</status>
      <priority>4</priority>
      <comments></comments>
      </trigger>

      There is a problem with second elicitation of {HOSTNAME}

      macro

        Attachments

          Activity

            People

            • Assignee:
              sasha Alexander Vladishev
              Reporter:
              sasha Alexander Vladishev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: