Ad Widget

Collapse

Zabbix not importing template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • user3k
    Junior Member
    • Jun 2014
    • 2

    #1

    Zabbix not importing template

    Hello

    I'm a new user in the Zabbix world.
    I need to monitor mikrotik and ubiquiti devices, mostly.
    So, I found this website with a ubiquiti template: http://nos.irh.it/wiki/SysAdmin/Linux/Zabbix

    I can import the mikrotik template, but the ubiquiti template give me the error:

    "Screen "Ubiquiti M" column span in cell X - 2 Y - 0 is too big."

    What I need to change to correct this error?

    Thanks
  • coreychristian
    Senior Member
    Zabbix Certified Specialist
    • Jun 2012
    • 159

    #2
    Unless you have a big need for that specific screen, you can just edit the xml and remove that section.

    If I found the right template, this is the section you need to remove, you could try editing the screen as well to reduce the column size as well.

    It may just be the template was written and exported on a different version of zabbix.

    Code:
    <screen>
    <name>Ubiquiti M</name>
    <hsize>2</hsize>
    <vsize>3</vsize>
    <screen_items>
    <screen_item>
    <resourcetype>0</resourcetype>
    <width>500</width>
    <height>100</height>
    <x>2</x>
    <y>0</y>
    <colspan>1</colspan>
    <rowspan>1</rowspan>
    <elements>0</elements>
    <valign>0</valign>
    <halign>0</halign>
    <style>0</style>
    <url/>
    <dynamic>0</dynamic>
    <sort_triggers>0</sort_triggers>
    <resource>
    <name>Memory</name>
    <host>Hardware - Ubiquiti M</host>
    </resource>
    </screen_item>
    <screen_item>
    <resourcetype>0</resourcetype>
    <width>500</width>
    <height>100</height>
    <x>1</x>
    <y>1</y>
    <colspan>1</colspan>
    <rowspan>1</rowspan>
    <elements>0</elements>
    <valign>0</valign>
    <halign>0</halign>
    <style>0</style>
    <url/>
    <dynamic>0</dynamic>
    <sort_triggers>0</sort_triggers>
    <resource>
    <name>Wireless Link Signal</name>
    <host>Hardware - Ubiquiti M</host>
    </resource>
    </screen_item>
    <screen_item>
    <resourcetype>0</resourcetype>
    <width>500</width>
    <height>100</height>
    <x>2</x>
    <y>1</y>
    <colspan>1</colspan>
    <rowspan>1</rowspan>
    <elements>0</elements>
    <valign>0</valign>
    <halign>0</halign>
    <style>0</style>
    <url/>
    <dynamic>0</dynamic>
    <sort_triggers>0</sort_triggers>
    <resource>
    <name>Wireless Link Speed</name>
    <host>Hardware - Ubiquiti M</host>
    </resource>
    </screen_item>
    <screen_item>
    <resourcetype>0</resourcetype>
    <width>500</width>
    <height>100</height>
    <x>2</x>
    <y>2</y>
    <colspan>1</colspan>
    <rowspan>1</rowspan>
    <elements>0</elements>
    <valign>0</valign>
    <halign>0</halign>
    <style>0</style>
    <url/>
    <dynamic>0</dynamic>
    <sort_triggers>0</sort_triggers>
    <resource>
    <name>Network usage - wireless</name>
    <host>Hardware - Ubiquiti M</host>
    </resource>
    </screen_item>
    <screen_item>
    <resourcetype>0</resourcetype>
    <width>500</width>
    <height>100</height>
    <x>0</x>
    <y>0</y>
    <colspan>1</colspan>
    <rowspan>1</rowspan>
    <elements>0</elements>
    <valign>0</valign>
    <halign>0</halign>
    <style>0</style>
    <url/>
    <dynamic>0</dynamic>
    <sort_triggers>0</sort_triggers>
    <resource>
    <name>CPU</name>
    <host>Hardware - Ubiquiti M</host>
    </resource>
    </screen_item>
    <screen_item>
    <resourcetype>0</resourcetype>
    <width>500</width>
    <height>100</height>
    <x>1</x>
    <y>0</y>
    <colspan>1</colspan>
    <rowspan>1</rowspan>
    <elements>0</elements>
    <valign>0</valign>
    <halign>0</halign>
    <style>0</style>
    <url/>
    <dynamic>0</dynamic>
    <sort_triggers>0</sort_triggers>
    <resource>
    <name>Memory</name>
    <host>Hardware - Ubiquiti M</host>
    </resource>
    </screen_item>
    <screen_item>
    <resourcetype>0</resourcetype>
    <width>500</width>
    <height>100</height>
    <x>0</x>
    <y>1</y>
    <colspan>1</colspan>
    <rowspan>1</rowspan>
    <elements>0</elements>
    <valign>0</valign>
    <halign>0</halign>
    <style>0</style>
    <url/>
    <dynamic>0</dynamic>
    <sort_triggers>0</sort_triggers>
    <resource>
    <name>Wireless Link Speed</name>
    <host>Hardware - Ubiquiti M</host>
    </resource>
    </screen_item>
    <screen_item>
    <resourcetype>0</resourcetype>
    <width>500</width>
    <height>100</height>
    <x>0</x>
    <y>2</y>
    <colspan>1</colspan>
    <rowspan>1</rowspan>
    <elements>0</elements>
    <valign>0</valign>
    <halign>0</halign>
    <style>0</style>
    <url/>
    <dynamic>0</dynamic>
    <sort_triggers>0</sort_triggers>
    <resource>
    <name>Network usage - eth0</name>
    <host>Hardware - Ubiquiti M</host>
    </resource>
    </screen_item>
    <screen_item>
    <resourcetype>0</resourcetype>
    <width>500</width>
    <height>100</height>
    <x>1</x>
    <y>2</y>
    <colspan>1</colspan>
    <rowspan>1</rowspan>
    <elements>0</elements>
    <valign>0</valign>
    <halign>0</halign>
    <style>0</style>
    <url/>
    <dynamic>0</dynamic>
    <sort_triggers>0</sort_triggers>
    <resource>
    <name>Network usage - wireless</name>
    <host>Hardware - Ubiquiti M</host>
    </resource>
    </screen_item>
    </screen_items>
    </screen>

    Comment

    • user3k
      Junior Member
      • Jun 2014
      • 2

      #3
      Thanks, it worked.

      Originally posted by coreychristian
      Unless you have a big need for that specific screen, you can just edit the xml and remove that section.

      If I found the right template, this is the section you need to remove, you could try editing the screen as well to reduce the column size as well.

      It may just be the template was written and exported on a different version of zabbix.

      Code:
      <screen>
      <name>Ubiquiti M</name>
      <hsize>2</hsize>
      <vsize>3</vsize>
      <screen_items>
      <screen_item>
      <resourcetype>0</resourcetype>
      <width>500</width>
      <height>100</height>
      <x>2</x>
      <y>0</y>
      <colspan>1</colspan>
      <rowspan>1</rowspan>
      <elements>0</elements>
      <valign>0</valign>
      <halign>0</halign>
      <style>0</style>
      <url/>
      <dynamic>0</dynamic>
      <sort_triggers>0</sort_triggers>
      <resource>
      <name>Memory</name>
      <host>Hardware - Ubiquiti M</host>
      </resource>
      </screen_item>
      <screen_item>
      <resourcetype>0</resourcetype>
      <width>500</width>
      <height>100</height>
      <x>1</x>
      <y>1</y>
      <colspan>1</colspan>
      <rowspan>1</rowspan>
      <elements>0</elements>
      <valign>0</valign>
      <halign>0</halign>
      <style>0</style>
      <url/>
      <dynamic>0</dynamic>
      <sort_triggers>0</sort_triggers>
      <resource>
      <name>Wireless Link Signal</name>
      <host>Hardware - Ubiquiti M</host>
      </resource>
      </screen_item>
      <screen_item>
      <resourcetype>0</resourcetype>
      <width>500</width>
      <height>100</height>
      <x>2</x>
      <y>1</y>
      <colspan>1</colspan>
      <rowspan>1</rowspan>
      <elements>0</elements>
      <valign>0</valign>
      <halign>0</halign>
      <style>0</style>
      <url/>
      <dynamic>0</dynamic>
      <sort_triggers>0</sort_triggers>
      <resource>
      <name>Wireless Link Speed</name>
      <host>Hardware - Ubiquiti M</host>
      </resource>
      </screen_item>
      <screen_item>
      <resourcetype>0</resourcetype>
      <width>500</width>
      <height>100</height>
      <x>2</x>
      <y>2</y>
      <colspan>1</colspan>
      <rowspan>1</rowspan>
      <elements>0</elements>
      <valign>0</valign>
      <halign>0</halign>
      <style>0</style>
      <url/>
      <dynamic>0</dynamic>
      <sort_triggers>0</sort_triggers>
      <resource>
      <name>Network usage - wireless</name>
      <host>Hardware - Ubiquiti M</host>
      </resource>
      </screen_item>
      <screen_item>
      <resourcetype>0</resourcetype>
      <width>500</width>
      <height>100</height>
      <x>0</x>
      <y>0</y>
      <colspan>1</colspan>
      <rowspan>1</rowspan>
      <elements>0</elements>
      <valign>0</valign>
      <halign>0</halign>
      <style>0</style>
      <url/>
      <dynamic>0</dynamic>
      <sort_triggers>0</sort_triggers>
      <resource>
      <name>CPU</name>
      <host>Hardware - Ubiquiti M</host>
      </resource>
      </screen_item>
      <screen_item>
      <resourcetype>0</resourcetype>
      <width>500</width>
      <height>100</height>
      <x>1</x>
      <y>0</y>
      <colspan>1</colspan>
      <rowspan>1</rowspan>
      <elements>0</elements>
      <valign>0</valign>
      <halign>0</halign>
      <style>0</style>
      <url/>
      <dynamic>0</dynamic>
      <sort_triggers>0</sort_triggers>
      <resource>
      <name>Memory</name>
      <host>Hardware - Ubiquiti M</host>
      </resource>
      </screen_item>
      <screen_item>
      <resourcetype>0</resourcetype>
      <width>500</width>
      <height>100</height>
      <x>0</x>
      <y>1</y>
      <colspan>1</colspan>
      <rowspan>1</rowspan>
      <elements>0</elements>
      <valign>0</valign>
      <halign>0</halign>
      <style>0</style>
      <url/>
      <dynamic>0</dynamic>
      <sort_triggers>0</sort_triggers>
      <resource>
      <name>Wireless Link Speed</name>
      <host>Hardware - Ubiquiti M</host>
      </resource>
      </screen_item>
      <screen_item>
      <resourcetype>0</resourcetype>
      <width>500</width>
      <height>100</height>
      <x>0</x>
      <y>2</y>
      <colspan>1</colspan>
      <rowspan>1</rowspan>
      <elements>0</elements>
      <valign>0</valign>
      <halign>0</halign>
      <style>0</style>
      <url/>
      <dynamic>0</dynamic>
      <sort_triggers>0</sort_triggers>
      <resource>
      <name>Network usage - eth0</name>
      <host>Hardware - Ubiquiti M</host>
      </resource>
      </screen_item>
      <screen_item>
      <resourcetype>0</resourcetype>
      <width>500</width>
      <height>100</height>
      <x>1</x>
      <y>2</y>
      <colspan>1</colspan>
      <rowspan>1</rowspan>
      <elements>0</elements>
      <valign>0</valign>
      <halign>0</halign>
      <style>0</style>
      <url/>
      <dynamic>0</dynamic>
      <sort_triggers>0</sort_triggers>
      <resource>
      <name>Network usage - wireless</name>
      <host>Hardware - Ubiquiti M</host>
      </resource>
      </screen_item>
      </screen_items>
      </screen>

      Comment

      Working...