Ad Widget

Collapse

Moving from static keys to LLD

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #1

    Moving from static keys to LLD

    Hi,

    I have kind of problem related to subject. Simple I want to preserve historic data of statically monitored for example root fs volume monitoring data and move these data to newly created items using LLD.
    On first if new template will not contain / volume items old template can be unlinked and after apply new template such items will be still present as untemplated. In the same time LLD which will generate vfs.fs.size[/,free] will fail because it will be conflict between untemplate item using the same key.

    Theoretically it may be possible using SQL queries to assign the same itemid to new item created using LLD but this is only theory as long as LLD will be not able to create own items because it will be keys definition clash.

    Someone have been doing such zabbix internal data migration or maybe prepared some kind of general approach or even piece of script which may be used on such scenario?

    Regards

    kloczek
    Last edited by kloczek; 28-09-2014, 22:43.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates
  • ik_zelf
    Member
    • Feb 2015
    • 60

    #2
    Hi Kloczek,

    did you happen to succeed in this challenge?
    I would love to hear how this could be done ...

    thanks,
    Ronald.

    Comment

    Working...