The CA API Gateway is capable of transmitting log entries and audit logs to external Syslog recipients. This will allow an administrator to direct logs to a centralized site for storage and analysis. This implementation should allow an administrator to correlate log messages to particular hosts at particular times. A Gateway appliance may not correctly report its own hostname in the Syslog message?under certain circumstances. This article will describe that circumstance and how to resolve the issue.
Presentation
The following log entry may be received by the Syslog recipient with applicable error emphasized in bold:
Oct 17 09:48:50 UnknownGateway SSG[10] Test Message 1
The presence of?UnknownGateway?in the Syslog message is anomalous. This string should reflect the actual DHCP hostname?of the system for identification purposes under normal operating parameters
The simplest method to resolve this issue is to add a full hosts file definition?for the host. Do the following in order to add that defintion:
The values above should be substituted for the IP address, fully qualfied domain name, and DHCP hostname, respectively. A full Gateway appliance restart is recommended.?This issue can also be resolved by ensuring that there is a DNS entry for the applicable system as well as a valid DNS server configured in the Gateway appliance.