Network Management

 View Only
  • 1.  Delete OLD Syslog Entries

    Posted Apr 27, 2015 05:54 AM

    Hi All,

     

    We have IMC Plat 5.1, I would like to delete all syslog entries prior to the last few weeks. Is this possible ?, there is a syslog backup everynight which is nearly @ 8 Gigs. I want to get to a stage the Syslog entries are mangeable. Any help would be appreciated

     

    Thanks

     

    J


    #syslog


  • 2.  RE: Delete OLD Syslog Entries

    Posted Apr 27, 2015 08:32 PM

    Go to System -> System Configuration -> Data Export -> Syslog.

     

    Change the export settings to suit.

     

    You could also look at your sources of syslogs, and see if there are particularly noisy sources that could be changed. 

     

    You should also really look at upgrading. 7.1 + latest patches has come a LONG way from 5.1. It's much nicer to use.



  • 3.  RE: Delete OLD Syslog Entries

    Posted Apr 28, 2015 05:56 AM

    Hi,

     

    Thanks for the Reply, I have reduced the amount of logs coming in but all the old entries are still there.

     

    Current Status

     

    Syslog List(Total Number is 26283428, the max display number of items is 100000)

     

     

    Syslog Data Export Settings

     

    By Time

    Threshold   3 Days                                     Export but those in last 2 days



  • 4.  RE: Delete OLD Syslog Entries

    Posted May 01, 2015 12:40 PM

    I recall and have used a feature within iMC to zap the whole trap database for a fresh start but cannot seem to locate it again... Does anyone know where that is and if it also applies to the Syslog table?



  • 5.  RE: Delete OLD Syslog Entries

    Posted May 04, 2015 09:11 PM

    You're thinking of this: http://kontrolissues.net/2012/05/30/hp-imc-mass-recover-active-alarms/ 

     

    It can be used to clear active alarms. That's a bit different to clearing out old syslogs though - they should manage themselves.



  • 6.  RE: Delete OLD Syslog Entries

    Posted May 05, 2015 11:05 AM

    Got it sorted,

     

    The problem was when the export ran the Database had to process all the entries in the syslog database (26 million) which meant the Log file became huge & hadn't enough space to grow. When there was an extra 50GiGs added to the Drive, the log file grew to 40+Gigs & completed the task. The log file cleared after the export.

     

     Total Sylsog entries 5,000

     

     

    Thanks for the Help