Logtool Specifications

Hewlett-Packard STM: Logtool ERS * Revision 1.17
- Page 47 - Printed: 02/04/99 3:38 PM
disk-threshold nn The % of disk space usage which, if exceeded, will
result in logging being suspended until the usage
drops back below this number. The default (i.e. if
this directive does not appear in the configuration
file) will be 95%.
rate-threshold nn The rate of logging, in number of entries per
minute, which if exceeded, will result in logging
being suspended until the rate drops back below this
number. The default will be 50 entries per minute.
switch-threshold nn The size, in Kbytes, that the log file should be
allowed to grow to before switching to a new log.
The default will be unlimited.
Examples:
output-level 3 sets logging level to errors, warnings and
informationals
suspend-type 2 suspends logging of LPMC entries.
suspend-dev 1/0/0 suspends logging of entries for the device at 1/0/0.
suspend-prod HPC2473S suspends logging for product HPC2473S.
suspend-logger disc30 suspends logging for the disc30 driver.
exec-type 2 /usr/sbin/lpmc_prog exec /var/lpmc_fifo
invokes the program named lpmc_prog and passes it
the raw log entry for LPMC entries thru the FIFO
file /var/lpmc_fifo.
exec-dev 2/0/1.0.0 /usr/sbin/disk_prog exec /var/disk_fifo
invokes the program named disk_prog and passes it
the raw log entry for entries for device 2/0/1.0.0 thru
the FIFO file /var/disk_fifo.
exec-prod HPC35450A /usr/sbin/tape_prog exec /var/tape_fifo
invokes the program named tape_prog and passes it
the raw log entry for entries for product
HPC35450A thru the FIFO file /var/tape_fifo.
exec_logger tape2 /usr/sbin/tape_prog exec /var/tape_fifo
invokes the program named tape_prog and passes it
the raw log entry for entries for the tape2 driver thru
the FIFO file /var/tape_fifo.
exec-type 2 /usr/sbin/lpmc_prog no-exec /var/lpmc_fifo
passes the raw log entry for LPMC entries thru the
FIFO file /var/lpmc_fifo.
exec-dev 2/0/1.0.0 /usr/sbin/disk_prog no-exec /var/disk_fifo
passes the raw log entry for entries for device
2/0/1.0.0 thru the FIFO file /var/disk_fifo.