| View previous topic :: View next topic
|
| Author |
Message |
elittos Guest
|
Posted: Wed May 19, 2004 3:39 pm Post subject: Syslog for Cisco Routers |
|
|
|
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
|
|
| Back to top |
|
 |
alorbach Site Admin
Joined: 13 Feb 2003 Posts: 733
|
Posted: Wed May 19, 2004 4:16 pm Post subject: |
|
|
|
Hi,
what is the exact response you get when you execute this command?
|
|
| Back to top |
|
 |
elittos Guest
|
Posted: Wed May 19, 2004 4:21 pm Post subject: |
|
|
|
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.
|
|
| Back to top |
|
 |
alorbach Site Admin
Joined: 13 Feb 2003 Posts: 733
|
Posted: Wed May 19, 2004 4:26 pm Post subject: |
|
|
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 4:38 pm; edited 1 time in total |
|
| Back to top |
|
 |
elittos Guest
|
Posted: Wed May 19, 2004 4:35 pm Post subject: |
|
|
|
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
|
|
| Back to top |
|
 |
elittos Guest
|
Posted: Wed May 19, 2004 4:36 pm Post subject: |
|
|
|
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.
|
|
| Back to top |
|
 |
alorbach Site Admin
Joined: 13 Feb 2003 Posts: 733
|
|
| Back to top |
|
 |
elittos Guest
|
Posted: Wed May 19, 2004 5:35 pm Post subject: |
|
|
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?
|
|
| Back to top |
|
 |
tsiddique Advanced
Joined: 05 Dec 2003 Posts: 32
|
Posted: Thu May 20, 2004 5:49 am Post subject: |
|
|
|
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.
|
|
| Back to top |
|
 |
alorbach Site Admin
Joined: 13 Feb 2003 Posts: 733
|
|
| Back to top |
|
 |
|