Running multiple probes to monitor more than one log file
You can run multiple instances of the Generic Log File Java Probe on a single machine allowing you to monitor more than one log file.
To do so, you must ensure that each instance specifies a unique value for the following properties so that they are able to access a different set of log files:
- Name
- PropsFile
- RulesFile
- PidFile
The following example shows the settings from the properties file of the first probe:
Name : "glf_java1"
PropsFile : "/opt/tivoli/netcool/omnibus/probes/<arch>/glf_java1.props"
RulesFile : "/opt/tivoli/netcool/omnibus/probes/<arch>/glf_java1.rules"
MessageLog : "/opt/tivoli/netcool/omnibus/log/glf_java1.log"
PidFile : "/opt/tivoli/netcool/omnibus/var/Stream1"
The following example shows the settings from the properties file of the second probe:
Name : "glf_java2"
PropsFile : "/opt/tivoli/netcool/omnibus/probes/<arch>/glf_java2.props"
RulesFile : "/opt/tivoli/netcool/omnibus/probes/<arch>/glf_java2.rules"
MessageLog : "/opt/tivoli/netcool/omnibus/log/glf_java2.log"
PidFile : "/opt/tivoli/netcool/omnibus/var/Stream2"
The following example shows the settings from the properties file of the third probe:
Name : "glf_java3"
PropsFile : "/opt/tivoli/netcool/omnibus/probes/<arch>/glf_java3.props"
RulesFile : "/opt/tivoli/netcool/omnibus/probes/<arch>/glf_java3.rules"
MessageLog : "/opt/tivoli/netcool/omnibus/log/glf_java3.log"
PidFile : "/opt/tivoli/netcool/omnibus/var/Stream3"