Technical data
Using Syslog Messaging to Monitor Router Events
303561-A Rev 00
C-17
1.
Configure the maximum number of active hosts served by Syslog on the
router:
$: set wfSyslog.wfSyslogMaxHosts.0
<1 - 10>
;commit
The default setting for wfSyslogMaxHosts is five hosts. You can add to the
Syslog Host Table more entries than the configured maximum, but Syslog
forwards messages only to the first “n” active hosts, where n = the current
value of wfSyslogMaxHosts.
2.
Configure the interval (in seconds) between Syslog polling cycles on the
router:
$: set wfSyslog.wfSyslogPollTimer.0
<5 - 610000>
;commit
The default setting for wfSyslogPollTimer is 5 seconds.
Next, add a remote host to the Syslog Host Table.
Task 5: Adding a Remote Host to the Syslog Host Table
You must define any remote hosts that you want to receive Syslog (event)
messages from routers in your network.
If this is the first host you are adding to the Syslog host table, go to step 1.
Otherwise, you may want to first obtain a list of hosts already configured on the
router. To list existing entries in the Syslog host table, enter the following
command at the Technician Interface prompt:
list -i wfSyslogHostEntry
The list includes the instance IDs (in this case, the IP addresses) of all remote
hosts currently defined in the Syslog host table.
1.
Add a new host entry to the Syslog Host Table, as follows:
$: set wfSyslogHostTable.wfSyslogHostDelete.
<host_IP_address>
1
$: commit
This entry informs Syslog of a remote host at the destination IP address that
you specified.
If you want to accept the default settings for host attributes
wfSyslogHostLogFacility (184 = Local7) and wfSyslogHostTimeSeqEnable
(2 = disabled), go to Task 6. Otherwise, continue with step 2 to configure a
customized setting for either attribute.