User Renaming
Introduction
Configure user-rename.map
to use a new user name for the users. The new user name will be visible in both the License Monitor and historical reports.
Apply the configurations shown in the Open iT Core Server.
Configuring user-rename.map
- Windows
- Unix
-
Open
user-rename.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 the username with the following syntax:
Mapping SyntaxMAP: <New_UserName>
<Old_UserName>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 Optimizing Rules to Speed Up Rename or Mapping page.In the mapping file, entries are case-insensitive, meaning that capitalization variations, such as 'User' and 'user', will be recognized as identical. Also, note that leading and trailing spaces are removed from entries.
ExampleMAP: jsmith
smithThis example renames smith as jsmith.
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.
-
Open
user-rename.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 the username with the following syntax:
Mapping SyntaxMAP: <New_UserName>
<Old_UserName>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 Optimizing Rules to Speed Up Rename or Mapping page.In the mapping file, entries are case-insensitive, meaning that capitalization variations, such as 'User' and 'user', will be recognized as identical. Also, note that leading and trailing spaces are removed from entries.
ExampleMAP: jsmith
smithThis example renames smith as jsmith.
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.
This mapping may affect the following data types:
Licpoll2
- (45) Total License Use v2.0
- (46) Individual License Use v2.0
- (47) Host License Use v2.0
- (49) Host User License Use
- (71) Usergroup License Use v2.0
- (72) Hostgroup License Use v2.0
- (93) OLAP Raw Hourly
- (95) Usergroup License Use v3.0
Freeze
FlexLog2
Licenseevents2
Licusage
Vray
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:
For historical reports: