Difference between revisions of "UM:Log Monitoring"

11 bytes removed ,  11:05, 2 April 2012
Line 10: Line 10:
To be able to monitor logs with NetXMS agent, you should load LOGWATCH subagent and define parser configuration for each log file you wish to monitor. Example of agent configuration file:
To be able to monitor logs with NetXMS agent, you should load LOGWATCH subagent and define parser configuration for each log file you wish to monitor. Example of agent configuration file:


 
<source lang="ini>
SubAgent = logwatch.nsm
SubAgent = logwatch.nsm


 
# Below is log parsers definitions
<nowiki># Below is log parsers definitions</nowiki>
*LOGWATCH
 
<nowiki>*LOGWATCH</nowiki>
 
Parser = C:\NetXMS\parser1.xml
Parser = C:\NetXMS\parser1.xml
Parser = C:\NetXMS\parser2.xml
Parser = C:\NetXMS\parser2.xml
 
</source>


= Syslog Monitoring =
= Syslog Monitoring =
683

edits