Example usage
In this example, the Standard Input Probe is used to replay the raw captured data from the SNMP Probe (nco_p_mttrapd) and forward it to the ObjectServer.
Use the following steps:
- Set the following property in the mttrapd.props file:
RawCaptureFile : '$OMNIHOME/var/mttrapd.cap' - Run the SNMP Probe using the
-rawcommand-line option:$OMNIHOME/probes/nco_p_mttrapd -server NCOMS -raw - Set the RulesFile property in the stdin.props file
to point to the SNMP Probe rules file:
RulesFile : '$OMNIHOME/probes/<arch>/mttrapd.rules'Where
<arch>depends on which operating system you are running the probe. - Replay the raw captured data from the SNMP Probe using the Standard
Input Probe:
cat mttrapd.cap | $OMNIHOME/probes/nco_p_stdin –server <server>Where
<server>is the name of the primary ObjectServer.