summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
AgeCommit message (Collapse)Author
2022-05-03Remove node.d.plugin and relevant files (#12769)Suraj Neupane
* Remove node.d.plugin and relevant files * fix build packages * remove node.d related words/phrases from docs and tests
2022-04-18Disable automake dependency tracking in our various one-time builds. (#12701)Austin S. Hemmelgarn
* Disable automake dependency tracking in our various one-time builds. * Also disable dependency tracking code in package builds.
2022-03-14Remove owner check from webserver (#12339)thiagoftsm
2022-03-08CO-RE and syscalls (#12318)thiagoftsm
2022-03-02Add support to the updater to toggle auto-updates on and off. (#12202)Austin S. Hemmelgarn
* Add support to the updater to toggle auto-updates on and off. This also adds the updater script to our native packages. * Move argument handling logic to updater enabler function. * Properly handle crontab case.
2022-02-25Bundle protobuf on CentOS 7 and earlier. (#12167)Austin S. Hemmelgarn
* Bundle protobuf on CentOS 7 and earlier. * Fix protobuf dep list in spec file.
2022-02-18Revert "Overhaul handling of auto-updates in the installer code. (#12076)" ↵Austin S. Hemmelgarn
(#12182) This reverts commit da7f215ad6c98cbf54ab93dbc1d2457ac01dbb08.
2022-02-18Overhaul handling of auto-updates in the installer code. (#12076)Austin S. Hemmelgarn
* Bundle updater script in native packages. * Move code for enabling/disabling auto-updates to netdata-updater.sh This lets us handle the logic sanely from the kickstart script regardless of the install method, and allows users to more reliably toggle auto-updates themselves without having to understand what is being done. * Add proper case-agnosticism to auto-update type selection. * Move auto-updater handling code to kickstart script. * Properly handle running against an older source tree. * First part of updater docmentation updates. * Fixed handling of updater in DEB packages. * Further documentation updates. * Minor typo fixes.
2022-01-04Removes ACLK Legacy (#11841)Timotej S
* remove legacy from makefiles * remove ACLK Legacy from installer * remove ACLK Legacy from configure.ac * remove legacy from cmake * aclk api cleanup * remove legacy files from packaging * changes for CI from Austin
2021-10-22Fix libbpf handling in RPM builds. (#11702)Austin S. Hemmelgarn
2021-10-19Explicitly opt out of LTO in RPM builds. (#11644)Austin S. Hemmelgarn
We are intentionally not using LTO by default in almost every case because it provides little to no performance improement for us and has a _huge_ impact on build times, which in turn results in our CI taking an unreasonably long time to run.
2021-10-04Added ARM binary package builds to CI. (#10769)Austin S. Hemmelgarn
* Added ARM binary package builds to CI. * Tidy-up workflow so it runs faster. * Update cmake options for LWS. * Package build process tweaks. * Add Fedora 34 32-bit ARM package build. * Disable eBPF in ARM package builds. * Fix conditional in DEB package build. * Fix RPM architecture handling. * Really fix conditional in DEB package build. * Fix handling of eBPF in DEB packages. * Fix RPM libbpf bundling. * Differentiate uploaded artifacts by architecture. * Add CentOS 8 ARMv8 package build.
2021-09-16Clean up dependency handling for CentOS/RHEL (#11515)Austin S. Hemmelgarn
* Remove EPEL and OKay repo dependencies for CentOS 8. We don’t actually need anything from EPEL in a vast majority of cases, and the only stuff we needed from OKay is now provided by PowerTools. This makes us a lot more portable overall. * Bundle LWS in CentOS 8 RPMs. This eliminates a need to use EPEL during the package building process, which in turn removes the strict coupling with CentOS as the build platform (most notably, this lets us use Rocky Linux for the build). * Also try using DNF on CentOS systems.
2021-07-26Properly handle eBPF plugin in RPM packages. (#11362)Austin S. Hemmelgarn
2021-06-01Compile/Link with absolute paths for bundled/vendored deps. (#11129)vkalintiris
* Do not accept a path when using --with-bundled-lws. The bundled library is always placed under externaldeps/libwebsockets, when using the netdata-installer.sh script. When this option is missing, we look for the system-wide installed version. * Do not accept a path when using --with-bundled-libJudy. The bundled library is always placed under externaldeps/libJudy. When the option is not given, we look for the system-wide installed version. * Use absolute header paths for repo-internal deps. * Use absolute library paths for repo-internal deps.
2021-05-14Bundle the react dashboard code into the agent repo directly. (#11139)Austin S. Hemmelgarn
* Remove code for bundling the dashoard on install. * Bundle the dashboard code directly into the agent repo. This diffstat looks huge, but it’s actually relatively simple. The only _actual_ changes are in the Makefiles, `configure.ac`, and the addition of `generate_dashboard_makefile.py`. Everything else consists of removing files that are included in the dashboard tarball, and extracting the contents of the tarball into `web/gui/dashboard`. * CI cleanup. * Automate bundling of the dashboard code. This replaces the makefile generator script with one that handles bundling of the dashboard code in it’s entirety, and updates the GHA workflow used for generating dashboard PRs to use that instead of the existing shell commands. It also removes the packaging/dashboard.* files, as they are no longer needed.
2021-04-14Spelling build (#10909)Josh Soref
2021-03-15Docker-based packaging workflow in GitHub Actions. (#9964)Austin S. Hemmelgarn
* Add a new GHA workflow for building and publishing binary packages. This greatly simplifies the package handling code, significantly reduces the amount of things we are running in Travis, adds better CI for package builds for PRs, finally eliminates LXC from any of our CI, and enables us to make further major improvements much easier. * Migrate repo cleanup to GHA and remove dead code. * Fix RPM package builds. * Fix DEB installation.
2021-03-12Fixed handling of permissions for some plugins. (#10490)Austin S. Hemmelgarn
* Removed pointless capabilities in our RPM spec file. * Shifted slabinfo and perf plugins to use proper capabilties instead of being SUID root.
2021-02-22Fixed condition controlling use of static LWS in RPM builds. (#10661)Austin S. Hemmelgarn
The original intent was to only use a static copy of LWS if we couldn’t use a system copy. Due to two incorrect conditionals in the spec file though, what was actually happening was that we were using a static build of LWS on systems where we could use a system copy, and not linking against LWS at all on other systems. This fixes those conditionals so that we use a system copy if available, and provide a static copy if a system copy is not available.
2021-02-01Fixed Netdata Cloud support in RPM packages. (#10578)Austin S. Hemmelgarn
2021-01-15Switched to using system libwebsockets for RPM builds. (#10507)Austin S. Hemmelgarn
* Switched to using system libwebsockets for RPM builds. Also cleans up the configure statement in the RPM spec file. * Add version requirement for LWS dep and only use native on platforms that meet it.
2021-01-11Fixed bundling of libwebsockets in binary packages. (#10460)Austin S. Hemmelgarn
Unintentionally broken by #9984. This re-enables cloud support in binary packages.
2020-12-09Fix handling of Python dependency for RPM package. (#10345)Austin S. Hemmelgarn
2020-09-17Use automatic dependency generation for RPM builds. (#9937)Austin S. Hemmelgarn
Our current RPM spec file includes _all_ of our library dependencies as statically listed `Requires:` lines. This, in turn, requires a very large number of conditionals in the dependencies to account for package naming differences between RPM distros, and also makes it a pain in the arse to port the spec file to work with new releases of existing distros. This changes the spec file to just use the automatic `Requires:` generation functionality that's already included in the RPM build process. The net effect is that the spec file ends up much cleaner, and it works just about anywhere with minimal modification., as well as us not having to track anything but build dependencies manually.
2020-09-09Fix missing newline concatentation slash causing rpm build to fail (#9900)James Mills
2020-09-08Fixed typo in option name used to use bundled libJudy (#9893)James Mills
2020-09-04Fixed handling of libJudy bundling for RPM packages. (#9875)Austin S. Hemmelgarn
2020-08-24Package ebpf plugin only if enabled in config.h (#9752)Adrien Mahieux
2020-07-30Fix netdata.spec.in default permissions for /usr/libexec/netdata (#9621)Adrien Mahieux
2020-07-30Added eBPF collector support to DEB and RPM packages. (#9628)Austin S. Hemmelgarn
* Add DEB/RPM package build tests to Travis. * Add working support for bundling eBPF in binary packages. * Show stdout and stderr from commands run in LXC. * Add proper bundling code for libbpf. * Use AC_CHECK_FILE for libbpf.a external dep. This way it gets properly logged in both configure output and the configure log.
2020-07-16Revert the eBPF package bundling that breaks the release and DEB packages. ↵James Mills
(#9552) * Revert "Fix SHA256 handling in eBPF bundling code. (#9546)" This reverts commit 7ff315810e1d2c5871c4e87049687852b2cee7ee. * Revert "Add eBPF bundling script to `make dist`. (#9539)" This reverts commit 3a7961d4176aee63f24c4cbc96dabaa13010d6f1. * Revert "Properly include eBPF collector in binary packages. (#9450)" This reverts commit 690fbcefd3ae0cbc858870ad64d320f6f251e5fc.
2020-07-13Properly include eBPF collector in binary packages. (#9450)Austin S. Hemmelgarn
2020-05-22Package: obsoletes conflicting EPEL packages (#6879 #8784) (#9108)Adrien Mahieux
2020-05-13Rename eBPF collector (#8822)thiagoftsm
We renamed eBPF collector for a more meaningful name.
2020-04-24Use a prefix for the old dashboard. (#8752)Austin S. Hemmelgarn
* Use a prefix for the old dashboard. This switches the code for handling of the new React dashboard to use a prefix for accessing the old dashboard instead of relying on a switching script to handle selecting the desired dashboard implementation. It also adds proper support to the packaging code to bundle the React dashboard. * Fixed typos in web/gui/Makefile.am. * Tidy up prefixed dashboard. This is based on discussion with cakrit about how to handle this more sanely. * use /old suffix for streamed nodes links in dropdown menu * fix fetching dynamic vendor files with /old suffix Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com>
2020-04-21Added JSON-C dependency handling to instlal and packaging. (#8776)Austin S. Hemmelgarn
* Add JSON-C dependency handling to instlal and packaging. * Update build failure message.
2020-04-03Correctly fixed RPM package builds on Fedora. (#8595)Austin S. Hemmelgarn
* Revert "Fix broken Fedora 30/31 RPM builds (#8572)" This reverts commit 71290d9cb904e8ea08456e5c4ab24bc274e593bf. It didn't actually fix things and caused a different set of issues. * Build LWS and mosquitto with -fPIC in RPM builds. This fixeslinking errors that are currently causing RPM package build failures for Fedora 30/31.
2020-03-09Added code to bundle LWS in binary packages. (#8255)Austin S. Hemmelgarn
* Added code to bundle LWS in binary packages. This adds the required tode to bundle a custom build of libwebsockets as required by Netdata Cloud functionality into the binary packages. * Update packaging/bundle-lws.sh Co-Authored-By: James Mills <prologic@shortcircuit.net.au> Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2020-03-06Revert "Fixed Source0 URL in RPM spec (#7794)" (#8305)James Mills
This reverts commit 1477784048319e84127e466add6eb4a092c235e1. Fixes #8283
2020-03-05support rhel by not installing the cups plugin when v1.7 is not satisfiable ↵Austin S. Hemmelgarn
(#7216) Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2020-02-17eBPF process plugin (#7979)thiagoftsm
* syscall_plugin: Compilation This commit brings the necessaries changes to the compilation files * syscall_plugin: Collector body This commit brings the collector body to files. * syscall_plugin: .gitignore This commit adds syscall.plugin to .gitignore * syscall_plugin: Plugin adjust Fix reference and remove message * syscall_plugin: Remove limit Remove call to setrlimit * syscall: Fix start This commit fixes problems related with start of the plugin * syscall_plugin: Bring heartbeat This commit removes the sleep and changes to heartbeat to avoid plugin receive a SIGTERM * syscall_plugin: Missing semicolon * syscall_plugin: Fix dimension Brings the initial value of chart for the normal dimension of the other values * syscall_plugin: Fix dimension 2 The previous change did not give the expected results, so I am bringing more a fix * syscall_plugin: adjust values Rename function and adjust pid size * syscall_plugin: Remove Chart and fix var this commit removes a chart that will not be created and fix an error when the bytes were calculated * syscall_plugin: Brings error This commit brings a new variable that will be used to identify errors * syscall_plugin: Rename charts This commit starts to rename the charts properly * syscall_plugin: Rename plugin * syscall_plugin: missing changes for rename * syscall_plugin: fix compilation * syscall_plugin: bring new charts * syscall_plugin: Warnings Remove warnings from compilation time * vfs_plugin: Fix Error chart plot There was an error when the chart was being displayed * vfs_plugin: Change family This commit changes the family of the VFS plugin * vfs_plugin: Fix order This PR fixes the wrong order when creating a chart * vfs_plugin: Remove path Remove path from structure * vfs_plugin: From Perf to HASH This commit converts the main source a hash table and also split the data collection per chart * vfs_plugin: Adjusts and exit This commit brings adjusts to the collect and the complete monitor to exit events * vfs_plugin: Start process This commit brings the monitoring of a process start and thread creation to Netdata * vfs_plugin: Visualization and collection Adjust variables to show and to collect data * vfs_plugin: Connection with apps plugin This commit starts to bring the connection with apps. * vfs_plugin: Various This commit brings new label for charts, fix to error chart and adjusts for new charts, I am sorry * vfs_plugin: basis new chart This commit brings the basis of the new charts for the plugin * vfs_plugin: Apps plugin This commit brings the integration with apps.plugin * vfs_plugin:fix counter This commit fixer the difference between apps plugin and counter * ebpf_plugin: rename charts This commit renames the charts * ebpf_plugin: New charts adjusts and log start * ebpf_plugin: Log thread Creates the log thread that will be used to store error message * ebpf_plugin: Rename Web Group This commit reorganize the charts on dashboard * ebpf_plugin: Restore This commit restore the previous status of the collector where we only have a global vision of the problems * ebpf_plugin: kretprobe This commit brings the initial changes for the collector works with both eBPF program * ebpf_plugin: New syscalls This commit brings the new syscalls that we are monitoring * ebpf_plugin: New charts This commit brings new charts to the collector * ebpf_plugin: Parse config This commit starts the parser of the file * ebpf_plugin: collector debug * ebpf_plugin: Global variables from config This commit brings the global variable update from the config file * ebpf_plugin: Clean kprobe_events This commit brings the clean of kprobe_events and also starts the common library for all eBPF collectors * ebpf_plugin: Check kernel version This function brings a check for the kernel version * ebpf_plugin: Start documentation This commit brings the initial documentation for the users * ebpf_plugin: Documentation This commit brings adjust to code and updates for the documentation * ebpf_plugin: this commit brings the developer mode to the collector * ebpf_plugin: Documentation This commit brings more information to the documentation * ebpf_plugin: Documentation This commit brings more information to the documentation * ebpf_plugin: errno to logs Brings errno number to logs * ebpf_plugin: Documentation This commit brings fixes to the collector documentation * ebpf_plugin: Move description This commit move the chart description from the C code to dashboard_info.js * ebpf_plugin: Rename files This commit rename files to the final version * ebpf_plugin: COntinue renaming This commit continue renaming the files to the final version * ebpf_plugin: Renaming process This commit renames the final plugin * ebpf_plugin: Finish rename This commit finishes the rename processing * ebpf_plugin: fix entry charts This commit removes one chart from mode * ebpf_plugin: Fix remove This commit brings a new function to fix the unload of collector when the collector is running in entry mode * ebpf_plugin: Rename on old kernels This commit brings fixes for syscall names * ebpf_plugin: Timestamp to log This commit brings the timestamp to the logs * ebpf_plugin: Remove syscall With the changes on the backend, we are not monitoring more sys_clone * ebpf_plugin: The syscall is important for 5.3 or newer, so I am returning * ebpf_plugin: Remove concurrency This commit adds variables necessary to interact with the new structor of the eBPF program * ebpf_plugin: Ids to dimension This commit fews the functions name as ids for the dimensions * ebpf_plugin: Missing chart This commit brings the missing chart for Netdata * ebpf_plugin: Remove unecessary message Remove unecessary error message from the collector * ebpf_plugin: Rename dimension This commit renames the dimension for something more meaninful * ebpf_plugin: Optional log This commit converts the developer.log in an optional feature * redirect to stdoou This commit starts to bring the capability to redirect everything to stdout * ebpf_plugin: Disable dev mode This commit removes the possibility to load the dev mode file for while * ebpf_plugin: Disable eBPF process By default this plugin won't be enabled * ebpf_plugin: Update debug message * ebpf_plugin: this commit adjusts documentation to next release. * ebpf_plugin: documentation fix. * ebpf_plugin: Percpu hash This commit moves from an unique hash table for various to speed up the collector * ebpf_plugin: Compatibility This commit set compatibility version between kernels
2020-02-17Fix nightly RPM builds. (#8109)Austin S. Hemmelgarn
* Fix bundling of libmosquitto for RPM builds. * Add libmosquitto handling files to make dist output.
2020-02-14Add handling of libmosquitto to binary packages. (#8085)Austin S. Hemmelgarn
This adds code to handle bundling our custom fork of libmosquitto into our binary packages. It pulls down the required sources, builds them, and copies the build artifacts into the right place so that the build of Netdata actually uses them.
2020-02-06Fix CentOS 7 RPM build failures. (#7993)Austin S. Hemmelgarn
* Correct date in RPM spec file changelog. 2020-01-01 was a Wednesday, not a Thursday. * Don't mark go.d.plugin executable in staging area. This prevents it from being checked for C-style debug info that it doesn't have, thus allowing the build to continue correctly.
2020-02-03Assorted cleanup items in the RPM spec file. (#7927)Austin S. Hemmelgarn
* Add explicit creation of log and cache directories to specfile. This eliminates a RPM build error seen on multiple OSes with recent versions of rpmbuild. * Change build dependency for RPMs fron `git` to `git-core`. We don't actually need everything the regular `git` package pulls in, just the `git` command and a handful of built-in sub-commands, so we can just depend on `git-core` during the build instead of the full package. This causes no issues for existing build workflows, as `git` pulls in `git-core`. However, it will allow us to make the new Docker-based package building workflow a bit more efficient as we can decrease the size of the package builder images. * Remove useless build dependency on netcat in specfile. We don't actually use netcat anywhere during the build process, so there's no point in depending on it for the build. * Update RPM specfile changelog.
2020-01-29Fixed Source0 URL in RPM spec (#7794)James Mills
2020-01-25Remove all refernces to .keep files (#7829)James Mills
2020-01-24Fix install permissions (#7632)Austin S. Hemmelgarn
* Fix ownership and permissions in RPM packages. This restructures things so that we're relying as much as possible on the `make install` command, which gets the ownership and permissions right in most cases. It does not change any of the capabilities afforded to various commands, those need further investigation to be set correctly. * Use correct perms and owners in installer script. This corrects the permissions and ownership of files as installed through the regular installer script (used for kickstart.sh installs).
2020-01-22netdata/packaging: split free IPMI for RPM (#6935)Paul Emm. Katsoulakis