Active Logger help

Support, Question and Discussions on the UNIX-like logger tool for Windows.

Moderator: alorbach

Google Ads


Syslog for Cisco Routers

Postby elittos » Wed May 19, 2004 4:39 pm

I'm testing logger as a syslog server on routers. I'm failing an interface as a test, but the messages are not being captured by the syslog server. The syntax I am using for logger is as follows:

logger -f C:\Syslog\Logs\logfile.txt -l 172.24.32.109 -a 514

Am I missing something?

Thanx,
Greg
elittos
 

Postby alorbach » Wed May 19, 2004 5:16 pm

Hi,

what is the exact response you get when you execute this command?
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Postby elittos » Wed May 19, 2004 5:21 pm

Hi...

I see you banner page and in the DOS Window, I get the Adiscon welcome along with:

logging to 172.24.32.109:514

I believe 514 is the port Cisco uses for Syslog. I've tried with and without the -a 514 option.
elittos
 

Postby alorbach » Wed May 19, 2004 5:26 pm

hrm as syslog uses UDP there is no way to make sure that message was received 100%.

Well in order to test if logger works on your machine, you can try WinSyslog for receiving Syslog messages: see www.winsyslog.com .

And what kind of Cisco are you using? I mean which kind of device ;)?
Last edited by alorbach on Wed May 19, 2004 5:38 pm, edited 1 time in total.
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Postby elittos » Wed May 19, 2004 5:35 pm

I'm testing using a Cisco Router, 3640 to be exact. The router is on the same segment as the Syslog server, so there is no firewall or other gateway device in between. Here are the Cisco commands I have configured.
logging history debugging
logging trap debugging
logging source-interface Ethernet0/0
logging 172.24.32.109

The e0/0 address is 172.24.32.2
elittos
 

Postby elittos » Wed May 19, 2004 5:36 pm

w, when I click on the link specified, I get the following message:

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
elittos
 

Postby alorbach » Wed May 19, 2004 5:41 pm

there was a DOT to much in the link ;)
If you have a Cisco router, it maybe only *sends* it's logging information and not receive it.

Then WinSyslog will be the right application for you in order to receive logs from your router.

This article also might help you: http://www.monitorware.com/en/FAQ/How-t ... syslog.asp
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Postby elittos » Wed May 19, 2004 6:35 pm

That worked :)

Last question, can I get WinSyslog to run as a service so that it doesn't have to be started manually across reboots and so that I do not have to leave system logged in?
elittos
 

Postby tsiddique » Thu May 20, 2004 6:49 am

Hi,

The WinSyslog Service is installed as a system service during setup. The WinSyslog Service can be "engine only" installed. In this case, only the service is installed onto a machine. It can be customized either by directly editing the registry or copying a registry snapshot from a machine with installed client. Please note that "Engine Only" installs need a full WinSyslog license.

Regards,
Tamsila Siddique.
Adiscon.
tsiddique
Advanced
 
Posts: 32
Joined: Fri Dec 05, 2003 10:03 am

Postby alorbach » Fri May 21, 2004 11:36 am

elittos, WinSyslog already runs as Service so it automatically works when you reboot :)
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Google Ads



Return to Adiscon Logger

Who is online

Users browsing this forum: No registered users and 0 guests

cron