In those cases where the syslog daemon and Network Protocol Manager for BGP and Network Protocol Manager for OSPF are running on the same system, a user does not need to install a separate instance of the Network Protocol Management Suite to start the BGP and OSPF syslog adapters. Instead, a user starts the BGP and OSPF syslog adapters by assigning the full path and name of the local syslog file to the SyslogName parameter in the bgp.conf or ospf.conf file. For this scenario, the syslog adapters are started automatically when Network Protocol Manager for BGP and Network Protocol Manager for OSPF are started.
To configure syslog message processing:
-
Go to the BASEDIR/smarts/bin directory in the Network Protocol Manager installation area and type the following command to open the bgp.conf or ospf.conf file:
sm_edit conf/bgp/bgp.conf -or- sm_edit conf/ospf/ospf.conf
-
Find the following line:
SyslogName = ""
-
Replace the empty string ("") with the full path and name of the syslog file on the local system. For example:
SyslogName = /var/adm/messages
-
Save and close the file.
The modified version of the bgp.conf file is saved to the BASEDIR/smarts/local/conf/bgp directory, or the modified version of the ospf.conf file is saved to the BASEDIR/smarts/local/conf/ospf directory.
-
If Network Protocol Manager was running before you edited the bgp.conf or ospf.conf file, restart Network Protocol Manager.