File tree Expand file tree Collapse file tree 9 files changed +903
-1
lines changed
Expand file tree Collapse file tree 9 files changed +903
-1
lines changed Original file line number Diff line number Diff line change 11# List of output plugin to build and install
22add_subdirectory (dummy)
3- add_subdirectory (json)
3+ add_subdirectory (json)
4+ add_subdirectory (viewer)
Original file line number Diff line number Diff line change 1+ # Create a linkable module
2+
3+ add_library (viewer-output MODULE
4+ viewer.c
5+ config.c
6+ config.h
7+ Reader.h
8+ Reader.c
9+ )
10+
11+ install (
12+ TARGETS viewer-output
13+ LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR} /ipfixcol2/"
14+ )
15+
16+ if (ENABLE_DOC_MANPAGE)
17+ # Build a manual page
18+ set (SRC_FILE "${CMAKE_CURRENT_SOURCE_DIR} /doc/ipfixcol2-viewer-output.7.rst" )
19+ set (DST_FILE "${CMAKE_CURRENT_BINARY_DIR} /ipfixcol2-viewer-output.7" )
20+
21+ add_custom_command (TARGET viewer-output PRE_BUILD
22+ COMMAND ${RST2MAN_EXECUTABLE} --syntax-highlight=none ${SRC_FILE} ${DST_FILE}
23+ DEPENDS ${SRC_FILE}
24+ VERBATIM
25+ )
26+
27+ install (
28+ FILES "${DST_FILE} "
29+ DESTINATION "${CMAKE_INSTALL_FULL_MANDIR} /man7"
30+ )
31+ endif ()
Original file line number Diff line number Diff line change 1+ Viewer (output plugin)
2+ =====================
3+
4+ The plugin provides a way how to observe functionality of collector.
5+ Viewer module prints information about incoming IPFIX packets and data inside of them.
6+
7+ Example configuration
8+ ---------------------
9+
10+ .. code-block :: xml
11+
12+ <output >
13+ <name >Viewer output</name >
14+ <plugin >viewer</plugin >
15+ <params >
16+ </params >
17+ </output >
18+
19+ Parameters
20+ ----------
21+
You can’t perform that action at this time.
0 commit comments