Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ if ENABLE_OMMONGODB
SUBDIRS += plugins/ommongodb
endif

if ENABLE_OMSENTINEL
SUBDIRS += plugins/omsentinel
endif

if ENABLE_OMHIREDIS
SUBDIRS += contrib/omhiredis
endif
Expand Down Expand Up @@ -442,6 +446,10 @@ if ENABLE_OMMONGODB
DISTCHECK_CONFIGURE_FLAGS+= --enable-ommongodb
endif

if ENABLE_OMSENTINEL
DISTCHECK_CONFIGURE_FLAGS+= --enable-omsentinel
endif

if ENABLE_OMHIREDIS
DISTCHECK_CONFIGURE_FLAGS+= --enable-omhiredis
endif
Expand Down
19 changes: 19 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,23 @@ fi
AM_CONDITIONAL(ENABLE_CLICKHOUSE, test x$enable_clickhouse = xyes)


# omsentinel support
AC_ARG_ENABLE(omsentinel,
[AS_HELP_STRING([--enable-omsentinel],[Enable Microsoft Sentinel output module @<:@default=no@:>@])],
[case "${enableval}" in
yes) enable_omsentinel="yes" ;;
no) enable_omsentinel="no" ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-omsentinel) ;;
esac],
[enable_omsentinel=no]
)
if test "x$enable_omsentinel" = "xyes"; then
PKG_CHECK_MODULES([CURL], [libcurl])
LT_LIB_M
fi
AM_CONDITIONAL(ENABLE_OMSENTINEL, test x$enable_omsentinel = xyes)


# omhttp support
AC_ARG_ENABLE(omhttp,
[AS_HELP_STRING([--enable-omhttp],[Enable http output module @<:@default=no@:>@])],
Expand Down Expand Up @@ -2883,6 +2900,7 @@ AC_CONFIG_FILES([Makefile \
plugins/omgssapi/Makefile \
plugins/ommysql/Makefile \
plugins/ompgsql/Makefile \
plugins/omsentinel/Makefile \
plugins/omrelp/Makefile \
plugins/omlibdbi/Makefile \
plugins/ommail/Makefile \
Expand Down Expand Up @@ -3016,6 +3034,7 @@ echo " omkafka module will be compiled: $enable_omkafka"
echo " omhiredis module will be compiled: $enable_omhiredis"
echo " omazureeventhubs module will be compiled: $enable_omazureeventhubs"
echo " omdtls module will be compiled: $enable_omdtls"
echo " omsentinel module will be compiled: $enable_omsentinel"
echo
echo "---{ parser modules }---"
echo " pmlastmsg module will be compiled: $enable_pmlastmsg"
Expand Down
8 changes: 8 additions & 0 deletions plugins/omsentinel/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pkglib_LTLIBRARIES = omsentinel.la

omsentinel_la_SOURCES = omsentinel.c
omsentinel_la_CPPFLAGS = $(RSRT_CFLAGS) $(PTHREADS_CFLAGS) $(CURL_CFLAGS)
omsentinel_la_LDFLAGS = -module -avoid-version
omsentinel_la_LIBADD = $(CURL_LIBS) $(LIBM)

EXTRA_DIST =
Loading
Loading