Difference between revisions of "Logmatch"
From Net-SNMP Wiki
(No difference)
|
Revision as of 10:22, 16 May 2008
The logmatch feature enables you to monitor contents of a logfile. The agent must be built with support for the ucd-snmp/logmatch module (included as part of the default build configuration).
- Monitors the specified file for occurances of the specified pattern REGEX.
- A maximum of 50 files can be monitored per agent.
If no logmatch directives are defined, then walking the logMatchTable will fail (noSuchObject).
snmpd.conf syntax
logmatch NAME PATH CYCLETIME REGEX