Running the probe under process agent control
The probe can be run under process agent (PA) control. You can control how the process agent interacts with the probe using the PA configuration file.
The default location is %NCHOME%\omnibus\etc.
Use
the following steps to configure and run the process agent :
- In the nco_pa.conf ensure the current working
directory (CWD) is pointing to the path where the welcsnsprobe.dll file
is located, for example: Command '[CWD=C:\IBM\Tivoli\Netcool\omnibus\probes\win32]%OMNIHOME%\probes\win32\nco_p_nonnative.exe nco_p_wineventlog.exe' run as 0.Note: The CWD must be specified using square brackets and without spaces.
- Ensure the ObjectServer is not already started if you plan to run the ObjectServer under PA control.
- Use the following command on the command line of the host to manually
start a process agent: %OMNIHOME%\bin\nco_pad -name process_agent.Note: The process_agent variable is the name of the process agent as defined in the Netcool/OMNIbus Server Editor or %NCHOME%\ini\sql.ini file.
- To display the service status of process agents you have configured,
enter the following command:
%OMNIHOME%\bin\nco_pa_status
Note: You will need to enter your windows password.
The following is an example PA configuration file for running
the ObjectServer and the probe:
# List of processes
#
nco_process 'MasterObjectServer'
{
Command '%OMNIHOME%\bin\nco_objserv -name NCOMS -pa NCO_PA' run as 0
Host = 'host_ip'
Managed = True
RestartMsg = '${NAME} running as ${EUID} has been restored on ${HOST}.'
AlertMsg = '${NAME} running as ${EUID} has died on ${HOST}.'
RetryCount = 0
ProcessType = PaPA_AWARE
}
nco_process 'WineventlogProbe'
{
Command '[CWD=C:\IBM\Tivoli\Netcool\omnibus\probes\win32]
%OMNIHOME%\probes\win32\nco_p_nonnative.exe
nco_p_wineventlog.exe' run as 0
Host = 'host_ip'
Managed = True
RestartMsg = '${NAME} running as ${EUID} has been restored on ${HOST}.'
AlertMsg = '${NAME} running as ${EUID} has died on ${HOST}.'
RetryCount = 0
ProcessType = PaPA_AWARE
}
# List of Services
#
nco_service 'Core'
{
ServiceType = Master
ServiceStart = Auto
process 'MasterObjectServer' NONE
process 'WineventlogProbe' 'MasterObjectServer'
}
# ROUTING TABLE
#
nco_routing
{
host 'host_ip' 'NCO_PA' 'user' 'password'
}