#
Creating Hostgroups based on Hostnames
#
Introduction
Configure host-to-groups.map
to create groups based on hosts.
Apply the configurations shown in the Open iT server.
#
Configuring host-to-groups.map
Open
host-to-groups.map
in the Configuration director, which is by default inC:\Program Files\OpeniT\Core\Configuration
.Notice that it contains instructions on how to edit the file.
Specify host names with the following syntax:
MAP: HostGroupName (GroupType) Hostname1 Hostname2
It is recommended to include the
GroupType
, although the mapping will work regardless of its inclusion.Empty lines are allowed — any line beginning with # as the first non-white character is considered a comment. Globbing is also supported. You can use several globbing patterns, but keep in mind that they are slower than exact matches.
In the mapping file, entries are case-insensitive. This means that variations in capitalization, such as 'Host' and 'host', will be recognized as identical. Also, both leading and trailing spaces are removed from entries.
Each host can belong to multiple groups.
ExampleMAP: MNL-Group (Location) mnl*
This example maps all hosts starting with mnl in MNL-Group and using the Location as group type.
Save the changes.
The mapping file will only affect the data collected after configuring. To apply the mapping for historical data, you need to regenerate that data. This process will help ensure that all your information is aligned and accurate.
Open
host-to-groups.map
in the etc directory, which is by default in/var/opt/openit/etc
.Notice that it contains instructions on how to edit the file.
Specify host names with the following syntax:
MAP: HostGroupName (GroupType) Hostname1 Hostname2
It is recommended to include the
GroupType
, although the mapping will work regardless of its inclusion.Empty lines are allowed — any line beginning with # as the first non-white character is considered a comment. Globbing is also supported. You can use several globbing patterns, but keep in mind that they are slower than exact matches.
In the mapping file, entries are case-insensitive. This means that variations in capitalization, such as 'Host' and 'host', will be recognized as identical. Also, both leading and trailing spaces are removed from entries.
Each host can belong to multiple groups.
ExampleMAP: MNL-Group (Location) mnl*
This example maps all hosts starting with mnl in MNL-Group and using the Location as group type.
Save the changes.
The mapping file will only affect the data collected after configuring. To apply the mapping for historical data, you need to regenerate that data. This process will help ensure that all your information is aligned and accurate.
Licpoll2
Licenseevents2
#
Next Steps?
Proceed with data regeneration after configuring all the necessary mapping files to apply the changes in the real-time and historical reports.
For real-time reports:
Generating License Status Data
For historical reports: