NetXMS Support Forum

English Support => General Support => Topic started by: lindeamon on October 27, 2011, 06:43:14 PM

Title: logwatch parser dci
Post by: lindeamon on October 27, 2011, 06:43:14 PM
hi,

i want to use the 3 dci's for the logwatch parser but i can not figure out what to put in the "instance".
i have tried the full path with name as configured in the agent config and i have tried the file name inc. suffix and the status always changes to unsupported.

thanks,
lindeamon
Title: Re: logwatch parser dci
Post by: Victor Kirhenshtein on November 01, 2011, 09:43:39 AM
Hi!

They are still not implemented. Agent shows them, but always returns an error.

Best regards,
Victor
Title: Re: logwatch parser dci
Post by: lindeamon on November 01, 2011, 09:48:02 AM
ohhhhhhhhhhhhhhhhhhh

will it be implemented in the next release ?

Best Regards,
Lindeamon
Title: Re: logwatch parser dci
Post by: Victor Kirhenshtein on November 03, 2011, 03:46:43 PM
Done it. Next release will have these parameters implemented.

Best regards,
Victor
Title: Re: logwatch parser dci
Post by: lindeamon on November 03, 2011, 03:47:57 PM
thank you very much victor
Title: Re: logwatch parser dci
Post by: lindeamon on November 03, 2011, 03:51:37 PM
silly me,

i forgot to ask what will the "instance" be.

Best Regards,
Lindeamon
Title: Re: logwatch parser dci
Post by: Victor Kirhenshtein on November 03, 2011, 04:26:32 PM
By default it will be file name (exactly as written in <file> tag), and you will be able to change it by adding name attribute to <parser> tag. For example,
for parser

<parser>
  <file>*System</file>
  ...
</parser>

instance name will be *System, and for


<parser name="SystemLog">
  <file>*System</file>
  ...
</parser>

instance name will be SystemLog.

Best regards,
Victor
Title: Re: logwatch parser dci
Post by: lindeamon on November 03, 2011, 04:28:37 PM
thank you again.
i will save this link for future use.

Best Regards,
Lindeamon