NetXMS Support Forum

English Support => General Support => Topic started by: granadaz on July 12, 2011, 02:25:38 PM

Title: LogWatch: Cannot load parser configuration file parserwinxp.xml
Post by: granadaz on July 12, 2011, 02:25:38 PM
Can anybody help me?
WinXP Client!

Parser XML Client:
==============
<parser>
<file>C:\WINDOWS\system32\config\SysEvent</file>
   <rules>
    <rule>
      <severity>1</severity>
      <match>(.*)</match>
      <event params="1">100003</event>
    </rule>
  </rules>
</parser>

Agent Configuration:
===============
#
# NetXMS agent configuration file
# Created by agent installer at Mon May 09 11:58:39 2011
#

MasterServers = 10.221.0.179
LogFile = {syslog}
FileStore = D:\NetXMS\var
SubAgent = ecs.nsm
SubAgent = ping.nsm
SubAgent = logwatch.nsm
SubAgent = portcheck.nsm
SubAgent = winperf.nsm
SubAgent = wmi.nsm
SubAgent = ups.nsm

#Log parser definition
*LOGWATCH
Parser = parserwinxp.xml

Thanks
Pat
Title: Re: LogWatch: Cannot load parser configuration file parserwinxp.xml
Post by: Victor Kirhenshtein on July 12, 2011, 09:57:43 PM
Hi!

You should use full path name to parser xml file in agent's configuration. Otherwise agent will look for it in current directory, which is usually root of disk C: or directory where nxagentd.exe is located.

Best regards,
Victor
Title: Re: LogWatch: Cannot load parser configuration file parserwinxp.xml
Post by: granadaz on July 13, 2011, 12:36:03 PM
Nice, thanks for your help. Best support ever  ;D