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


Tracing SNMP Activity

To trace SNMP activity, include the traceoptions statement at the [edit snmp] hierarchy level:

[edit snmp]
traceoptions { 
    file size size files number;
    flag flag; 
}

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:

You can use the file statement to control log file generation. The size statement limits the size (in kilobytes) of each log file before it is closed and compressed and a new file opened in its place. The files statement limits the total number of log files archived for each SNMP agent.

You can specify one or more of the following values for the flag option:


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