Enabling remote management of the probe

To enable the probe to receive commands over HTTP/HTTPS, set the following properties in the property file mttrapd.props:

  • MessageLevel: Set this property to the required level for message logging.
  • MessageLog: Set this property to the location of the message log.
  • NHttpd.AccessLog: Set this property to the path of the access log that the probe creates.
  • NHttpd.EnableHTTP: Set this property to TRUE.
  • NHttp.ExpireTimeout: Set this property to the timeout period, in seconds.
  • NHttp.ListeningPort: Set this property to the port that the probe uses to listen for HTTP commands.
  • RulesFile: Set this property to the full path name of the probe's rules file.

Always provide values for NHttp.EnableHTTP and NHttp.ListeningPort. Provide values for the remaining properties as required. On Windows systems, use a quoted backslash (\\) to separate the elements of any path name.

For a full description of each of these properties see the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide.

In addition, modify the rules file as shown in Rules file

The following shows an example set of properties for HTTP remote management for a Red Hat Linux system.

MessageLevel: 'debug'
MessageLog: '$OMNIHOME/log/mttrapd.log'
NHttpd.AccessLog: '$OMNIHOME/log/bidir_access.log'
NHttpd.EnableHTTP: TRUE
NHttpd.ExpireTimeout: 15
NHttpd.ListeningPort: 6789
RulesFile: '$OMNIHOME/probes/linux2x86/mttrapd.rules

The following shows an example set of properties for a Windows system:

MessageLevel: "debug"
MessageLog: "%OMNIHOME%\\log\\mttrapd.log"
NHttp.AccessLog: "%OMNIHOME%\\log\\bidir_access.log'
NHttpd.EnableHTTP: TRUE
NHttpd.ExpireTimeout: 15
NHttpd.ListeningPort: 6789
RulesFile: "C:\\IBM\\Tivoli\\omnibus\\probes\\win32\\mttrapd.rules"