Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Event ManagerAdministrator's Guide: HP-UX 11i v3 Edition 1 > Chapter 3 Configuring Event Manager

Managing Log Files

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The Event Manager channel manager, evmchmgr, provides log management capability through the channel fn_cleanup function. You can define this capability for any channel through the channel configuration file, evmchannel.conf. For more information on this file, see “Configuring Event Manager Channel” .

By default, channel cleanup functions run when Event Manager starts, and then run at 2:00 am each day. You can change the time of day by editing the cleanup_time value in the channel configuration file. When a cleanup is scheduled, the channel manager scans the event channel list, and executes the fn_cleanup command for each channel identified in the file.

The evmlog cleanup function, evmlog_cleanup, accepts the following arguments:

  • The archive period, which has a default value of 7 days.

  • The delete period, which has a default value of 31 days.

The function uses the find utility to locate and compress (zip) all logs older than the archive period, and to delete any archived files older than the delete period. You can change the period values by editing the function definition in the channel configuration file. Setting either of these values to zero disables the corresponding function.

The evmget command does not retrieve evmlog events that are stored in archived (zipped) logs. To retrieve events from archived logs, you must first uncompress them with the gunzip command. For information on unzipping archive files, see gunzip(1).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007 Hewlett-Packard Development Company, L.P.