1833685 Members
3523 Online
110062 Solutions
New Discussion

Syslog Server

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Syslog Server

I have setup my 11.0 HPUX system to listen to one of our routers. I am guessing that I will only see info about the router if I have an error on the router.

If that is true, how can I get the router to talk to the HPUX box as a test? I want to be sure the syslog daemon is listening to the router.

How can I perform a test from the router?
UNIX IS GOOD
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: Syslog Server

Robert,

Can you unplug something on the router?


Pete

Pete
Nobody's Hero
Valued Contributor

Re: Syslog Server

Like a connection on the serial interface?

Is there something less disruptive I can try.
A command I can issue from the router?
UNIX IS GOOD
Hoang Minh Tuan
Regular Advisor

Re: Syslog Server

Hi,

Your router is a Cisco product?. If yes, you should directly telnet to it to issue command: show running config , it tell you how your hardware, interfaces work.

One a time, I dimly knew a 3rd party product, OpenView Cisco Work. You can install to your server and as a monitoring agent, it will check all of your networking events, including router then save to log file in server.

HMT
Bus wait at bus station, Work wait at my work station
Garry Ferguson
Frequent Advisor

Re: Syslog Server

Robert,
We have a Cisco router which is set to the highest logging level i.e. it logs everything!
"sh run" on the router shows:
...
logging trap debug
logging facility local3
logging 172.16.2.13
...

In syslog.conf on 172.16.2.13 we have:
...
# Log all router messages to own file
local3.* -/var/log/cisco.log
...

Regards, Garry
Sergejs Svitnevs
Honored Contributor
Solution

Re: Syslog Server

You should login to the router via console and type "conf t" and the "end". It will generate "%SYS-5-CONFIG_I: Configured from console by on vty0" message to your syslog daemon.

Regards,
Sergejs