The new docs.trellix.com offers a modernized UI and AI-powered features like conversational searches. Content is currently available only in English. Other languages will be available in mid-October 2026. We hope you enjoy the new experience.

Import alarms and data sources automatically

Prev Next

You can use the command line to automatically import data sources and alarms. When you restart the CPService, it looks for a configuration file which, if present, automatically imports any alarms and data sources. The configuration file must include the full path name to the import files. The following example shows how the autoimport.conf file should be written.

ds_importfile=/var/dsimport.csv
alarm_importfile=/var/alarm.xml

Important

You must use the key ds_importfile for data sources and the key alarm_importfile for alarms.

To automatically import alarms or data sources:

  1. Put the autoimport.conf file in the folder /etc/NitroGuard.

    Note

    Trellix ESM must be able to access this folder. If it is a shared folder, you must first mount the folder in Trellix ESM.

  2. On the command line, run the following command to restart the CPService:

    service cpservice restart

    The script runs and imports any alarms or data sources. If the import fails, fix the errors listed in the file /var/logs/messages and repeat this procedure.