Skip to content

Commit aa0e9e7

Browse files
committed
added node.js plugin manager, implemented bind (named) 9.10+ JSON plugin, refactored sma_webbox for the new node.js manager
1 parent c512fbe commit aa0e9e7

13 files changed

Lines changed: 1352 additions & 384 deletions

File tree

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ EXTRA_DIST = \
2828

2929
SUBDIRS = \
3030
charts.d \
31+
node.d \
3132
conf.d \
3233
plugins.d \
3334
src \

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ AC_DEFINE_UNQUOTED([NETDATA_USER], ["${with_user}"], [use this user to drop priv
141141

142142
AC_SUBST([cachedir], ["\$(localstatedir)/cache/netdata"])
143143
AC_SUBST([chartsdir], ["\$(libexecdir)/netdata/charts.d"])
144+
AC_SUBST([nodedir], ["\$(libexecdir)/netdata/node.d"])
144145
AC_SUBST([configdir], ["\$(sysconfdir)/netdata"])
145146
AC_SUBST([logdir], ["\$(localstatedir)/log/netdata"])
146147
AC_SUBST([pluginsdir], ["\$(libexecdir)/netdata/plugins.d"])
@@ -156,6 +157,7 @@ AC_SUBST([OPTIONAL_ZLIB_LIBS])
156157
AC_CONFIG_FILES([
157158
Makefile
158159
charts.d/Makefile
160+
node.d/Makefile
159161
conf.d/Makefile
160162
netdata.spec
161163
plugins.d/Makefile

node.d/Makefile.am

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
2+
3+
dist_node_SCRIPTS = \
4+
README.md \
5+
named.node.js \
6+
$(NULL)
7+
8+
nodemodulesdir=$(nodedir)/node_modules
9+
dist_nodemodules_DATA = \
10+
node_modules/netdata.js \
11+
node_modules/extend.js \
12+
$(NULL)

node.d/README.md

Whitespace-only changes.

0 commit comments

Comments
 (0)