cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
992
Views
4
Helpful
4
Replies

Forward Syslog message from RME4.0

wilfred malana
Level 1
Level 1

I can't find instructions on how to do this. There's an automated action for e-mail but not for forwarding syslog messages. Poked around the forum and found a topic regarding this but it was on Solaris. My server is on Windows and I am programming challenged. By the way I am using LMS2.6.

Thanks.

4 Replies 4

David Stanford
Cisco Employee
Cisco Employee

Thanks for the link.

That requires installing CS which requires Win2k/2k3 to run. Unfortunately I plan on installing this on a monitoring workstation thats running XP.

This seems to be what I am looking for;

http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Network%20Infrastructure&topic=Network%20Management&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1ddcf91c/0#selected_message

A script that runs as an automated action. Does anyone have the Windows "version" of that script?

Thanks.

This script will work on Windows.

Sorry but I am coding challenged.

here's what I did.

Created a .bat file with this inside

#!D:\Progra~1\CSCOpx\bin\perl

use strict;

use Sys::Syslog qw(:DEFAULT setlogsock);

my $msg = $ARGV[0];

setlogsock('inet');

$Sys::Syslog::host = 'xxx.xxx.xxx.xxx';

syslog('info|local7', $msg);

closelog;

Created an automated action in RME to run the script. Syslog messages are not being forwarded although I can see new messages in syslog.log .

Thanks.

Review Cisco Networking for a $25 gift card