You can use SAS Environment Manager
to monitor generic log files. It can monitor the log file's metrics
(such as size, permissions, and owner) and can also produce user-defined
alerts for the file.
To monitor a log file,
follow these steps:
-
In the SAS Environment
Manager, select
ResourcesBrowsePlatforms. Click on the platform that is running the server
whose log you want to monitor.
-
From the
Monitor page
for the platform, select
ToolsNew Platform Service.
-
Specify a name for the
service. In the
Service Type field, select
FileServer
File. Click
OK.
-
The
Service
Inventory page for the new service appears. A message
is displayed at the top of the page indicating that the resource has
not been configured. Select the
Configuration Properties link
in the message.
-
Specify the location
of the log file that you want to monitor in the
path field.
Click
OK.
You have now created
a service that monitors the specified log file. To view the inventory
page for the service, select
ResourcesBrowseServices. Specify the service name in the
Search field
to locate the service in the table.
After the service is
created, you might want to create alerts to send a notification of
certain conditions are met. For example, you could create an alert
for a log monitoring service that would send a notification if the
word ERROR appears in the log.
See Working with Resource Alerts for information
about creating alerts..