The edgetrapmon utility is a text based console application to run on Windows and UNIX. If a trap is received, it displays the trap information on the console.The edgetrapmon utility issues an SNMP set request to create the appropriate entry in the target agent's Self Monitor table.
Use the edgetrapmon utility as follows:
edgetrapmon
[-p port]
[-l TrapFile]
[-e V3File]
[-m FIPS_mode]
[-k DbgLevel]
[-f LogFile]
[-h]
Specifies the UDP port to capture SNMP Traps.
Default: 162
Specifies the absolute path of the file which logs the SNMP traps received by the agent.
Default: STDOUT
Specifies the absolute path of the configuration file of SNMPv3.
Default: sysedgeV3.cf
Controls the FIPS mode of operation. Accepted values are 0, 1, and 2.
Indicates Non-FIPS mode.
Indicates FIPS co-existence mode.
Indicates FIPS only mode.
Default: 1
Default: 1
Specifies the debug level of entries logged in ATechLogFile. The debug levels range from 0 to 7.
Default: 3
Specifies the absolute path of the file which logs ATech information received by the agent.
Default: sysedge_utility.log
Prints the edgetrapmon command usage.
Examples
The following example starts edgetrapmon on the default port 162 and the default SNMPv3 configuration file sysedgeV3.cf on UNIX:
./edgetrapmon
The following example starts edgetrapmon on the non-default port 2091 using the SNMPv3 configuration file usersnmpv3.cf in FIPS only mode and logs the traps to the file usertraplog.txt:
UNIX
./edgetrapmon -p 2091 -e /usr/temp/usersnmpv3.cf -m 2 -l /usr/temp/usertraplog.txt
The following example starts edgetrapmon on the non-default port 2091 using the SNMPv3 configuration file usersnmpv3.cf in FIPS only mode and logs the traps to the file usertraplog.txt:
Windows
edgetrapmon -p 2091 -e d:\temp\usersnmpv3.cf -m 2 -l d:\temp\usertraplog.txt
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |