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.xmlImportant
You must use the key
ds_importfilefor data sources and the keyalarm_importfilefor alarms.
To automatically import alarms or data sources:
Put the
autoimport.conffile 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.
On the command line, run the following command to restart the CPService:
service cpservice restartThe script runs and imports any alarms or data sources. If the import fails, fix the errors listed in the file
/var/logs/messagesand repeat this procedure.