networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue May 01, 2012 5:59 pm 
Offline
New Member
New Member

Joined: Tue Dec 20, 2011 1:05 am
Posts: 24
Certs: CCNA, Sec+
Is there a syslog program that can change a specific ip address to a name? Kind of like EEM does with a regular expression, but not on the router itself.

I currently have my routers sending the output from the "show ip ospf neighbor" command to syslog through an EEM applet, but I would like for syslog to change the ip addresses listed in the output to a name. I can list all of the ip addresses and names in a csv file, or format it any way that the program would require.

When I say change IP address to name, I don't necessarily mean the router sending the syslog message. I mean for the output to be listed with a hostname for both the originating router and the neighbor.

If this cannot be done in this way, any suggestion as to how I would accomplish this would be greatly appreciated.

Example:

current:
Code:
10.1.1.1   0   FULL/DROTHER  00:00:01   10.1.1.2  FastEthernet0/0


Desired:
Code:
SuperRouter   0   FULL/DROTHER  00:00:01  SuperRouter2   FastEthernet0/0


Top
 Profile  
 
PostPosted: Wed May 02, 2012 7:46 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 21, 2007 2:15 pm
Posts: 8459
Location: Frederick MD
Certs: Instanity
you'd probably need
a script to find and replace
IP addresses

with host names you can
reprocess your syslog files
with the script to produce

the desired output.

_________________
"If you're good at anticipating the human mind. It leaves nothing to chance."
-Jigsaw


Top
 Profile  
 
PostPosted: Wed May 02, 2012 7:56 am 
Online
Ultimate Member
Ultimate Member
User avatar

Joined: Sun Jan 04, 2009 6:28 pm
Posts: 721
Location: Singapore
Certs: CCNA, CCDA, CCNA-SECURITY
the pro version of splunk can so this is I remember correctly

_________________
CCNA, CCDA, CCNA-SECURITY


Top
 Profile  
 
PostPosted: Wed May 02, 2012 8:20 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 29, 2010 6:12 pm
Posts: 2209
Location: Texas
Certs: CCNP, CCDP, CCIP
Most any NMS on the market will also input your syslog data and tie the message to a device based on the IP address.

_________________
http://blog.movingonesandzeros.net/


Top
 Profile  
 
PostPosted: Tue May 08, 2012 5:28 am 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Thu Jan 13, 2011 5:10 pm
Posts: 991
Location: Leeds, UK
Certs: CCIE R&S #38338, CCNP, CCIP
If you enable it you can have the 'show ip ospf nei' output show the router names using the 'ip ospf name-lookup' command.

https://supportforums.cisco.com/docs/DOC-22044

_________________
---
David
CCIE R&S #38338, CCIP, CCNP

http://networkbroadcast.co.uk - My Blog
http://twitter.com/davidrothera


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group