|
|
Log Section
The [Log] section contains parameters for managing internal activity log messages.
Parameters
Addr
CPU
DataRate
DumpCrashBlock
ExternalPrio
Format
InternalPrio
Port
PowerSurf
SyslogMask
SyslogPrio
TagBase
TimeStamp
TimeStampInterval
Addr
Description
|
Specifies the address of a Shiva device that acts as a log host
|
Syntax
|
Addr=<IP address>
|
Default
|
Unset
|
Related Parameter
|
To create a log host, you must specify a value in the AddrType parameter.
|
Reboot
|
Not required
|
CPU
Description
|
Specifies the CPU interval in seconds
Note: You must configure this parameter manually; it is not on a user interface.
|
Syntax
|
CPU=<number of seconds>
|
Default
|
CPU=0
|
Reboot
|
Not required
|
DataRate
Description
|
Specifies a data rate interval in seconds for periodic display of interface statistics
Note: You must configure this parameter manually; it is not on a user interface.
|
Syntax
|
DataRate=<number of seconds>
|
Default
|
DataRate=0
|
Reboot
|
Not required
|
DumpCrashBlock
Description
|
Enables or disables sending the contents of the CrashBlock buffer to the activity log
Note: You must configure this parameter manually; it is not on a user interface.
|
Syntax
|
DumpCrashBlock=<Boolean 0 or 1>
|
Default
|
DumpCrashBlock=0
|
Example
|
To send, at startup, the contents of the crashblock buffer, if it is not empty, to the log:
DumpCrashBlock=1
To disable sending the contents of the crashblock buffer to the log, even if there is something in it:
DumpCrashBlock=0
|
Reboot
|
Not required
|
ExternalPrio
Description
|
Specifies the priority level of messages that determines what messages cause the device to generate traps
The device generates traps for messages with a priority number that is equal to or less than the priority number that you specify. For example, if you specify a priority number of 2, the device generates traps for messages with priority levels of 2 and 1.
|
Syntax
|
ExternalPrio=<value between 1 and 9 specifying the priority level for generating traps>
|
Default
|
ExternalPrio=1
|
Reboot
|
Not required
|
Format
Description
|
Defines the format of log messages sent to the external log in the host
|
Syntax
|
Format=<syslog, syslog42, TRAP>
syslog specifies that the log messages are in the UNIX syslog format
syslog42 specifies that the log messages are in the UNIX syslog42 format
TRAP specifies that the log messages are SNMP traps
|
Default
|
Unset
|
Reboot
|
Not required
|
InternalPrio
Description
|
Specifies the priority of messages that the device writes to the internal activity log
|
Syntax
|
InternalPrio=<value between 1 and 9 specifying the message priority level>
Note: The Shiva device writes all messages with a priority number that is equal to or less than the priority number that you specify. For example, if you specify a priority number of 8, the device writes all internal system activity messages with priority levels of 8 through 1 to the internal activity log.
|
Default
|
InternalPrio=8
|
Reboot
|
Not required
|
Port
Description
|
Defines the UDP port. This parameter is optional
|
Syntax
|
Port=<port number>
|
Default
|
Unset
|
Reboot
|
Not required
|
PowerSurf
Description
|
Specifies whether the Shiva device logs PowerSurf statistics and specifies the interval at which the PowerSurf statistics are collected.
If the interval specified is greater than zero, the Shiva device logs the following periodic statistics about PowerSurf:
- · Number of PowerSurf and non-PowerSurf users
- · Number of client/server connections
- · Number of prefetched connections
- · Throughput rates
- · CPU/Memory usage
|
Syntax
|
PowerSurf=<interval in seconds>
Note: If PowerSurf is set to zero, PowerSurf statistics are not logged.
|
Default
|
Unset
PowerSurf statistics are not logged.
|
Example
|
To collect statistics about PowerSurf every 20 seconds:
PowerSurf=20
Sample output of this command:
Current/Max PowerSurf/NonPowerSurf users : 0/1/0
PowerSurf users cross-check: 0/0/0
Cumulative PowerSurf/Non Powersurf users: 1/0
Current client/server connections: 0/0
Current server connections regular/prefetch: 0/0
Cumulative Number of client/server connection:
5/18
Cumulative server connections regular/prefetch: 3/15
Cumulative regular connections used/reused: 3/0
Cumulative prefetched connections used/reused: 12/0
Cumulative regular conns in use/not-used at close: 3/0
Cumulative prefetch conns in use/not-used at close : 8/7
Number of client connections made keepalive/saved : 5/1
Number of total/get/ifmod requests received : 13/13/5
Ifmod cross-check : 0/0/0/5
Number of entries in cache/hits : 10/0
Bytes sent Cli2LR/LR2Cli, LR2Srv/Srv2LR : 3142/32045, 3142/31925
Average Thruput Cli2LR/LR2Cli, LR2Srv/Srv2LR: 0/0, 0/0
Number of server entries/connections/ready: 0/0/0
Number of clnts connections/stuck : 0/0
Memory free high/low water mark/free : 512000/1024000/6962486
CPU high/low water mark/average : 48000/42000/1
|
Reboot
|
Not required
|
SyslogMask
Description
|
Specifies the filter mask of priorities to filter from i.e. these are not sent to syslog host
|
Syntax
|
SyslogMask=<integer>
|
Default
|
SyslogMask=0x00
Note: The default value specifies no filtering.
|
Reboot
|
Not required
|
SyslogPrio
Description
|
Defines the priority value that is sent to the host, which in turn goes into the log messages
|
Syntax
|
SyslogPrio=<integer between 0 and 9>
|
Default
|
SyslogPrio=0
|
Reboot
|
Not required
|
TagBase
Description
|
If TagBase is enabled, the caller's phone number and the destination phone number are appended to syslog messages
Note: This feature is only supported for PRI, provided the telephone company switch is configured for ISDN-PRI signaling and passes the appropriate call information
|
Syntax
|
TagBase=<number of the phone group or none>
Specify the number of a phone group whose syslog messages you want to append with the phone number information.
None specifies that you do not want to append the syslog messages with the phone number information for any phone group.
|
Default
|
TagBase=none
|
Example
|
To append phone numbers to syslog messages for connections on phone group 1:
TagBase=1
To not append phone numbers to syslog messages for connections on any phone group:
TagBase=none
|
Related Parameter
|
You must set the TagID parameter in a phone group section.
|
Reboot
|
Not required
|
TimeStamp
Description
|
Specifies whether to write interface, buffer, and process statistics periodically to the log
|
Syntax
|
TimeStamp=<Boolean 0 or 1>
|
Default
|
TimeStamp=0
|
Example
|
To periodically save statistics to the log:
TimeStamp=1
To not save statistics to the log:
TimeStamp=0
|
Reboot
|
Not required
|
TimeStampInterval
Description
|
Specifies the number of 10-second intervals at which the device writes interface, buffer, and process statistics to the log
|
Syntax
|
TimeStampInterval=<number of 10-second periods between writes to the log>
|
Default
|
TimeStampInterval=60
|
Reboot
|
Not required
|
Related Information
Parameter Sections Overview
[ Top of Page . . . ]
|