#
Mapping User IP Address to Hostname
#
Introduction
Configure ip-to-hostname.map
to map user IP addresses to hostnames.
Apply the configurations shown in the Open iT server.
#
Configuring ip-to-hostname.map
Open
ip-to-hostname.map
in the Configuration directory, which is by default inC:\Program Files\OpeniT\Core\Configuration
.Notice that it contains instructions on how to edit the file.
Specify IP addresses with the following syntax:
Mapping SyntaxMAP: host_name <IP_address1> <IP_address2>
Empty lines are allowed — any line beginning with # as the first non-whitespace character is considered a comment. Globbing is also supported, allowing you to use several globbing patterns; however, remember that they are slower than exact matches. To make your mapping files more effective and efficient, refer to the Optimize Rules to Speed-up Rename or Mapping page.
In the mapping file, entries are case-insensitive, meaning that capitalization variations, such as 'Host' and 'host', will be recognized as identical. Also, note that leading and trailing spaces are removed from entries.
ExampleMAP: MNLHost01 10.124.113.250 10.56.43.78 10.214.139.109
This example maps 10.124.113.250, 10.56.43.78 and 10.214.139.109 to MNLHost01 hostname.
You can also include custom configurations in this mapping file, such as default mapping, setting date limits on specific mapping entries, or creating nested maps.
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
ip-to-hostname.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 IP addresses with the following syntax:
Mapping SyntaxMAP: host_name <IP_address1> <IP_address2>
Empty lines are allowed — any line beginning with # as the first non-whitespace character is considered a comment. Globbing is also supported, allowing you to use several globbing patterns; however, remember that they are slower than exact matches. To make your mapping files more effective and efficient, refer to the Optimize Rules to Speed-up Rename or Mapping page.
In the mapping file, entries are case-insensitive, meaning that capitalization variations, such as 'Host' and 'host', will be recognized as identical. Also, note that leading and trailing spaces are removed from entries.
ExampleMAP: MNLHost01 10.124.113.250 10.56.43.78 10.214.139.109
This example maps 10.124.113.250, 10.56.43.78 and 10.214.139.109 to MNLHost01 hostname.
You can also include custom configurations in this mapping file, such as default mapping, setting date limits on specific mapping entries, or creating nested maps.
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.
Webappbrowseractivity
- (122) Web App Browser Activity
Webappproxylog
- (121) Web App Proxy Log
#
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: