Device/mapping group assignmentsΒΆ
To import a list of device/mapping group assignments, execute the following from the scrut_util interactive shell (SCRUTINIZER>
prompt):
import csv_to_membership <PATH/FILE> [TYPE] [FORMAT]
Direct shell/script syntax
scrut_util --import csv_to_membership --file <PATH/FILE> --grouptype [TYPE] --file_format [FORMAT]
File requirements
The file to be imported must be a CSV file, and the path provided must be relative to the home/plixer/scrutinizer/
directory.
Definition format
Each assignment should be in a single line, following the format:
IP_ADDRESS,GROUP_NAME
Additional notes
The
TYPE
parameter specifies the device/mapping group type for any groups that will be created as part of the import operation. Valid values areplixer
(for spatial maps) andgoogle
for geographical maps.The optional
FORMAT
parameter can be used to override the defaultipaddr,group
element formatting in case the contents of the import file are formatted differently (e.g.,group,ipaddr
).
Definition examples
10.169.1.3,Routers
192.168.6.1,Firewalls