Ad Widget

Collapse

Export host configuration with discovered items and triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • superset
    Junior Member
    • Jul 2019
    • 11

    #1

    Export host configuration with discovered items and triggers

    Hi,

    I need to export a large amount of hosts and then import them on a new zabbix installation. Some of these hosts have 500+ discovered items with manually created triggers and i just noticed these items and triggers are not getting exported/imported!!

    Anybody know of a workaround to this problem?
  • superset
    Junior Member
    • Jul 2019
    • 11

    #2
    Originally posted by splitek
    Discovered items (and template items) are not discovered because they will appear when LLD runs (and for template when template connected to host).
    Try to import templates first, next hosts.... wait for LLD to make all items... import again hosts but select only things from column "create new".
    Hope it helps.
    Dosen't seem to work my custom "test" trigger based on a LLD item is not getting imported.

    Edit: just did a test and the Manuel created triggers that are based on LLD dont even get exported to the xml file.
    Last edited by superset; 06-08-2020, 11:51.

    Comment

    • superset
      Junior Member
      • Jul 2019
      • 11

      #3
      Originally posted by splitek
      In Zabbix 4.4.6 it is working. I get no items in it but expression exist. Maybe some bug in your version of Zabbix?
      i'm running 4.0.10 , so either a bug a new feature in 4.4.

      Are you using host export from GUI or API?

      Gonna restore a backup of the database and upgrade to 4.4.6 , this seems like the fastest way.

      Comment

      Working...