NetXMS Support Forum

English Support => General Support => Topic started by: Sch.Donat on November 11, 2020, 04:59:40 PM

Title: Log alarms to syslog
Post by: Sch.Donat on November 11, 2020, 04:59:40 PM
Hi!

Is it possible to log alarms generated by NetXMS to external syslog server? I didn't found appropriate script function or notification channel for this.

If not, what should be the debug level for logging to file to show alarms (without too much bloat)?

Regards
Title: Re: Log alarms to syslog
Post by: Filipp Sudanov on November 11, 2020, 11:23:55 PM
There's no out of the box configuration for this. If on Linux you can create a server action that executes logger. There should be something similar for Windows.
Title: Re: Log alarms to syslog
Post by: Sch.Donat on November 12, 2020, 03:21:07 PM
Thanks!

I found neolog, it works nicely!

I can even use event macro substitution (neolog's message part has to start with space, it's bug in that software).

Regards