summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-01-31Fixes a bug in DO_NOT_TRACK expression (#7929)James Mills
* Fixed bug in DO_NOT_TRACK expression * Fix kickstart-static64 checksum in docs. Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2020-01-31installer: include go.d.plugin version v0.15.0 (#7882)Ilya Mashchenko
* /web/giu/dashboard_info.js: add cockroachdb info * /web/giu/dashboard_info.js: lgtm fix * /health/health.d/: add cockroachdb.conf
2020-01-31[Package i386 RPM][Build latest] Package build process triggernetdatabot
2020-01-31[Package amd64 RPM][Build latest] Package build process triggernetdatabot
2020-01-31[Package i386 DEB][Build latest] Package build process triggernetdatabot
2020-01-31[Package amd64 DEB][Build latest] Package build process triggernetdatabot
2020-01-30Fix typo in PULL_REQUEST_TEMPLATE (#7924)Joel Hans
2020-01-31[ci skip] create nightly packages and update changelognetdatabot
2020-01-30Add doc with post-install instructions for GCP (#7912)Joel Hans
* Finish draft of cloud page * Fixes to text, add page to nav * Fixes to structure to accomodate new grid item * Add AWS and Azure info * Add proxy details
2020-01-30Set ownership correctly for plugins in netdata-installer.sh (#7923)Austin S. Hemmelgarn
2020-01-30add possibility to change badge text font color (#7809)Timo
- add possibility to change badge font color - unify color param syntax and fix where not working before in conflict with documentation custom html colors were not possible as label color. This fixes that and makes all `color` parameter values behave in the same way
2020-01-30Clarify editing health config files in health quickstart (#7883)Joel Hans
* Add fixes to health quickstart * Add notice about EDITOR and fix link
2020-01-30Add docs about using caching proxies with our package repos. (#7909)Austin S. Hemmelgarn
This adds some basic documentation about how to use our package repositories through caching proxies, since PackageCloud's configuration doesn't really do anything to properly support it. Relevant to: #7905
2020-01-30[ci skip] create nightly packages and update changelognetdatabot
2020-01-30Adds support for opting out of telemetry via the DO_NOT_TRACK envirnment ↵James Mills
variable (#7846) * Added support for opting out of telemtry via the DO_NOT_TRACK environment variable * Added support for DO_NOT_TRACK=1 in anonymous-statistics.sh and minor cleanup in Dockerfile and run.sh entrypoint * Allow DO_NOT_TRACK to be either non-zero or non-empty * Update md5sum of kickstart-static64.sh in docs * Fixed a bug in netdata-installer.sh * Revert changes to daemon/main.c (testing onyl) * Update docs/anonymous-statistics.md Co-Authored-By: Mansour Behabadi <57921115+ncmans@users.noreply.github.com> Co-authored-by: Mansour Behabadi <57921115+ncmans@users.noreply.github.com>
2020-01-30Better systemd service file (#7790)Amish
* Provide a new service file for systemd v235+ Let systemd create directories, instead of via ExecStartPre. * Do not set global options in service file via -W option. The default set by service file are anyway the defaults used by netdata. Better place is to mention them in netdata.conf and allow user to change those options via netdata.conf file instead of changing in service file.
2020-01-29Add disk size detection to system-info.sh. (#7866)Austin S. Hemmelgarn
* Add rudimentary disk size detection to system-info.sh. This adds really basic detection of total disk size to the system-info.sh script. This detection is _wildly_ inaccurate in many cases, but it's not realistically possible to make it much better than what's added here without making the script exponentially more complicated (there are just way too many edge cases and special conditions to worry about). This adds the following keys to the output of the script: * NETDATA_TOTAL_DISK_SIZE: This indicates the total detected disk size in bytes. * NETDATA_DISK_DETECTION: This indicates what detection method was used for determining the total disk size. It may return either `df` (which works almost everywhere but is wildly inaccurate) or `sysfs` (which is linux specific, but is 100% accurate for a majority of cases). On most platforms, this parses the output of the `df` command, limiting only to filesystems that are used on fixed disks, which provides reasonably accurate results in most trvial cases, but kind of falls apart the moment people are doing anything remotely complicated in terms of storage (like using a logical volume manager or under-comitting their disk space). On Linux, it will preferentially try to parse the info out of `/sys/block`, filtering on device major numbers that are actually used for fixed disks and excluding devices that are indicated to be removable. This provides a very accurate result if the system does not use removable media as primary storage, but requires that the user who runs the script can read the contents of `/sys/block`. * Add VirtIO block device major number to the list of scanned devices. * Actually handle VirtIO block devices correctly. * Fixes for macOS handling.
2020-01-29[ci skip] create nightly packages and update changelognetdatabot
2020-01-29Add release channel customization to docker build (#7373)Mansour Behabadi
* Add release channel customization to docker build * Add release channel to travis config * Build releases with stable channel * Update packaging/docker/build.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> * Update packaging/docker/build.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> Co-authored-by: Mansour Behabadi <mansour@oxplot.com> Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
2020-01-29Fixed Source0 URL in RPM spec (#7794)James Mills
2020-01-29.travis.yml: Add -fno-common to CFLAGS (#7870)Craig Andrews
-fno-common will be set by default in GCC 10, see https://gcc.gnu.org/PR85678 Therefore, netdata should test with that configuration to be ready for this change. See https://github.com/netdata/netdata/issues/7869
2020-01-28/collectors/python.d: remove unbound module (#7853)Ilya Mashchenko
* collectors/python.d/unbound: remove * /docs: remove python unbound mentions * README.md: remove python unbound mentions
2020-01-28collectors/python.d/phpfpm: fix readme and per process chart ti… (#7876)Ilya Mashchenko
* /collectors/python.d/phpfpm/README.md: update * /collectors/python.d/phpfpm: update per process chart titles
2020-01-28Missing extern (#7877)thiagoftsm
* missing_extern: Fix missing Fix few externs that were missing in global variables * missing_extern: Variables This commit declares the variables inside .c files
2020-01-28[ci skip] create nightly packages and update changelognetdatabot
2020-01-27Small updates to dash.html (#7757)Thomas Anderson
* dash.html docs and styling improvements * Fixing whitespace * Futher whitespace fixing * Finally fixed whitespace * Tabs to spaces * Fix Netdata capitalization Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Fix Netdata capitalization Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
2020-01-27Docs: Overhaul of installation documentation (#7841)Joel Hans
* Initial commit to bring new branch up to speed with previous work * Initial commit to bring new branch up to speed with previous work * Pass through for grammar and typos * Pass through for grammar and typos * First additions * Improvements to installation page plus new separate kickstart page * Lots of new pages, lots of improvements * Continued work * Fixing the install grid * Added methods to nav * Fix typo and add kickstart to nav * CSS cleanup * Various cleanup * Cleanup on update/uninstall pages * Add responsiveness to install grid * Update checking of the kickstart files MD5 checksusm. This updates the CI script used to verify the MD5 checksums of the kickstart files as being correct in the documentation to use the new locations for the respective checksums. This is more involved than a simple path update because the existing script assumes that both checksums are listed in the same file, which is no longer the case. Any future updates that move the location of the checksums just need to modify the lines in tests/installer/checksums.sh that start with `check_checksum` to point to the correct files. * Added Alpine package for James * Add packages to top of installation page * Fix for Chris * Telemetry fixes * Trying to fix CI * Changing checksums * Fix CI checks for kickstart checksums. The changed wording was confusing the code that parsed the checksum out of the documentation, this fixes the code to handle this new wording correctly. * Update kickstart-static64 checksum * Update 64 checksum Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2020-01-28Fixes and improves the installer/updater shell scripts. (#7847)James Mills
* Auto-formatted the installer/updater shell scripts * Fixed shellcheck problems founds for installer/updater shell scripts * Update netdata-installer.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> * Update packaging/installer/kickstart-static64.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> * Update packaging/makeself/install-or-update.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> * Updated md5sum of kickstart-static64.sh in docs * Fixed bad rebase/merge conflicts Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
2020-01-28Added ReviewDOg CI checks for Golang (#7827)James Mills
2020-01-28Adds Docker based build system for Binary Packages, CI/CD, Smoke Testing and ↵James Mills
Development. (#7735) * Added Dockerfile for building, packaging and performing basic smoke tests of the package(s) and NetData Agent itself * Moved install of package per distro into a script and refactor in order to supprot other distro(s) * Add support for RPM based systems too (Fedora, CentOS) * Drop the unnecessary (for now) Debian cleanup steps * Reverse the order of installing NetData agent and testing tools * Update default VERSION to 0.1 to match builder images * Added support for openSUSE * Minor fixes from review * Update Dockerfile Co-Authored-By: Austin S. Hemmelgarn <ahferroin7@gmail.com> * Update Dockerfile Co-Authored-By: Austin S. Hemmelgarn <ahferroin7@gmail.com> * Move thigns around a bit * Re-update test/install shell scripts to be POSIX. We don't really want to depend on Bash here * Fixed support for yum vs. dnf * Fixed paths to scripts * Added a script to kick off the build/package/install/test flow more easily for both humans and CI/CD Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2020-01-27Update stream documentation bringing explanation of some errors (#6995)thiagoftsm
* stream_doc: Update documentation Update documentation for stream to clarify the users some errors * stream_doc: Update documentation 2 Explain more errors that can happen on master * Fix errors reported This commit fixes errors reported by @cosmix * Fix and more errors This commit brings more fixes for the text and description for more errors * stream_doc: Gramatical fixes This commit brings all the fixes suggested by Joel * stream_doc: Gramatical fixes This commit brings the last fix suggested by Joel * stream_doc: Message format I missed a message format in the previous sprint * Fix doc: This commit fix the errors reported by Joel * Fix test This commit brings part of the fixes requested from Christopher * New explanation: The previous explanation for these two features were not good enough, so I rewrite it to avoid confusion * stream_doc: Fix text After to receive the text from Joel, I am bringing all the fix for the new section on documentation
2020-01-26[ci skip] create nightly packages and update changelognetdatabot
2020-01-25Remove all refernces to .keep files (#7829)James Mills
2020-01-25Added ReviewDOg CI checks for JavaScript (#7828)James Mills
2020-01-24python.d/retroshare: add readme (#7849)Ilya Mashchenko
2020-01-24Improve the system-info.sh script to report CPU and RAM meta-data. (#7815)Austin S. Hemmelgarn
* Add CPU information collection for Linux and FreeBSD. This adds logic to system.info.sh to collect info about the system's CPU. It adds the following keys to the output of the script: * NETDATA_CPU_LOGICAL_CPU_COUNT: This reports the number of logical CPU cores the system is actually using (including offline ones). This may differ from the CPU's advertised core count, but is what most people actually care about. * NETDATA_CPU_VENDOR: This reports the CPU manufacturer. This is needed because some systems do not include the manufacturer name in the CPU model name. * NETDATA_CPU_MODEL: This reports the CPU model. It may or may not include any of a model number, intended operating frequency, and manufacturer name. * NETDATA_CPU_FREQ: This reports a best guess at the design frequency for the CPU. It may instead be the max boost frequency. This is reported as a number with associated units, which will usually be either hertz or megahertz. * NETDATA_CPU_DETECTION: This reports the method used to detect the CPU information, It will be either 'none' if no detection was successful, or a space-separated list of detection methods. This may potentially use any of the following detection methods: * lscpu: Uses a mix of information from across the system. Requires the `lscpu` command to be installed. * dmidecode: Uses the information from the DMI tables. Requires hardware support as well as the `dmidecode` command. * nproc: Uses the `nproc` command from the GNU coreutils to get a count of logical processors. * sysctl: Uses the `sysctl` command on FreeBSD to fetch information. * sysfs: Uses /sys on Linux to fetch information. * procfs: Uses /proc/cpuinfo on Linux to fetch information. * uname: Uses the `uname` command from the GNU coreutils to get CPU model and vendor information. All values tht were not successfully detected should read back as 'unknown'. Some values may have spaces present, and thus are quoted in the output. * Collect total system RAM info in system-info.sh This collects info about the total usable system RAM in the system-info.sh script. It adds the following two keys to the output of the script: * NETDATA_TOTAL_RAM: Reports the total usable system RAM as a number with an associated unit, usually as bytes or kilobytes. Reports 'unknown' if this couldn't be determined. * NETDATA_RAM_DETECTION: Indicates how we detected the total RAM, or 'none' if we couldn't figure out the total RAM. * Make lscpu output parsing more robust. * Remove extra quotes. The output is not parsed as shell variables, but using a special parser that just reads everything from the `=` to EOL as the value. * Coerce output to base units. This properly converts the output for CPU frequencies and RAM sizes to use base units of Hertz or bytes, allowing for simpler parsing of the output. * Fix incorrect number handling in total RAM parsing. * Correctly fix incorrect number handling in total RAM parsing. * Fix parsing of `lscpu` output. This properly recognizes the CPU frequency value as MHz and truncates the value to an integer.
2020-01-24Attempt to use system service manager to shut down Netdata. (#7814)Austin S. Hemmelgarn
* Shellcheck cleanups for netdata-uninstaller.sh * Shellcheck cleanups for packaging/installer/functions.sh * Attempt to use service managers for shutdown. This attempts to use whatever the system service management interface is to shutdown Netdata before trying anything more drastic. * Properly continue if shutdown via service manager fails. * Fix typos. * Re-add TPUT definitions. As requested by @knatsakis and @prologic. * Reduce the wait time after attempting shutdown with service managers.
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-24collectors/python.d: format modules code (#7832)Ilya Mashchenko
* collectors/python.d/adaptec_raid: format code * collectors/python.d/am2320: format code * collectors/python.d/apache: format code * collectors/python.d/beanstalk: format code * collectors/python.d/bind_rndc: format code * collectors/python.d/boinc: format code * collectors/python.d/ceph: format code * collectors/python.d/couchdb: format code * collectors/python.d/dns_query_time: format code * collectors/python.d/dnsdist: format code * collectors/python.d/dockerd: format code * collectors/python.d/dovecot: format code * collectors/python.d/energid: format code * collectors/python.d/example: format code * collectors/python.d/exim: format code * collectors/python.d/fail2ban: format code * collectors/python.d/freeradius: format code * collectors/python.d/gearman: format code * collectors/python.d/go_expvar: format code * collectors/python.d/haproxy: format code * collectors/python.d/hddtemp: format code * collectors/python.d/hpssa: format code * collectors/python.d/httpcheck: format code * collectors/python.d/icecast: format code * collectors/python.d/ipfs: format code * collectors/python.d/isc_dhcpd: format code * collectors/python.d/litespeed: format code * collectors/python.d/megacli: format code * collectors/python.d/memcached: format code * collectors/python.d/mongodb: format code * collectors/python.d/mysql: format code * collectors/python.d/nginx: format code * collectors/python.d/nginx_plus: format code * collectors/python.d/nsd: format code * collectors/python.d/ntpd: format code * collectors/python.d/openldap: format code * collectors/python.d/oracledb: format code * collectors/python.d/ovpn_status_log: format code * collectors/python.d/phpfpm: format code * collectors/python.d/portcheck: format code * collectors/python.d/powerdns: format code * collectors/python.d/proxysql: format code * collectors/python.d/puppet: format code * collectors/python.d/redis: format code * collectors/python.d/rethinkdbs: format code * collectors/python.d/retroshare: format code * collectors/python.d/riakkv: format code * collectors/python.d/samba: format code * collectors/python.d/sensors: format code * collectors/python.d/smartd_log: format code * collectors/python.d/spigotmc: format code * collectors/python.d/springboot: format code * collectors/python.d/squid: format code * collectors/python.d/tomcat: format code * collectors/python.d/tor: format code * collectors/python.d/traefik: format code * collectors/python.d/unbound: format code * collectors/python.d/uwsgi: format code * collectors/python.d/varnish: format code * collectors/python.d/w1sensor: format code * collectors/python.d/weblog: format code
2020-01-24Fixed typo in README (#7843)Jonathan Barda
Changed `--disable telemetry` to `--disable-telemetry`
2020-01-24Don't remove groups/users in Debian postrm (#7817)James Mills
2020-01-24[ci skip] create nightly packages and update changelognetdatabot
2020-01-23Update collect-apache-nginx-web-logs.md to deprecated (#7835)Joel Hans
2020-01-23Add an environment variable check to allow disabling nightlies. (#7765)Austin S. Hemmelgarn
This adds a check to the nightly build stages to allow skipping them if a specific environment variable is not set by Travis. This allows us to disable nightlies by removing the environment variable instead of needing to remove the cron job itself, thus ensuring that nightlies keep happening at the same time each day regardless. The specific variable is named `RUN_NIGHTLY`, and must be set to 'yes' to enable nightly builds.
2020-01-23Fix unit tests for the exporting engine (#7784)Vladimir Kobal
2020-01-23[ci skip] create nightly packages and update changelognetdatabot
2020-01-23node.d/snmp.node.js: format code (#7816)Ilya Mashchenko
2020-01-22Add Korean translation (#7723)Chris Akritidis
2020-01-22bug_report improvements (#7805)Ilya Mashchenko
* github/issue_template/bug_report.md: move specific suggestions to the appropriate sections and improve spelling
2020-01-22netdata/packaging: split free IPMI for RPM (#6935)Paul Emm. Katsoulakis