×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

How to truncate syslog message

Unanswered Question
Feb 27th, 2006
User Badges:

Does anyone know if there is a way to truncate the syslog message? For example, I get this error forwarded to me by CiscoWorks:

"Syslog message generated from device XXXX: Feb 26 03:05:07 X.X.X.X 2006 Feb 26 03:01:15 eastern -05:00 %KERNEL-1-CREATEPROCESSFAILED:Error in creating process: Unavailable free stack; stack type: 1; Name: LinkUpdPrcs"

Is there a way to get rid of "Syslog message generated from device XXXX: Feb 26 03:05:07 X.X.X.X 2006 Feb 26 03:01:15 eastern -05:00" part? I only need the actual error message. Reason is that our cell phones (this is how we get error messages) only support limited amount of characters.

We are running LMS 2.5 on w2k3 server.

Thank you for any help or suggestions.

Denis

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
gmaccisco1 Mon, 02/27/2006 - 12:28
User Badges:

This seems to have been generated from a PIX but here how i truncate the IDS database for CiscoWorks VMS and this always works for me. I have had a lot of problems with the database getting big due to Pruning not working properly. so this might help, just run this at the dos prompt of your CiscWorks VMS server.


d:

dbbackup -xo -c "uid=idsmdc;pwd=PUT YOUR PASSWORD HERE;dbn=idsmdc;eng=sqlcoredbserver;links=tcpip{dobroadcast=no;host=localhost;port=10033}"


JUST CUT AND PAST SINCE HAVING SPACE OR NOT HAVING SPACE IS IMPORTANT.


let me knnow if it works.

.

thx,


Masood



denis.ivitchev@... Mon, 02/27/2006 - 12:49
User Badges:

Thanks Masood,

Actually this message was generated from CatOS running on 6509 switch. I'm not concerned about the database, I just want to truncate beginning of the syslog message which contains name of the device and date, both of which are added by CiscoWorks.


denis.ivitchev@... Wed, 03/01/2006 - 10:09
User Badges:

To answer my own question, NO, there is no way. Just got official confirmation from Cisco.

Actions

This Discussion