[Contents] [Prev] [Next] [Index] [Report an Error]


traceoptions

Syntax

traceoptions {

    file size size files number;

    flag flag; 

}

Hierarchy Level

[edit snmp]

Description

The output of the tracing operations is placed into log files in the /var/log directory. Each log file is named after the SNMP agent that generates it. Currently, the following logs are created in the /var/log directory when the traceoptions statement is used:

Options

files number—(Optional) Maximum number of trace files per SNMP subagent. When a trace file (for example, snmpd) reaches its maximum size, it is archived by being renamed to snmpd.0. The previous snmpd.1 is renamed to snmpd.2, and so on. The oldest archived file is deleted.

Range: 2 through 1000 files
Default: 10 files

flag flag—Tracing operation to perform. To specify more than one tracing operation, include multiple flag statements:

size size—(Optional) Maximum size, in kilobytes (KB), of each trace file before it is closed and archived.

Range: 1 KB through the maximum file size supported on your system
Default: 1000 KB

Usage Guidelines

See Tracing SNMP Activity.

Required Privilege Level

snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.


[Contents] [Prev] [Next] [Index] [Report an Error]