Ad Widget

Collapse

How to import graphs with LLD items?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kacper
    Junior Member
    • May 2020
    • 1

    #1

    How to import graphs with LLD items?

    Hello,

    I'm having some trouble importing exported configuration (using API configuration.export and configuration.import). My graphs contain references to items discovered during Low-level discovery (see example) and I'm unable to import them as Zabbix complains that that item keys are missing. I guess LLD hasn't run yet and the key vfs.fs.size[/,pused] doesn't exist yet. Is there any better way of doing this then disabling LLD and manually creating the missing items?

    Code:
    <graph>
    <name>Disks</name>
    <width>900</width>
    <height>200</height>
    <yaxismin>0.0000</yaxismin>
    <yaxismax>100.0000</yaxismax>
    <show_work_period>1</show_work_period>
    <show_triggers>1</show_triggers>
    <type>0</type>
    <show_legend>1</show_legend>
    <show_3d>0</show_3d>
    <percent_left>0.0000</percent_left>
    <percent_right>0.0000</percent_right>
    <ymin_type_1>0</ymin_type_1>
    <ymax_type_1>0</ymax_type_1>
    <ymin_item_1>0</ymin_item_1>
    <ymax_item_1>0</ymax_item_1>
    <graph_items>
    <graph_item>
    <sortorder>0</sortorder>
    <drawtype>0</drawtype>
    <color>FC6EA3</color>
    <yaxisside>0</yaxisside>
    <calc_fnc>2</calc_fnc>
    <type>0</type>
    <item>
    <host>Zabbix server</host>
    <key>vfs.fs.size[/,pused]</key>
    </item>
    </graph_item>
    ...
Working...