Cisco Systems Dial NMS manual Configuring the Syslog Daemon

Models: Dial NMS

1 132
Download 132 pages 47.44 Kb
Page 76
Image 76
Configuring the Syslog Daemon

Task 4—Using Syslog, NTP, and Modem Call Records to Isolate and Troubleshoot Faults

About Modem Call Records

Step 4 (Optional) To disable syslog messages and SNMP traps when dial interfaces go up and down, use the commands no logging event link-statusand no snmp trap link-status. Although up and down events are legitimate events on dial interfaces, these events should not cause alarms as LAN and WAN interfaces would.

!

interface Serial1/0/0:4:23 no logging event link-status no snmp trap link-status

!

interface Group-Async0

no logging event link-status no snmp trap link-status

!

In this example, only the fourth T1 of a T3 card is shown.

Note In some Cisco IOS images, the logging event link-statuscommand is disabled by default.

Configuring the Syslog Daemon

In this case study, all the syslog messages from the access servers are sent to a single log file. The syslog messages from the backbone routers are sent to a different log file.

To configure the syslog daemon on a Solaris syslog server, follow these steps:

Step 1 On the syslog server, edit the file syslog.conf in the /etc/ directory by using a text editor. To get syslog working, you must add the following line to the file:

local0.debug /var/log/router.log

The local facility number is local0.debug. It must match the facility number configured in the Cisco IOS device. See the logging facility command in Table 20.

The log file path name is /var/log/router.log

One tab exists between the facility number and the path name. Spaces are not permitted. You can define any directory location/path for the .txt log file.

In the following example, the new line is in bold:

"syslog.conf" 53 lines, 1861 characters

 

 

#ident "@(#)syslog.conf

1.3

93/12/09 SMI"

/* SunOS 5.0 */

#

 

 

 

#Copyright (c) 1991-1993, by Sun Microsystems, Inc.

#syslog configuration file.

#

#This file is processed by m4 so be careful to quote (`') names

#that match m4 reserved words. Also, within ifdef's, arguments

#containing commas must be quoted.

#

#

#

#

Basic Dial NMS Implementation Guide

%$

Page 76
Image 76
Cisco Systems Dial NMS manual Configuring the Syslog Daemon