Age | Commit message (Collapse) | Author |
|
This commit creates the following folders during the installation
of Debian packages:
- /var/log/netdata
- /var/cache/netdata
- /var/run/netdata
During the purge of the package, these folders are removed if empty.
Note that the permissions of `/var/log/netdata` allow the members of
the `adm` group to read the content.
Fixes #8173
|
|
|
|
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.
|
|
|
|
1) side fix: correction of wording in CUPS description
2) Create subpackage for free IPMI
3) Settle the rules for populating the new package and removing freeipmi from core package
Note: We use strict version matching, once this works fine we need to go back and fix this for CUPS as well
Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
|
|
As per the Debian Policy Manual, section 4, sub-section 4, the trailer
line containing the maintainer information and the date in the changelog
file must have a single space preceding the two dashes that mark the
start of the line.
This fixes warnings in the package build process, as well as enabling
the builds to work with older more pedantic versions of
dpkg-buildpackage.
|
|
|
|
* make install takes care of ownership and permissions of /etc/netdata
Instead of netdata-installer.sh
* Fix identation in Makefile.am files
* netdata-installer.sh: Clearer variable assignment
* netdata-installer.sh: Set /etc/netdata/netdata.conf ownership to root:root and permissions to 0644
* netdata-installer.sh: Set /etc/netdata/.environment permissions to 0644
* install-or-update.sh: Set permissions for /opt/netdata/etc/netdata.conf to 0644
* install-or-update.sh: Use ${NETDATA_PREFIX} more
* install-or-update.sh: Improve indentation
* install-or-update.sh: Do not create /opt/netdata/etc/netdata directories
* debian/rules: /etc/netdata files and directories are now installed by make install
* debian/rules: Properly copy files across directories
When destination directory exists
* netdata.spec.in: /etc/netdata ownership and permissions
* Revert "Fix identation in Makefile.am files"
This reverts commit 63fdb299b69152fda6984f81b0fef02f364c5efe.
* Remove uninstall-local recipes from Makefile.am files
* Removed superfluous whitespace and hash
|
|
|
|
|
|
|
|
* fix lint error for debian contrib
* remove directory name to avoid direct copy
|
|
### Summary
Provide new collector parsing `/proc/slabinfo` to provide details on kernel slab structures.
Asked by issue #13 (very happy for the oldest issue in backlog)
##### Component Name
collectors/slabinfo.plugin
##### Additional Information
This slabinfo details allows to have clues on actions done on your system.
In the following screenshot, you can clearly see a `find` done on a ext4 filesystem (the number of `ext4_inode_cache` & `dentry` are rising fast), and a few seconds later, an admin issued a `echo 3 > /proc/sys/vm/drop_cached` as their count dropped.
|
|
When removing/purging the Debian package
```
root netdata 775 /var/lib/netdata/registry
```
was being left behind in the `/var/lib/dpkg/statoverride` file. This causes subsequent installations to fail with:
```
dpkg: unrecoverable fatal error, aborting:
unknown group 'netdata' in statoverride file
```
|
|
(#6724)
* netdata/packaging: baby steps, create the new package and introduce the install file
* netdata/packaging: [ci skip] change branch to be able to test
* netdata/packaging: we do define usrlib path to be /usr/lib
* netdata/packaging: silence sign errors for now
* netdata/packaging: Add rules for plugin-cups sub package
* netdata/packaging: [ci skip] That is libexec, not lib, duh
* netdata/packaging: [ci skip] explicitly arrange the other plugins also
* netdata/packaging: [ci skip] fix bug
* netdata/packaging: copy, dont move
* netdata/packaging: move all plugins around, also remove a slash
* netdata/packaging: [ci skip] align travis.yml changes with the ones we used on rpm cups pkg split
* netdata/packaging:[ci skip] add netdata dependency
* netdata/packaging:[ci skip] Update control files
* netdata/packaging: Add separate control file for buster, dependencies deviate (libprotoc17 instead of libprotoc10....)
* netdata/packaging: [ci skip] whoops
* netdata/packaging: [ci skip] Copy over files from temp dir, if destination non existent
* netdata/packaging:[ci skip] -d, not -f
* netdata/packaging: [ci skip] long shot
* netdata/packaging: [ci skip] revert this - need to retest
* netdata/packaging: [ci skip] remove the .install, as per an article input (https://askubuntu.com/questions/660373/dh-install-fails-with-missing-files) these files are for handling items not managed by the upstream build system, so bye bye
* netdata/packaging: Ok, lets ditch dh_auto_configure
* Revert "netdata/packaging: Ok, lets ditch dh_auto_configure"
This reverts commit 3b497cf5f6e157ce5429ffce38452515670a934a.
Well, that didn't affect anything
* netdata/packaging: [ci skip] here's a crazy thought
Okay, assuming that packager decided to use debian/tmp because we introduced multiple packages.
If that is the case, then move the custom stuff out first and then just move all debian/tmp to debian/netdata.
In theory, that should get me back on track for the rest of the package processing.
Lets see if i was right
* netdata/packaging: [ci skip] mv complains, forgot about that, fix
forgot about that, just copy for now to verify the use case and we will consider rsync approach for faster processing afterwards
* netdata/packaging: nope, that didn't work. rollback and remove also a suspicious backslash
* netdata/packaging: ok, trying this
* netdata/packaging: really?
* netdata/packaging: [ci skip] reinstate original setup, the bug probably was too obvious to spot
* netdata/packaging:[ci skip] now that you finally noted the www bug, try to copy over the rest of the stuff in
* netdata/packaging: [ci skip] long shot, etc is not properly created, lets see if it was already there and we messed it up
* netdata/packaging: [ci skip] fix perms, add placeholder folders in etc
* netdata/packaging: [ci skip] preserve ownership details when copying over
* netdata/packaging:[ci skip] reinstate branch condition
* netdata/packaging: redudant
* netdata/packaging: xenial - add cups subpackage
* netdata/packaging: remove cups dependency from those distros, missed to update the control file
* netdata/packaging: dont use personal account info
|
|
|
|
library available for protoc runtime (#6777)
|
|
|
|
* netdata/packaging: Align libdir with the one we expect our installation to use, following the rest of the directory correllations
* netdata/packaging:[ci skip] One more
|
|
Overriding as i will be closely monitoring the results
|
|
* make remark access all directories
* detailed fix after autofix by remark lint
* cross check autofix for this set of files
* crosscheck more files
* crosschecking and small fixes
* crosscheck autofixed md files
|
|
* First pass of changing netdata to Netdata
* Second pass of netdata -> Netdata
* Starting work on netdata with no whitespace after
* Pass for netdata with no whitespace at the end
* Pass for netdata with no whitespace at the front
|
|
* netdata/packaging: [ci skip] Add go.d version to a single place
* netdata/packaging: [ci skip] Things are a bit different in debian build, we need to define the path in a different way so pass it from the upper layer
* netdata/packaging: [ci skip] Missed to add on the makefile
* netdata/packaging: bump go.d version
|
|
functionality availability (#6552)
* netdata/packaging: [ci skip] Add trusty and xenial
* netdata/packaging: [ci skip] check directly for the flag existence
* netdata/packaging: Append table for functionality-related support matrix
* netdata/packaging: add line ending
* [ci skip] revert this - will get help from joel
* netdata/packaging/doc: [ci skip] experiment
* netdata/packaging: [ci skip] fix
* netdata/packaging: [ci skip] Add more info needed for the rest to check the style
* netdata/packaging: [ci skip] different icon
* netdata/packaging: [ci skip] split per arch
* netdata/packaging:[ci skip] More adjustments
* netdata/packaging:[ci skip] more adjustments
* netdata/packaging:[ci skip] style
* netdata/packaging: update status
* netdata/packaging: [ci skip] update rpm/deb state
* netdata/packaging:[ci skip] different icon for unchecked
* Revert "netdata/packaging:[ci skip] different icon for unchecked"
This reverts commit 6ed2a46859f0bb1dd3c1a266280074b023028382.
oops, the other one, not this
* netdata/packaging: [ci skip] change symbol for unchecked
* netdata/packaging: we dont know source state for all other linux, so make it questionmark
* netdata/packaging:[ci skip] fix suse leap state
* netdata/packaging: [ci skip] fix deb state
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* netdata/pkg: [ci skip]Update DISTRIBUTIONS.md
Sync x86 table with amd64 table.
They are not 1 on 1 but close enough, so syncing and then will adjust to the differences at another pass
* netdata/packaging: [ci skip] code health doesnt make sense, rename to ci smoke testing which makes more sense
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* netdata/packaging:[ci skip] Stricter check on protobuf, plus separate config for trusty because no libuv1 available there
* netdata/packaging: add functionality-related details
* netdata/packaging/docs: add skeleton sections
* netdata/packaging/docs: remove that
* netdata/packaging: fix header
* Update DISTRIBUTIONS.md
* netdata/packaging/docs:[ci skip] fix indent
* netdata/packaging/docs: [ci skip] change wording
* netdata/packaging/docs: kickstart-static64 everywhere
* netdata/packaging/docs: [ci skip] Add legend and update some fields
* netdata/packaging/docs: add disable flags
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update DISTRIBUTIONS.md
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* netdata/packaging/docs: feedback
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/DISTRIBUTIONS.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* netdata/packaging: more feedback
|
|
* netdata/packaging: Expect .tar.gz version of go.d plugin, after go.d PR248
* netdata/packaging: Checksum comes on the tarball
* netdata/packaging: dont mv the file after extraction, just directly extract to destination, its cleaner. Also, make sure you remove the tmp folder
* netdata/packaging: bump go.d to v0.8.0
* netdata/packaging: actually fix
* netdata/packaging: change the way we extract it, wasnt right after all
* netdata/packaging: update go.d checksums
|
|
after email and before date
|
|
packaging (#6480)
* netdata/packaging: [ci skip] Add prometheus remote write plugin deps
* netdata/packaging: [ci skip] adjust for the tests
* netdata/packaging: [ci skip] Apparently we need proto-c too
* netdata/packaging: [ci skip] Add dependencies also
* netdata/packaging: [ci skip] fix suse dependency
* netdata/packaging: [ci skip] epel-release should always go first dumdum
* netdata/packaging: [ci skip] g++ needed for prometheus
* netdata/packaging: First prepare the repo, then start throwing in packages
* netdata/packaging: [ci skip] fix attempt for missing snappy on some debian-based packages
* netdata/packaging: [ci skip] protobuf compiler dep
* netdata/packaging: [ci skip] Add the generic maintainer info and the new website. Also stop pushing snappy to Debian/Stretch, doesnt have it
* netdata/packaging: [ci skip] Remove branch dev setup
* Empty commit to re-trigger Travis
|
|
process (#6465)
* netdata/packaging: [ci skip] reinstate dev branch to help testing
* netdata/packaging: [ci skip] Yes, make the right package choice on json-c for debian based distros..
* netdata/packaging: [ci skip] two more packages that differentiate on debian/ubuntu...............
* netdata/packaging: [ci skip] Add more package dependencies around building
* netdata/packaging: [ci skip] Introduce changelog generation technique for .DEB
1) Remove contrib/debian/changelog from gitignore, we want it in
2) Add variables to monitor latest release version and latest release date from git
3) Add a templated contrib/debian/changelog, that will be the starting point for our changelog generation.
Either on stable release or nightly releases, we will be generating the logs since the previous release, to manage the content.
Note: We might eventually take the effort to produce one large changelog and append each time the extra stuff
4) Add the steps to prepare the source and the changelog for building and execute the build
At this stage things should still be broken, but we should have come closer to a ready-to-build-the-package environment per distro
* netdata/packaging: [ci skip] Extract to specified directory, otherwise we dump it on a privileged folder using an unprivileged user (builder)
Also, a fix on sed command, missed the s keyword on the string
replacement
* netdata/packaging: [ci skip] Should be in-place replacement, use -i instead of -e
* netdata/packaging: [ci skip] wrong parameter usage
* netdata/packaging: [ci skip] factor out the two build commands to run as a single bundle. refactor trigger deb build script respectively
* netdata/packaging: [ci skip] Be sure to copy over the build script to the build path
* netdata/packaging: [ci skip] OCD - unnecessary s added
* netdata/packaging: [ci skip] Changelog generation should take place on the repo side, then copy it over to the destination (If that doesnt work well, will just provide a static link for changelog
* netdata/packaging: [ci skip] missed the ignore branch option
Also, a nit on the gbp command
* netdata/packaging: [ci skip] link to the original path, then create symlink on build folder
Also, fix --since option
* netdata/packaging: [ci skip] Run replacement of changelog fields on the host, not on the container
* netdata/packaging: [ci skip] fix contrib path, you are no longer reading from container path
* netdata/packaging: [ci skip] fix version
* netdata/packaging: [ci skip] add dep
* netdata/packaging: [ci skip] fix changelog template
* netdata/packaging: [ci skip] Fix debian package build, we were looping through forever. Exclude contrib all together
* netdata/packaging: [ci skip] Add logic to gather all package related content from the container folder and push it for publishing
* netdata/packaging: [ci skip] fixes and nits
1) use the branch for the beta deployment
2) change the cp pattern
* netdata/packaging:[ci skip] add more debug info
* netdata/packaging: [ci skip] Adjust LXC directory permissions, so that the rest of the workflow can pull through
* netdata/packaging: [ci skip] Using expressions within double quotes doesnt work, use quotes only on the variable to avoid syntax warnings from shellchecking
* netdata/packaging: [ci skip] Update build deps
* netdata/packaging: Add runtime deps (hopefully)
* netdata/packaging: [ci skip] remove old distro
* netdata/packaging: [ci skip] dont let that space there, breaks the syntax
* netdata/packaging: [ci skip] missed one
* netdata/packaging: [ci skip] yank yank yank
* netdata/packaging: [ci skip] You missed www over there
* netdata/packaging: [ci skip] Remove broken distros (no container images). We will revisit the way to support multiple distros in a different way, lxc failed us
* netdata/packaging: Pull in go.d plugin, also fix chmod command to just pass the folder since with the -R doesnt require anything else
* netdata/packaging: [ci skip] Get cups, freeipmi and nfacct on
* netdata/packaging: [ci skip] pull different package in
* netdata/packaging: [ci skip] Install dependencies on the build machine
* netdata/packaging: [ci skip] dont do post-clean, not on all versions
* netdata/packaging: [ci skip] move go install seperately
* netdata/packaging: [ci skip] Towards a more appropriate go.d plugin install
* netdata/packaging: [ci skip] fix permissions setting
* netdata/packaging: [ci skip] fix freeipmi package install
* netdata/packaging: [ci skip] Fix build arch setting on the build command, also remove pre-clean, it breaks on debian/jessie
* netdata/packaging: [ci skip] fix postinst actions, we use libexec
* netdata/packaging: adjust www and go.d permissions
* netdata/packaging: [ci skip] Handle the different build tool version cases, also take care some dependency issues on older version jessie
* netdata/packaging: [ci skip] adjust the control file based on the distro
* netdata/packaging: [ci skip] Move control file preparation prior to packaging the source
* netdata/packaging: [ci skip] Adjust versioning scheme for the nightlies
* netdata/packaging: [ci skip] Let RPM be built too for testing
* netdata/packaging: [ci skip] Factor out version calculation
* netdata/packaging: [ci skip] Attempt to modify version properly
* netdata/packaging: [ci skip] Update documentationg regarding .DEB files
* netdata/packaging: [ci skip] autogen not available everywhere, also fix json-c deps
* netdata/packaging: Remove development settings, also remove beta deployment as its not needed
|
|
* move installer dir under packaging
* fix docs creation
* uninstaller is broken and fix will be created in #5031
* fix links in docs
|
|
* Added GA tags to markdowns
* Add GA tags to mds
|
|
* RPM spec and patches for sles 11
* some fixes to alarm-notify.bash3 to make codacity happy
* replace ugly bash3 alarm notifier with trimmed rewrite
* notification format fixes
* update README for sles11 contrib
|
|
|
|
|
|
* modularized all external plugins
* added README.md in plugins
* fixed title
* fixed typo
* relative link to external plugins
* external plugins configuration README
* added plugins link
* remove plugins link
* plugin names are links
* added links to external plugins
* removed unecessary spacing
* list to table
* added language
* fixed typo
* list to table on internal plugins
* added more documentation to internal plugins
* moved python, node, and bash code and configs into the external plugins
* added statsd README
* fix bug with corrupting config.h every 2nd compilation
* moved all config files together with their code
* more documentation
* diskspace info
* fixed broken links in apps.plugin
* added backends docs
* updated plugins readme
* move nc-backend.sh to backends
* created daemon directory
* moved all code outside src/
* fixed readme identation
* renamed plugins.d.plugin to plugins.d
* updated readme
* removed linux- from linux plugins
* updated readme
* updated readme
* updated readme
* updated readme
* updated readme
* updated readme
* fixed README.md links
* fixed netdata tree links
* updated codacy, codeclimate and lgtm excluded paths
* update CMakeLists.txt
* updated automake options at top directory
* libnetdata slit into directories
* updated READMEs
* updated READMEs
* updated ARL docs
* updated ARL docs
* moved /plugins to /collectors
* moved all external plugins outside plugins.d
* updated codacy, codeclimate, lgtm
* updated README
* updated url
* updated readme
* updated readme
* updated readme
* updated readme
* moved api and web into webserver
* web/api web/gui web/server
* modularized webserver
* removed web/gui/version.txt
|
|
|
|
* replaced referenced to firehol github org with netdata github org
* increased versions of js files
* added new docker hub badge netdata/netdata and restored firehol/netdata
|
|
|
|
|
|
This tags all the files that I can clearly identify as being part of
Netdata and not a local copy of a third party package that we're
redistributing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Netdata needs to be able to create the health and registry directories
on launch. The inability to do this prevents the daemon from starting.
|
|
|
|
|
|
|