How to import profiles



Profiles contain both predefined and user-definable monitoring parameter settings and can be imported into the configuration tool for use in designing and managing hosts and services. Profiles can also be exported making profiles portable and enabling the sharing of files. This page reviews the process of importing service profiles and services.

GroundWork Monitor includes three installed basic profiles:

Additional supported profiles are distributed with GroundWork Monitor. These XML profile files are stored in the /usr/local/groundwork/core/profiles folder upon a GroundWork Monitor installation and need to be imported. This process enables users to import only those files that are needed.

The Profile Importer tool is used to import, update modifications, or import customized profiles into the monarch configuration database. You can also select to remove unwanted profiles. The importer lists groups of categorized sets of available profile files, imports the selected XML files, and automatically searches and imports the corresponding performance configuration companion file (if there is one). Any associated plugins will need to be copied to the GroundWork server.

Importing service profiles and services
  1. Select Configuration > Profiles.
  2. Select Profile Importer then Import. You will see a list of groups containing eligible files.
  3. Select a group, then select the box next to each of the files you wish to import.
  4. At the bottom of the list, select Overwrite Existing Objects if you wish to overwrite existing objects and replace all matching time periods, commands, templates, services and profiles.
    Normally, existing objects and sub-objects also defined in our imported profile(s) will be left as-is in the database. There is a tradeoff here. This default action preserves the integrity of existing setup that uses these objects, but it also means that some parts of your newly imported objects will use existing definitions instead of any different definitions in the profile file(s) being imported. If you need to overwrite ALL the old definitions of such objects, you must chick this box before running the import. BE CAREFUL with this option, as it applies to ALL objects in the imported profile file(s).
  5. When ready, select Import. The status of your import will be displayed in the Import Status screen.

    Figure: Profiles Importer
Removing files from the profiles folder
  1. Select Configuration > Profiles.
  2. Select Profile Importer. You will see a list of all eligible files that are currently in the import folder directory /usr/local/groundwork/core/profiles.
  3. Select the box next to each of the files you wish to remove.
  4. Scroll down to the bottom of the screen and select Remove.

    Figure: Removing profiles

  5. You will see a list of files that will be remove if you choose to proceed. This affects only the profile files in the filesystem; objects already in the database from profiles which have previously been imported will be left untouched. Select Delete to proceed.

    Figure: Removing profiles
Uploading from your desktop

To upload a profile file from your desktop you would use the New option. Profile files can be generated from the Export button found on the main Host Profile page or the main Service Profile page. The uploaded file must have a .xml filename extension.

  1. Select Configuration > Profiles.
  2. Select Profile Importer.
  3. Select New.
  4. In the Profile Importer screen you can use Browse to locate the file to upload. The Upload folder is the server directory where the uploaded profile file will reside, e.g. /user/local/groundwork/core/profiles/Uploaded.
  5. Next, check the Overwrite existing file box if you with to replace a file of the same name in the import folder. Normally, an existing file in the upload folder will be left as-is if you try to upload a file of the same name, to prevent accidental data destruction. If you need to overwrite an existing file you must check this box before running the upload.
  6. Select Upload.

    Figure: Uploading