Configuring Processes for Performance Data Logging
You can limit performance data logging to specific hosts and processes through the appusage_process_rules_master.conf
file that contains the list of hosts mapped with processes used to track performance data logging. To do this, follow these steps:
- Windows
- Unix
-
Open the
appusage_process_rules_master.conf
file, which is by default inC:\Program Files\OpeniT\Core\Configuration
.Notice that it contains instructions on how to edit the file.
appusage_process_rules_master.conf##############################################################################
#
# Format:
# Switch hosts on and off by adding "+host=<pattern>" and "-host=<pattern>"
# lines. The <pattern> is a globbing pattern, containing * and ? as wildcards.
# For each swich (on/off), add globbing patterns to identify executables for
# which to log performance data.
#
# For example, if you want to log for MS Windows Words on the host
# alpha.mycompany.com, but not on any other hosts:
#
# +host=alpha.mycompany.com
# *winword.exe
#
# The following will apply to all hosts.
# NOTE: Do not remove csrss.exe or openit_user_session from this list if you
# plan to include session logging!
+host=*
csrss.exe
openit_user_session
*explorer.exe
*winword.exe
*excel.exe
*outlook.exe
*powerpnt.exeThe default configuration will be applied to all connected hosts and will log performance data for the configured processes.
Use the following format:
Format<sign>host=<pattern>
*<process_name>Format Description <action>
The symbol representing the action to perform. - + (plus sign) - include in performing data logging
- - (minus sign) - exclude in performance data logging
<pattern>
A globbing pattern containing asterisk (*) and question mark (?) as wildcards. It identifies the name of the host or machine to apply the rule on. <process_name>
The specific name of the process to log the performance data. Appusage Process Rules Format
-
Add new lines for new entries.
Example+host=alpha.mycompany.com
*winword.exeThis means to log performance data for Microsoft Word processes on the host alpha.mycompany.com and not on other hosts.
Example-host=beta.mycompany.com
*excel.exeThis means to exclude logging of Microsoft Excel processes performance data on the host beta.mycompany.com.
-
Save the changes.
-
Open the
appusage_process_rules_master.conf
file in the etc directory, which is by default in/var/opt/openit/etc
.Notice that it contains instructions on how to edit the file.
appusage_process_rules_master.conf##############################################################################
#
# Format:
# Switch hosts on and off by adding "+host=<pattern>" and "-host=<pattern>"
# lines. The <pattern> is a globbing pattern, containing * and ? as wildcards.
# For each swich (on/off), add globbing patterns to identify executables for
# which to log performance data.
#
# For example, if you want to log for MS Windows Words on the host
# alpha.mycompany.com, but not on any other hosts:
#
# +host=alpha.mycompany.com
# *winword.exe
#
# The following will apply to all hosts.
# NOTE: Do not remove csrss.exe or openit_user_session from this list if you
# plan to include session logging!
+host=*
csrss.exe
openit_user_session
*explorer.exe
*winword.exe
*excel.exe
*outlook.exe
*powerpnt.exeThe default configuration will be applied to all connected hosts and will log performance data for the configured processes.
Use the following format:
Format<sign>host=<pattern>
*<process_name>Format Description <action>
The symbol representing the action to perform. - + (plus sign) - include in performing data logging
- - (minus sign) - exclude in performance data logging
<pattern>
A globbing pattern containing asterisk (*) and question mark (?) as wildcards. It identifies the name of the host or machine to apply the rule on. <process_name>
The specific name of the process to log the performance data. Appusage Process Rules Format
-
Add new lines for new entries.
Example+host=alpha.mycompany.com
*winword.exeThis means to log performance data for Microsoft Word processes on the host alpha.mycompany.com and not on other hosts.
Example-host=beta.mycompany.com
*excel.exeThis means to exclude logging of Microsoft Excel processes performance data on the host beta.mycompany.com.
-
Save the changes.