cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1264
Views
0
Helpful
5
Replies

LMS 3.0 Syslog Forward

jasonharmer
Level 1
Level 1

Hi All,

I have been reading previous post about forwarding syslog to another host. But I have a situation where I need to forward syslog messages to another port on the SAME host as the LMS server.

I can see it being done 1 of 2 ways, first change the LMS syslog port to be 5140 and get the 3rd party syslog app to forward to 5140.

Second is to leave LMS syslog port unchanges and forward it's messages to port 5140.

I have not been able to find any infor on being able to change the default port that syslog listens on for LMS.

Any help would be appreciated..

Thanks in advanc

Jason

5 Replies 5

Joe Clarke
Cisco Employee
Cisco Employee

This depends on the operating system.

The OS is Windows 2003 R2.

Edit the registry, and change the key HKLM\SYSTEM\CurrentControlSet\Services\crmlog\Parameters\CrmLogPort. The default is udp/514. After changing this value, restart the CiscoWorks Syslog service.

Note: whatever is forwarding the syslog messages to this port cannot modify the messages in any way, or the syslog parser will not be able to recognize which device sent the messages.

Thanks, that has changed the port number but when the message is forwarded ithe source addrress is being changed..

Is there a way to get LMS to forward the system message??

You'd have to write an automated action script or program to do the forwarding. You may have seen a Perl script I posted to this forum to forward messages to a different host. The same script would work to forward messages to a different port on the same host, but you would have to edit C:\WINDOWS\system32\drivers\etc\services, and change the syslog service from udp/514 to your new UDP port.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: