安裝NetDATA工具
Last updated
Was this helpful?
Last updated
Was this helpful?
To enable data sending to the MongoDB backend set the following options in netdata.conf
:
The default socket timeout depends on the backend update interval. The timeout is 500 ms shorter than the interval (but not less than 1000 ms). You can alter the timeout using the sockettimeoutms
MongoDB URI option.
To use MongoDB as a backend, libmongoc
1.7.0 or higher should be first. Next, Netdata should be re-installed from the source. The installer will detect that the required libraries are now available.
In the Netdata configuration directory run ./edit-config mongodb.conf
and set , database name, and collection name: