You can use the Log Monitor table to configure the agent to monitor system log files for regular expressions. You can also monitor file directories for size and contents.
Class: logMonitorEntry
Instance: value of logMonitorLogFile attribute for the specific log monitor entry
For example, you can configure the agent to monitor the /var/adm/sulog log file for the regular expression su.*fail. Whenever the agent finds a match, it sends an SNMP trap to the configured management systems.
Each row of the Log Monitor table represents the monitoring of a log file for a particular regular expression.
For more information Log Monitor table attributes and using the table to monitor log files, see the chapter “Log File Monitoring.”
Copyright © 2013 CA. All rights reserved. |
|