Example configuration file settings for peer-to-peer mode under process agent
To run the peer-to-peer mode under process agent, register the master and slave probes process into the process agent configuration file (nco_pa.conf).
On UNIX and Linux operating systems, example configuration is shown below:
nco_process ’SNMP_ProbeMaster’
{
Command '$OMNIHOME/probes/nco_p_stdin -propsfile $OMNIHOME/probes/
linux2x86/stdin_master.props' 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 ’SNMP_ProbeSlave’
{
Command '$OMNIHOME/probes/nco_p_stdin -propsfile $OMNIHOME/probes/
linux2x86/stdin_slave.props' 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 ’SNMP_ProbeSlave’ ’MasterObjectServer’
process ’SNMP_ProbeMaster’ ’SNMP_ProbeSlave’
}
On Windows operating systems, example configuration is shown below:
nco_process ’SNMP_ProbeMaster’
{
Command '[CWD=C:\IBM\Tivoli\Netcool\omnibus\probes\win32]%OMNIHOME%\
probes\win32\nco_p_nonnative.exe nco_p_wineventlog.exe -propsfile
wineventlog_master.props' 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 ’SNMP_ProbeSlave’
{
Command '[CWD=C:\IBM\Tivoli\Netcool\omnibus\probes\win32]%OMNIHOME%\
probes\win32\nco_p_nonnative.exe nco_p_wineventlog.exe -propsfile
wineventlog_slave.props' 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 ’SNMP_ProbeSlave’ ’MasterObjectServer’
process ’SNMP_ProbeMaster’ ’SNMP_ProbeSlave’
}