Start a Conversation

Unsolved

This post is more than 5 years old

578

December 13th, 2010 01:00

After 'roll_sam_auditlog' oldest file disappeared

SAM_SUITE: V7.2.0.25(99245)

Issueing the following command removes the oldest file (SC.audit.42 in the below example). We must keep them longer. Are there somewhere configuration files about this log-rotating-behaviour?

incharge7/SAM/smarts/local/logs $ ls -ltr SC.audit*
-rw-r--r--   1 root     nme          57M Nov 15 22:09 SC.audit.042
-rw-r--r--   1 root     nme          49M Nov 22 22:09 SC.audit.043
-rw-r--r--   1 root     nme          66M Nov 29 22:09 SC.audit.044
-rw-r--r--   1 root     nme          43M Dec  6 22:09 SC.audit.bak
-rw-r--r--   1 root     nme          38M Dec 13 10:39 SC.audit
incharge7/SAM/smarts/local/logs $ /opt/nme/incharge7/SAM/smarts/bin/dmctl -s SC exec roll_sam_auditlog
incharge7/SAM/smarts/local/logs $ ls -ltr SC.audit*
-rw-r--r--   1 root     nme          49M Nov 22 22:09 SC.audit.043
-rw-r--r--   1 root     nme          66M Nov 29 22:09 SC.audit.044
-rw-r--r--   1 root     nme          43M Dec  6 22:09 SC.audit.045
-rw-r--r--   1 root     nme          38M Dec 13 10:40 SC.audit.bak
-rw-r--r--   1 root     nme            0 Dec 13 10:40 SC.audit

Thank you all for any help.

Robert

December 13th, 2010 09:00

Hi,

this is documented in the "System Admin Guide". See the env. variable :

SM_BACKUP_FILE_LIMIT

HTH,

--Fred

== APG5 ReportPack4Event for Smarts can report on millions of notifications in seconds ==
Frederic Meunier
Solutions Watch4Net Inc
APG & Smarts InCharge integration
http://www.watch4net.com

No Events found!

Top