Cacti 0.8 Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Time for action – exporting a template

  1. Go to Import/Export and click on the Export Templates link.
  2. Select Host Template as the template type which you want to export.
  3. Select your host template, SNMP Enabled CentOS Server as the Host Template to Export.
  4. Leave the rest to their default values.
  5. Click on Export. You can now store the XML file on your desktop.
    Time for action – exporting a template

What just happened?

You have exported your first host template. The XML file contains all of the necessary information for the host template. This includes:

  • The host template itself
  • All graph templates
  • All data templates
  • All CDEFs needed (isYellow_45-50 and isGreen_0-45)
  • Everything else needed for the host template to work

When re-importing this XML file, Cacti will only create items that do not already exist.