Setup multiple routers syslog with papertrail

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
buffpatel
DD-WRT User


Joined: 22 Feb 2011
Posts: 100

PostPosted: Sun Apr 19, 2020 13:54    Post subject: Setup multiple routers syslog with papertrail Reply with quote
Hi,

I have 2 routers on my network, one is the main router and the other is a wired bridge. They occasionally reboot so I'm trying to figure out why. I'm trying to set up syslog to output to the papertrail website so I won't lose the logs whenever the router reboots. I set up both routers to output their logs to the papertrail site as follows:

In the Services page in Syslog server box I put in: logs2.papertrailapp.com:XXXXX

I hid the specific port for privacy. Anyway, the papertrail site unfortunately can't tell the routers apart since they have the same outward IP address. Does anyone know any tricks to distinguish multiple devices on papertrail when they are from the same network with same outward IP address?

Thanks in advance!
Sponsor
feliciano
DD-WRT Guru


Joined: 24 Oct 2008
Posts: 927
Location: Latin America

PostPosted: Sun Apr 19, 2020 21:12    Post subject: Re: Setup multiple routers syslog with papertrail Reply with quote
buffpatel wrote:
the papertrail site unfortunately can't tell the routers apart since they have the same outward IP address. Does anyone know any tricks to distinguish multiple devices on papertrail when they are from the same network with same outward IP address?

1)You can create different free accounts in order to differentiate the individual routers
2)But if you want to have all toghether, and guess which one is failing at a certain time, you can write a cron job to log "It's me, I'm alive" every minute or so. If errors reported are close to the one missing to report. probably you could tell, and figure out the rest

_________________
Worked with: WR850Gv2, WHR-HP-G54, WRT54 G/GL/GS, f5d7231-4p, wl-520gU, WRT150N, DIR-400A1, DIR-600B1, WLI-TX4-G54HP, WHR-HP-GN, F7D3301/FD7301, F7D3302/F7D7302, WNR3500Lv2, e1000
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum