Previous Topic: edgemon Utility--Monitor MIB Objects

Next Topic: Authentication in edgetrapmon

edgetrapmon Utility--Capture SNMP Traps on UNIX and Windows

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]
-p port

Specifies the UDP port to capture SNMP Traps.

Default: 162

-l TrapFile

Specifies the absolute path of the file which logs the SNMP traps received by the agent.

Default: STDOUT

-e V3File

Specifies the absolute path of the configuration file of SNMPv3.

Default: sysedgeV3.cf

-m FIPS_mode

Controls the FIPS mode of operation. Accepted values are 0, 1, and 2.

0

Indicates Non-FIPS mode.

1

Indicates FIPS co-existence mode.

2

Indicates FIPS only mode.

Default: 1

Default: 1

-k DbgLevel

Specifies the debug level of entries logged in ATechLogFile. The debug levels range from 0 to 7.

Default: 3

-f LogFile

Specifies the absolute path of the file which logs ATech information received by the agent.

Default: sysedge_utility.log

-h

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