[syslog-ng] Configuration validation Issue with snmptrap module
Luca Da Col
ldacol at gmail.com
Thu Jul 23 11:33:58 UTC 2020
Running syslog-ng 3.27.1 on Centos 7. Configuration validation returns
an error with snmptrap command. Configuration example has been taken
directly from the OSE documentation. Error error was reproducible with
version available on epel repository (3.5), though documentation indicates
the snmptrap is available from 3.10
Configuration file includes statements:
@version:3.22
@include "scl.conf"
Any assistance is appreciated,
Thank you,
Luca
[root at adev syslog-ng]# syslog-ng --syntax-only
Error parsing source statement, source plugin snmptrap not found in
/etc/syslog-ng/syslog-ng.conf:92:5-92:13:
90 log {
91 source {
92----> snmptrap(filename("/var/log/snmptrapd.log"));
92----> ^^^^^^^^
93 };
94 destination {
95 file("/var/log/example.log");
96 };
97 };
[root at dev syslog-ng]# syslog-ng -V
syslog-ng 3 (3.27.1)
Config version: 3.22
Installer-Version: 3.27.1
Revision:
Compile-Date: Jun 8 2020 07:54:17
Module-Directory: /usr/lib64/syslog-ng
Module-Path: /usr/lib64/syslog-ng
Include-Path: /usr/share/syslog-ng/include
Available-Modules:
affile,afprog,afsocket,afstomp,afuser,basicfuncs,confgen,cryptofuncs,csvparser,dbparser,linux-kmsg-format,syslogformat,system-source,add-contextual-data,appmodel,cef,disk-buffer,examples,graphite,hook-commands,json-plugin,kvformat,map-value-pairs,pseudofile,sdjournal,stardate,tags-parser,tfgetent,timestamp,xml
Enable-Debug: off
Enable-GProf: off
Enable-Memtrace: off
Enable-IPv6: on
Enable-Spoof-Source: on
Enable-TCP-Wrapper: on
Enable-Linux-Caps: on
Enable-Systemd: on
[root at dev syslog-ng]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20200723/5875d1cc/attachment.html>
More information about the syslog-ng
mailing list