MIBS, SMMPv1, SMMPv2, SMMPv3 and management
1 post • Page 1 of 1
Running LMS 3.2 - I have logrot configured to rotate the syslog.log file after 1GB, but its not functioning. I have configured logrot via Common Services GUI & via the CLI script, but neither seem to work. Here is the contents of the logrot.conf file: var backup_dir = c:progra~2cscopxlogvar delay =C:PROGRA~2CSCOpxlogsyslog.log 20 1024000 gz
It looks like that did the trick. Does the v option force enable logrot? Also, considering I have a 365 day purge setting, will RME be able to report on the logs within the rotated/compressed files or only on the actual syslog.log file? Thanks Joe! C:PROGRA~2CSCOpxin>perl.exe C:PROGRA~2CSCOpxinlogrot.pl -vTue May 11 03:41:30 2010: INFO: Read variable backup_dir --> c:progra~2cscopxlogTue May 11 03:41:30 2010: INFO: Read variable delay -->Tue May 11 03:41:30 2010: INFO: Logfile = C:PROGRA~2CSCOpxlogsyslog.log, Backup File = c:progra~2cscopxlogsyslog.logTue May 11 03:41:30 2010: INFO: Archiving C:PROGRA~2CSCOpxlogsyslog.log (file size = 1167511841, conf size = 1048576000)Tue May 11 03:41:30 2010: INFO: Rolling logfile archive.Tue May 11 03:41:30 2010: INFO: Archiving C:PROGRA~2CSCOpxlogsyslog.log to c:progra~2cscopxlogsyslog.log.0. 1 file(s) copied.Tue May 11 03:41:32 2010: INFO: Compressing c:progra~2cscopxlogsyslog.log.0using gzip -fTue May 11 03:42:25 2010: INFO: Rotating C:PROGRA~2CSCOpxlogsyslog.log.
Understood. As far as RME being able to report on the arhived/compressed files, is this true, or can RME only report on the contents of the currently uncompressed/active syslog.log file? I have a purge setting of 365 days, and would like to be able to access up to the full 365 worth of syslog on each device. Thanks Joe.