# Creating Hostgroups based on Hostnames

Configure host-to-groups.map to create a group based on hosts.

  1. Open host-to-groups.map in the Configuration director, which is by default in C:\Program Files\OpeniT\Core\Configuration.

    Notice that it contains instructions on how to edit the file.

  2. Specify host names with the following syntax:

    MAP: HostGroupName (GroupType)
    Hostname1
    Hostname2

    Empty lines are allowed — any line beginning with # as the first non-white character is considered a comment. Globbing is also supported.

    Example
    MAP: MNL-Group (Location)
    mnl*

    This example maps all hosts starting with mnl in MNL-Group and using the Location as group type.

  3. Save the changes.

  1. 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.

  2. Specify host names with the following syntax:

    MAP: HostGroupName (GroupType)
    Hostname1
    Hostname2

    Empty lines are allowed — any line beginning with # as the first non-white character is considered a comment. Globbing is also supported.

    Example
    MAP: MNL-Group (Location)
    mnl*

    This example maps all hosts starting with mnl in MNL-Group and using the Location as group type.

  3. Save the changes.

Licpoll2

  • 115 - Hostgroup License Use v3.0

Licenseevents2

  • 104 - License Logfile Events v2.0
  • 108 - Host license use licenseevents
  • 109 - Hostgroup license use licenseevents

# 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:

   Data Generation  

We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close