diff --git a/playbooks/vars/apache.yml b/playbooks/vars/apache.yml index 841cf14..ed0822b 100644 --- a/playbooks/vars/apache.yml +++ b/playbooks/vars/apache.yml @@ -11,6 +11,7 @@ apache_mods_enabled: - rewrite.load - ssl.load apache_mods_disabled: + - mpm_event.load - mpm_prefork.load - php7.4.load apache_global_vhost_settings: | diff --git a/roles/netdata/.ansible-lint b/roles/netdata/.ansible-lint new file mode 100644 index 0000000..ff32caf --- /dev/null +++ b/roles/netdata/.ansible-lint @@ -0,0 +1,2 @@ +skip_list: +- 106 diff --git a/roles/netdata/.flake8 b/roles/netdata/.flake8 new file mode 100644 index 0000000..d6f41f5 --- /dev/null +++ b/roles/netdata/.flake8 @@ -0,0 +1,2 @@ +[flake8] +exclude = venv/ diff --git a/roles/netdata/.github/workflows/default.yml b/roles/netdata/.github/workflows/default.yml new file mode 100644 index 0000000..057a010 --- /dev/null +++ b/roles/netdata/.github/workflows/default.yml @@ -0,0 +1,36 @@ +--- +name: Molecule Test +on: push +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + max-parallel: 4 + matrix: + molecule_distro: + - centos7 + - centos8 + # - debian8 + - debian9 + - debian10 + # - fedora + - ubuntu1604 + - ubuntu1804 + - ubuntu2004 + + steps: + - uses: actions/checkout@v1 + - name: Set up Python 3 + uses: actions/setup-python@v1 + with: + python-version: "3.x" + - name: Install dependencies + run: | + python -m pip install --upgrade pip pip-tools + pip-sync requirements.txt requirements-dev.txt + ansible --version + molecule --version + - name: Test with molecule + run: | + molecule test --scenario-name ${{ matrix.molecule_distro }} diff --git a/roles/netdata/.gitignore b/roles/netdata/.gitignore new file mode 100644 index 0000000..f7275bb --- /dev/null +++ b/roles/netdata/.gitignore @@ -0,0 +1 @@ +venv/ diff --git a/roles/netdata/.gitlab-ci.yml b/roles/netdata/.gitlab-ci.yml new file mode 100644 index 0000000..e39ac90 --- /dev/null +++ b/roles/netdata/.gitlab-ci.yml @@ -0,0 +1,65 @@ +--- +image: docker:git + +services: + - docker:dind + +stages: + - molecule-test + +before_script: + - apk update && apk add --no-cache docker + python3-dev py3-pip docker gcc git curl build-base + autoconf automake py3-cryptography linux-headers + musl-dev libffi-dev openssl-dev openssh + - docker info + - python3 --version + - pip3 install --upgrade pip pip-tools + - pip-sync requirements.txt requirements-dev.txt + - ansible --version + - molecule --version + +centos7: + stage: molecule-test + script: + - molecule test --scenario-name centos7 + +centos8: + stage: molecule-test + script: + - molecule test --scenario-name centos8 + +# debian8: +# stage: molecule-test +# script: +# - molecule test --scenario-name debian8 + +debian9: + stage: molecule-test + script: + - molecule test --scenario-name debian9 + +debian10: + stage: molecule-test + script: + - molecule test --scenario-name debian10 + +# fedora: +# stage: molecule-test +# script: +# - molecule test --scenario-name fedora + +ubuntu1604: + stage: molecule-test + script: + - molecule test --scenario-name ubuntu1604 + +ubuntu1804: + stage: molecule-test + script: + - molecule test --scenario-name ubuntu1804 + +ubuntu2004: + stage: molecule-test + script: + - molecule test --scenario-name ubuntu2004 diff --git a/roles/netdata/.travis.yml b/roles/netdata/.travis.yml new file mode 100644 index 0000000..0210597 --- /dev/null +++ b/roles/netdata/.travis.yml @@ -0,0 +1,26 @@ +--- +sudo: required +language: python +services: + - docker +before_install: + - sudo apt-get -qq update +env: + - molecule_distro=centos7 + - molecule_distro=centos8 + # - molecule_distro=debian8 + - molecule_distro=debian9 + - molecule_distro=debian10 + # - molecule_distro=fedora + - molecule_distro=ubuntu1604 + - molecule_distro=ubuntu1804 + - molecule_distro=ubuntu2004 +install: + - pip3 install --upgrade pip pip-tools + - pip-sync requirements.txt requirements-dev.txt + - ansible --version + - molecule --version +script: + - molecule test --scenario-name "$molecule_distro" +notifications: + webhooks: https://galaxy.ansible.com/api/v1/notifications/ diff --git a/roles/netdata/.yamllint b/roles/netdata/.yamllint new file mode 100644 index 0000000..70d5f7c --- /dev/null +++ b/roles/netdata/.yamllint @@ -0,0 +1,36 @@ +--- +# Based on ansible-lint config +extends: default + +ignore: | + venv/ + +rules: + braces: + max-spaces-inside: 1 + level: error + brackets: + max-spaces-inside: 1 + level: error + colons: + max-spaces-after: -1 + level: error + commas: + max-spaces-after: -1 + level: error + comments: disable + comments-indentation: disable + document-start: disable + empty-lines: + max: 3 + level: error + hyphens: + level: error + indentation: disable + key-duplicates: enable + line-length: disable + new-line-at-end-of-file: disable + new-lines: + type: unix + trailing-spaces: disable + truthy: disable diff --git a/roles/netdata/CHANGELOG.md b/roles/netdata/CHANGELOG.md new file mode 100644 index 0000000..413fd52 --- /dev/null +++ b/roles/netdata/CHANGELOG.md @@ -0,0 +1,429 @@ +commit 3293b627f4ebd71094352a334a820a39b7563560 +Author: Larry Smith Jr +Date: Fri Sep 11 02:18:57 2020 -0400 + + Disabled Fedora testing + + Will come back to this later. Fedora support will address issue #11 + +commit fc685ad8aa5cf3ea67e9889206a4da7c77c5c1db +Author: Larry Smith Jr +Date: Fri Sep 11 02:16:51 2020 -0400 + + Added skip Ansible lint role name check + +commit 69a9f60f2e950212ec598276adb16e6ef08637bc +Author: Larry Smith Jr +Date: Fri Sep 11 02:16:26 2020 -0400 + + Updated Ansible roles requirements + +commit bfd04aec90ad4ef5fa67826d6e6ca5638e16fb86 +Author: Larry Smith Jr +Date: Fri Sep 11 02:15:50 2020 -0400 + + Fixed Ubuntu 20.04 install + + Fixes #49 + +commit 33051c6bf351ff31e404977146bc8ab53fe679f3 +Author: Larry Smith Jr +Date: Fri Sep 11 01:50:52 2020 -0400 + + Molecule tests updated + + All Molecule testing scenarios have been updated + +commit 3b137d1dd7ada72ae0fe725ed492b32786eb62cc +Author: Larry Smith Jr +Date: Fri Sep 11 01:48:19 2020 -0400 + + Linting configs added + + - Ansible Lint + - Flake8 + +commit 074ecfe95c26ab5d4aa9e4d050ac8f0767efb1f2 +Author: Larry Smith Jr +Date: Fri Sep 11 01:47:13 2020 -0400 + + Python Requirements updated + + All prod/development Python requirements updated + +commit 770a020914a8ccd8e86ff72a7c8044997bbd2bc7 +Author: Larry Smith Jr +Date: Fri Sep 11 01:46:18 2020 -0400 + + Updated CI tests + + The following CI tests have been updated: + - GitLab CI + - Travis CI + - GitHub Actions + +commit 06d64bb66479600e6201bfe36d6e56b065d07cc3 +Author: Felix Bechstein +Date: Tue May 26 15:46:16 2020 +0200 + + fix install on EL8 + +commit 7af8e3e7b92e3c2978d9b3c6c9b5f52e0e6970c3 +Author: Larry Smith Jr +Date: Sat Feb 22 00:43:52 2020 -0500 + + Disabled Fedora testing + + - Issues that need to be addressed later + +commit 698968e7017bbbc966ae1a2941d083ce2f1e0ab1 +Author: Larry Smith Jr +Date: Sat Feb 22 00:07:52 2020 -0500 + + Changed Molecule scenarios, tests, etc. + +commit 28b89f420ed34d6dc2f7afdf1bdb5e834b954ef8 +Author: Larry Smith Jr +Date: Sat Feb 22 00:06:36 2020 -0500 + + Updated files, etc. after new structure + +commit a8af449baae441aa7df3b97281413e6eea7cac4e +Author: Larry Smith Jr +Date: Wed Feb 19 11:53:22 2020 -0500 + + New files, etc. from cookiecutter template + +commit 8f8e58d2f7249ee42488b6b4b3ccd4d334a7087e +Author: Larry Smith Jr +Date: Wed Feb 19 11:52:36 2020 -0500 + + Changes made based on new Molecule testing, etc. + + - When testing a few things were uncovered and have been addressed at + this time. + +commit 8ba792745746bc7ce0d7f07ab19b32ab20ea9829 +Author: Larry Smith Jr +Date: Wed Feb 19 11:51:28 2020 -0500 + + Changes made based on implementing cookiecutter template + +commit 691d32487e0d8e9c9d1952d0f73ec8865c7c6b67 +Author: Larry Smith Jr +Date: Wed Feb 19 00:34:35 2020 -0500 + + Replaced previous Molecule testing with new + +commit a6f810256600ea16589a697b6c08838a6be34106 +Author: Gaëtan Duchaussois +Date: Mon Feb 10 16:54:12 2020 +0100 + + Add client tls configuration for streams + +commit 397a64b863c2d808b919512378a30640f73e02cb +Author: Gaëtan Duchaussois +Date: Tue Feb 11 09:48:52 2020 +0100 + + force systemd for Ubuntu 16.04 + +commit 65b4fe5f83890e4dbc252594dad6983346f6b3d1 +Author: Gaëtan Duchaussois +Date: Mon Feb 10 17:09:53 2020 +0100 + + add missing dependencies + +commit 436a8dbe694638d3fb46167f7833614b6b418821 +Author: Gaëtan Duchaussois +Date: Mon Feb 10 18:28:47 2020 +0100 + + CI: remove ubuntu 14.04 support reenable 16.04 support + +commit 8ccc6040a722a919003560312b3ad6d426d6ca26 +Author: Larry Smith Jr +Date: Thu Aug 1 08:02:54 2019 -0400 + + Resolved formatting/task issues with Molecule testing + + - some services needed to be tweaked to account for sysvinit + - linting issues were found and resolved + +commit 01c046a3939bf586a2de6a51c7ded3a1314eeaba +Author: Larry Smith Jr +Date: Thu Aug 1 08:00:47 2019 -0400 + + Added Molecule testing + + - Added Default (Docker) testing + - Added vagrant (Vagrant) testing + +commit d89c224662a82106e341532b7f43cdf2a857acdf +Author: Larry Smith Jr +Date: Thu Aug 1 07:59:35 2019 -0400 + + Removed previous Travis testing methods + +commit 5dfb9a50dd62e20dce76e04c57eb9287e58069fb +Author: Gaëtan Duchaussois +Date: Thu Jul 25 15:11:52 2019 +0200 + + fix template logic for proxy + +commit acb35c700fed298f0aad275bb15079e4435d0e4f +Author: Gaëtan Duchaussois +Date: Mon Jul 22 14:04:24 2019 +0200 + + Feature: a netdata host can be defined as a proxy for streaming + +commit 4e05065736e2ae6fb2caf629aadcfbde040d0741 +Author: Alexandre Garand +Date: Mon Jul 22 17:13:19 2019 +0200 + + define variable to configure repeat frequency of alarms + +commit d7b5c1ed16f78beae2783b29794856b1d8275cce +Author: Alexandre Garand +Date: Tue Jul 23 11:09:21 2019 +0200 + + replace blockinfile task by template task to manage health_alarm_notify.conf and add a variable to manage custom_sender_function + +commit 39c397b456385d197222378faa53c09d3a7fd68a +Author: Paul B +Date: Fri Jul 12 11:30:35 2019 +0200 + + auto-update: don't break existing configurations + +commit dbcc7a56df9f70594c83709ed43a411ade497b58 +Author: Paul B +Date: Thu Jul 11 18:00:59 2019 +0200 + + auto-udpate: since Netdata v1.11 the auto-updater cron is automatic + + Netdata v1.11 now installs the cron by itself and the installer takes + an `--auto-update` option to install the updater script. + +commit 9f6ceff7f4304c3affcf6016b79d08b4d6c74290 +Author: Markus Binsteiner +Date: Wed May 22 16:59:44 2019 +0200 + + Fix for version check logic. did not work on Debian stretch. + +commit 513be125f0515646a3d391b0c9c2cec1c20429c1 +Author: Soumik +Date: Wed Mar 13 10:09:15 2019 -0400 + + Don't use a loop for installing pre-requisites + +commit 61a0dbe347de54c3086f83363de73a0ac60f034a +Author: Soumik +Date: Wed Dec 19 18:32:40 2018 -0500 + + Make web mode configurable + +commit 624f8167c6880b48faf6e6af2321e2ed331771ed +Author: Mickaël PERRIN +Date: Tue Dec 18 06:22:15 2018 +0100 + + [BUGFIX] Notifications are not sent + + Missing permissions on /etc/netdata/health_alarm_notify.conf file + +commit 21e1af7238e4419da98d24a30ac296563dbfe017 +Author: bunchc +Date: Mon Dec 10 10:42:33 2018 -0600 + + Updating netdata git url to fix #23 + + Netdata changed git URLs. This broke auto updating. Uninstalling netdata and reinstalling with the correct URL addresses this. + + This pull fixes #23 + +commit 375b546d1981908e2e4d19379746328d73965dda +Author: Gaëtan Duchaussois +Date: Wed Oct 10 11:33:50 2018 +0200 + + Fix alarm configuration failing when file doesn't exists + +commit 152ad798977348b251774f9dabe66420be803ca6 +Author: John Hogenmiller +Date: Tue Oct 9 08:38:37 2018 -0400 + + Allow restart on failure + + This will cause the service to restart if it gets shut down uncleanly. It will wait 30 seconds between restart attempts + +commit 7fe32b4392addde72cb7a0ebf1e2d5e35963af6f +Author: Gaëtan Duchaussois +Date: Mon Oct 8 17:59:31 2018 +0200 + + really set netdata_hostname in backend and registry + +commit b07e88495f23875707d9885563dfea1e379d9402 +Author: Gaëtan Duchaussois +Date: Wed Oct 3 19:41:15 2018 +0200 + + Allow hostname customisation + +commit fd1724ae622dcd4225e1515e0de280d021e16e6a +Author: Guillaume Grussenmeyer +Date: Wed Aug 29 18:50:53 2018 +0200 + + Added support for specifying master node port for streaming. + +commit cdf12fa35fda8499512e286142313b106bd9f9a9 +Author: Maxime Loliée +Date: Fri Jul 27 11:23:58 2018 +0200 + + Added some new parameters for tunning flood protection + +commit 9d5d82db40ac80722d8c94d302e6db5815ec0e78 +Author: Larry Smith Jr +Date: Mon Apr 30 10:04:56 2018 -0400 + + Resolved Ubuntu 18.04 install + + This resolves #12 + + The iproute package no longer exists in Ubuntu 18.04 default + installation so we needed to exclude installing this package only on + Ubuntu 18.04+. + +commit b2e0c932a534c637f284c91c9e7e4cf82e044062 +Author: Larry Smith Jr +Date: Mon Apr 30 01:04:28 2018 -0400 + + Added Debian Stretch as supported distro + +commit abe5dbfd6bef04107412637f56e01f554e5834b7 +Author: Larry Smith Jr +Date: Mon Apr 30 00:55:42 2018 -0400 + + Disabled Fedora and Ubuntu 18.04 testing + + Fedora support is not available. Issue logged + https://github.com/mrlesmithjr/ansible-netdata/issues/11 + + Ubuntu Bionic(18.04) is failing by trying to install iproute which is + not available. Issue logged for this + https://github.com/mrlesmithjr/ansible-netdata/issues/12 + +commit 49333b4004be45718542d3bf3f6d9dd91cfd8e9d +Author: Larry Smith Jr +Date: Mon Apr 30 00:41:09 2018 -0400 + + Added build status + +commit ec0964157a169daef106dc79b5542c7e581565a8 +Author: Larry Smith Jr +Date: Mon Apr 30 00:40:58 2018 -0400 + + Added cron package as pre-req + + This package should exist anyways but to ensure that it is available we + will install as a pre-req. This was discovered as testing with Travis-CI + because cron is not installed in base container images. + +commit 840ba74f3a2534cb064ea71afcab9181fea40227 +Author: Larry Smith Jr +Date: Mon Apr 30 00:22:00 2018 -0400 + + Implemented new Travis-CI testing + +commit 049ca80f081b86ab348683f5b3b05fd52bdbe097 +Author: Larry Smith Jr +Date: Sat Apr 14 22:27:34 2018 -0400 + + Resolves #10 + +commit 5ed1ff2c63f91277e80bd0ee79f8c74099b4302b +Author: bunchc +Date: Fri Apr 13 13:05:27 2018 -0500 + + Adding configuration for netdata backends. + * defaults/main.yml - added backend configuration variables + * templates/netdata.conf.j2 - Added if/then logic around backend configuration + +commit 1bbdd00354b3ee146c616d97c040290eec9fd212 +Author: Larry Smith Jr +Date: Mon Mar 19 23:35:10 2018 -0400 + + Create LICENSE + +commit 2a6e440982728836db6dceddb53e7b45a3ae5ac6 +Author: Larry Smith Jr +Date: Mon Mar 19 23:33:45 2018 -0400 + + Split example playbook out into it's own file w/reference in README + +commit 868f4f17e8f7584a25d12f64386c25a5f09aa365 +Author: Larry Smith Jr +Date: Mon Mar 19 23:33:22 2018 -0400 + + Cleaned up repo info and added TOC + +commit b88d79cabf224af9067f2d2aa891e38584dc5584 +Author: Larry Smith Jr +Date: Mon Mar 19 23:33:09 2018 -0400 + + Cleaned up Ansible Galaxy meta info + +commit fdad094eb31621faeac52e49e2d00527a32b0822 +Author: Larry Smith Jr +Date: Mon Mar 19 23:32:49 2018 -0400 + + Cleaned formatting of vars and tasks + + Removed single/double quotes where not needed to make code cleaner. Also + changed single quotes to double quotes where they are needed. + +commit 57e651426935598e7c40b1d93c2f323803f4c49c +Author: John H +Date: Wed Feb 21 11:29:32 2018 -0500 + + Alarms customization + +commit b452a5b75826c15c005eada11f4bc5d365f69495 +Author: Sylvester Neau +Date: Wed Jan 3 16:43:21 2018 +0100 + + feat: add Netdata streaming configuration + +commit 2023a45956fad6edfc03b441c0472f08a2c4eba5 +Author: Chris +Date: Mon Jan 29 21:00:05 2018 +0100 + + Fix yaml syntax error. + +commit c8a1b94391b50e3607b5668e5f04e08ba7431658 +Author: Chris +Date: Mon Jan 29 10:44:19 2018 +0100 + + Removed restart handler from forced updater. The update script does that already. + +commit 10df439ae354ae09602930c00721b20605eb27b6 +Author: Chris +Date: Mon Jan 29 10:40:27 2018 +0100 + + Add forced update flag. + +commit 01aaef8a28fb6c825216fb1fe84253bedc7c6723 +Author: Larry Smith Jr +Date: Fri Apr 28 23:01:38 2017 -0400 + + Added CentOS 6/7 functionality + + Signed-off-by: Larry Smith Jr + +commit 13615487c89b40bf9db794d6142b6d68f9402ad3 +Author: Larry Smith Jr +Date: Fri Apr 28 19:15:29 2017 -0400 + + Removed reloading of systemd when using upstart + + Signed-off-by: Larry Smith Jr + +commit 0ee4c8ee1fe94df91630b2e5d75aa91e66cfa6e4 +Author: Larry Smith Jr +Date: Fri Apr 28 19:11:24 2017 -0400 + + first commit diff --git a/roles/netdata/CODE_OF_CONDUCT.md b/roles/netdata/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..e0cd687 --- /dev/null +++ b/roles/netdata/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +- The use of sexualized language or imagery and unwelcome sexual attention or + advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at mrlesmithjr@gmail.com. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/roles/netdata/CONTRIBUTING.md b/roles/netdata/CONTRIBUTING.md new file mode 100644 index 0000000..64a2bab --- /dev/null +++ b/roles/netdata/CONTRIBUTING.md @@ -0,0 +1,9 @@ +# Contributing to ansible-netdata + +## Table Of Contents + +[Code of Conduct](#code-of-conduct) + +## Code of Conduct + +This project and everyone participating in it is governed by the [ansible-netdata Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [mrlesmithjr@gmail.com](mailto:mrlesmithjr@gmail.com). diff --git a/roles/netdata/CONTRIBUTORS.md b/roles/netdata/CONTRIBUTORS.md new file mode 100644 index 0000000..14f22ed --- /dev/null +++ b/roles/netdata/CONTRIBUTORS.md @@ -0,0 +1 @@ +Larry Smith Jr. - mrlesmithjr@gmail.com diff --git a/roles/netdata/LICENSE.md b/roles/netdata/LICENSE.md new file mode 100644 index 0000000..c224c95 --- /dev/null +++ b/roles/netdata/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Larry Smith Jr. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/roles/netdata/README.md b/roles/netdata/README.md new file mode 100644 index 0000000..8b51ede --- /dev/null +++ b/roles/netdata/README.md @@ -0,0 +1,42 @@ +# ansible-netdata + +Ansible role to install/configure Netdata + +## Build Status + +### GitHub Actions + +![Molecule Test](https://github.com/mrlesmithjr/ansible-netdata/workflows/Molecule%20Test/badge.svg) + +### Travis CI + +[![Build Status](https://travis-ci.org/mrlesmithjr/ansible-netdata.svg?branch=master)](https://travis-ci.org/mrlesmithjr/ansible-netdata) + +## Requirements + +For any required Ansible roles, review: +[requirements.yml](requirements.yml) + +## Role Variables + +[defaults/main.yml](defaults/main.yml) + +## Dependencies + +## Example Playbook + +[playbook.yml](playbook.yml) + +## License + +MIT + +## Author Information + +Larry Smith Jr. + +- [@mrlesmithjr](https://twitter.com/mrlesmithjr) +- [mrlesmithjr@gmail.com](mailto:mrlesmithjr@gmail.com) +- [http://everythingshouldbevirtual.com](http://everythingshouldbevirtual.com) + +> NOTE: Repo has been created/updated using [https://github.com/mrlesmithjr/cookiecutter-ansible-role](https://github.com/mrlesmithjr/cookiecutter-ansible-role) as a template. diff --git a/roles/netdata/defaults/main.yml b/roles/netdata/defaults/main.yml new file mode 100644 index 0000000..320b57c --- /dev/null +++ b/roles/netdata/defaults/main.yml @@ -0,0 +1,213 @@ +--- +# defaults file for ansible-netdata + +# Adds installer flag to enable auto updates +# https://docs.netdata.cloud/packaging/installer/update/#auto-update +netdata_auto_updates: + enabled: true + day: "*" + hour: 6 + minute: 0 + user: root + weekday: "*" + # WARNING: when you set this variable to 'true' and are migrating from an old version + # of Netdata (< v1.11.0) then the cron will be removed from your system. + # You will then need to launch the netdata installer manually to make sure + # netdata installs the cron by itself with: `./netdata-installer.sh --auto-update` + clean_legacy_cron: true + +# The IP address and port to listen to. This is a space separated list of +# IPv4 or IPv6 address and ports. The default will bind to all IP addresses +netdata_bind_to: + - "*" + +# Defines if Netdata should be configured +netdata_config: true + +# Defines location of Netdata configuration file +netdata_config_file: /etc/netdata/netdata.conf + +# Defines the Git repo to pull down for installs +netdata_git_repo: https://github.com/netdata/netdata.git + +# Defines the version tag to clone for installation +netdata_git_version_tag: v1.25.0 + +# Defines whether Netdata health is enabled +netdata_health_enabled: true + +# Defines if Netdata health alarms should be configured +netdata_alarm_configure: false + +# Defines location of Netdata health_alarm_notify.conf +netdata_alarm_config_file: /etc/netdata/health_alarm_notify.conf + +# Define configuration for health_alarm_notify.conf. +# Example: +# netdata_health_alarm_notify_configs: +# https_proxy: http://localhost:3128 +# SLACK_WEBHOOK_URL: https://hooks.slack.com/... +netdata_alarm_notify_configs: {} + +# Define custom_sender function in health_alarm_notify.conf +# only the body of the function should be in there +# Exemple: netdata_custom_sender_function: "curl -X POST url" +# netdata_custom_sender_function: "" + +# Defines path to alarm-notify.sh +netdata_health_alarm_script: /usr/libexec/netdata/plugins.d/alarm-notify.sh + +# Defines how often a critical alarm is repeated +netdata_default_repeat_critical: never + +# Defines how often a warning alarm is repeated +netdata_default_repeat_warning: never + +# The host name displayed in netdata +netdata_hostname: "{{ ansible_hostname }}" +# The number of entries the netdata daemon will by default keep in memory +# for each chart dimension. +netdata_history: 3996 + +# Defines Netdata installer script +netdata_installer: ./netdata-installer.sh + +# Defines Netdata requirements installer script +netdata_requirements_installer: packaging/installer/install-required-packages.sh + +# Defines Netdata requirements installer options (if we want morre complete requirements) +netdata_requirements_installer_options: + - "--non-interactive" + - netdata + +# When set to save netdata will save its round robin database on exit and +# load it on startup. When set to map the cache files will be updated in +# real time (check man mmap - do not set this on systems with heavy load or +# slow disks - the disks will continuously sync the in-memory database of +# netdata). When set to ram the round robin database will be temporary and it +# will be lost when netdata exits. +netdata_memory_mode: save + +# This variables are only used if netdata_memory_mode is set to dbengine +netdata_dbengine_page_cache_size: 32 +netdata_dbengine_multihost_disk_space: 256 + +# Defines the mode the web-server will run in +# static-threaded is a web server with a fix (configured number of threads) +# single-threaded is a simple web server running with a single thread +# multi-threaded is a web server that spawns a thread for each client connection +# none will disable the web-server and the API +netdata_web_mode: multi-threaded + +# The default port to listen for web clients. +netdata_default_port: 19999 + +netdata_epel_setup: false +netdata_epel_repo_url: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm" +netdata_epel_repo_gpg_key_url: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}" +netdata_epel_repofile_path: "/etc/yum.repos.d/epel.repo" +netdata_centos6_install_okay: false + +# Defines if Netdata host should be enabled as a registry +# https://github.com/firehol/netdata/wiki/mynetdata-menu-item +netdata_registry_enabled: false + +# https://registry.my-netdata.io +# https://github.com/firehol/netdata/wiki/mynetdata-menu-item +netdata_registry_to_announce: https://registry.my-netdata.io + +# Defines directory to store install source from Git repo +netdata_source_dir: /usr/local/src/netdata + +# Defines if Netdata streaming should be configured +# https://github.com/firehol/netdata/wiki/Monitoring-ephemeral-nodes +netdata_stream_enabled: false + +# Defines location of Netdata stream configuration file +netdata_stream_config_file: /etc/netdata/stream.conf + +# Defines Netdata API Keys (must be generated with command uuidgen) +netdata_stream_api_key: 11111111-2222-3333-4444-555555555555 +netdata_stream_send_api_key: "{{ netdata_stream_api_key }}" +netdata_stream_receive_api_key: "{{ netdata_stream_api_key }}" + +# Defines Netdata master node and port (e.g. 127.0.0.1:19999) +netdata_stream_master_node: "" + +# Defines whether the netdata node is acting as a proxy +netdata_stream_proxy: false + +# Defines client ssl configuration +# netdata_client_ssl_options: +# ssl skip certificate verification: "yes" +# CAfile: /etc/ssl/certs/ca-certificates.crt +netdata_client_ssl_options: {} + +# Defines if Netdata should be uninstalled +# Caution: This does not prompt for uninstall as the original script +# was intended. +# https://github.com/firehol/netdata/wiki/Installation#uninstalling-netdata +netdata_uninstall: false + +# Defines the Netdata uninstaller script +netdata_uninstaller: ./netdata-uninstaller.sh + +# Defines if Netdata should be updated +# Not the same as auto_updates +netdata_update: false +# Force the update. Sometimes the update script skips installing new plugins. +netdata_update_force: false + +# The frequency in seconds, for data collection +netdata_update_every: 1 + +# Defines Netdata update script +netdata_updater: ./netdata-updater.sh + +# Defines Netdata user info +netdata_user_info: + group: netdata + user: netdata + +# Defines if Netdata should store data in a backend +netdata_configure_archive: false + +# Defines Netdata backend for long term datastorage +# https://github.com/firehol/netdata/wiki/netdata-backends +# Defines if the Netdata backend is enabled +netdata_archive_enabled: "yes" + +# Defines the backend type as one of +# graphite | opentsdb | json +netdata_archive_type: "opentsdb" + +# Defines the host(s) and ports netdata should send data to +netdata_archive_destination: + - localhost + # - "{{ vip }}:5252" + +# Defines how to send the archive data as one of +# as collected, average, sum +netdata_archive_data_source: "average" + +# Defines a prefix for the archive data +netdata_archive_prefix: "netdata" + +# Defines how often to send archive data in seconds +netdata_archive_update: 1 + +# Defines the number of update intervals +# after which dataloss occurs +netdata_archive_buffer_on_failures: 30 + +# Defines when to timeout sending to a backend in milliseconds +netdata_archive_timeout: 20000 + +# Defines if Netdata sends metric names or UUIDs +netdata_archive_send_names: true + +# Defines the flood protection period +netdata_errors_flood_protection_period: 1200 + +# Defines when to trigger flood proctection +netdata_errors_to_trigger_flood_protection: 200 diff --git a/roles/netdata/files/.gitkeep b/roles/netdata/files/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/roles/netdata/handlers/main.yml b/roles/netdata/handlers/main.yml new file mode 100644 index 0000000..437c9e2 --- /dev/null +++ b/roles/netdata/handlers/main.yml @@ -0,0 +1,30 @@ +--- +# handlers file for ansible-netdata +# +- name: reload systemd netdata + systemd: + name: "netdata" + daemon_reload: true + become: true + +- name: restart netdata + service: + name: "netdata" + state: "restarted" + enabled: true + sleep: 10 + become: true + +- name: start netdata + service: + name: "netdata" + state: "started" + enabled: true + become: true + +- name: stop netdata + service: + name: "netdata" + state: "stopped" + enabled: true + become: true diff --git a/roles/netdata/meta/.galaxy_install_info b/roles/netdata/meta/.galaxy_install_info new file mode 100644 index 0000000..1b73a58 --- /dev/null +++ b/roles/netdata/meta/.galaxy_install_info @@ -0,0 +1,2 @@ +install_date: Sat Jan 23 23:31:54 2021 +version: v1.4.1 diff --git a/roles/netdata/meta/main.yml b/roles/netdata/meta/main.yml new file mode 100644 index 0000000..831a265 --- /dev/null +++ b/roles/netdata/meta/main.yml @@ -0,0 +1,34 @@ +--- +galaxy_info: + author: Larry Smith Jr. + description: Ansible role to install/configure Netdata + license: MIT + + min_ansible_version: 2.0 + + platforms: + - name: EL + versions: + - 6 + - 7 + - 8 + - name: Debian + versions: + - buster + - jessie + - stretch + - name: Ubuntu + versions: + - bionic + - dingo + - focal + - precise + - trusty + - xenial + + galaxy_tags: + - system + - performance + - monitoring + +dependencies: [] diff --git a/roles/netdata/molecule/centos7/INSTALL.rst b/roles/netdata/molecule/centos7/INSTALL.rst new file mode 100644 index 0000000..6a44bde --- /dev/null +++ b/roles/netdata/molecule/centos7/INSTALL.rst @@ -0,0 +1,22 @@ +******* +Docker driver installation guide +******* + +Requirements +============ + +* Docker Engine + +Install +======= + +Please refer to the `Virtual environment`_ documentation for installation best +practices. If not using a virtual environment, please consider passing the +widely recommended `'--user' flag`_ when invoking ``pip``. + +.. _Virtual environment: https://virtualenv.pypa.io/en/latest/ +.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site + +.. code-block:: bash + + $ pip install 'molecule[docker]' diff --git a/roles/netdata/molecule/centos7/molecule.yml b/roles/netdata/molecule/centos7/molecule.yml new file mode 100644 index 0000000..faf1f1c --- /dev/null +++ b/roles/netdata/molecule/centos7/molecule.yml @@ -0,0 +1,29 @@ +--- +dependency: + name: galaxy + enabled: true + options: + role-file: requirements.yml +driver: + name: docker +lint: | + yamllint . + ansible-lint + flake8 +platforms: + - name: centos7 + image: jrei/systemd-centos:7 + privileged: true + command: /usr/sbin/init + # tmpfs: + # - /run + # - /tmp + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro +provisioner: + name: ansible + playbooks: + converge: ../shared/converge.yml + prepare: ../shared/prepare.yml +verifier: + name: ansible diff --git a/roles/netdata/molecule/centos7/verify.yml b/roles/netdata/molecule/centos7/verify.yml new file mode 100644 index 0000000..a82dd6f --- /dev/null +++ b/roles/netdata/molecule/centos7/verify.yml @@ -0,0 +1,9 @@ +--- +# This is an example playbook to execute Ansible tests. + +- name: Verify + hosts: all + tasks: + - name: Example assertion + assert: + that: true diff --git a/roles/netdata/molecule/centos8/INSTALL.rst b/roles/netdata/molecule/centos8/INSTALL.rst new file mode 100644 index 0000000..6a44bde --- /dev/null +++ b/roles/netdata/molecule/centos8/INSTALL.rst @@ -0,0 +1,22 @@ +******* +Docker driver installation guide +******* + +Requirements +============ + +* Docker Engine + +Install +======= + +Please refer to the `Virtual environment`_ documentation for installation best +practices. If not using a virtual environment, please consider passing the +widely recommended `'--user' flag`_ when invoking ``pip``. + +.. _Virtual environment: https://virtualenv.pypa.io/en/latest/ +.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site + +.. code-block:: bash + + $ pip install 'molecule[docker]' diff --git a/roles/netdata/molecule/centos8/molecule.yml b/roles/netdata/molecule/centos8/molecule.yml new file mode 100644 index 0000000..2def2c1 --- /dev/null +++ b/roles/netdata/molecule/centos8/molecule.yml @@ -0,0 +1,29 @@ +--- +dependency: + name: galaxy + enabled: true + options: + role-file: requirements.yml +driver: + name: docker +lint: | + yamllint . + ansible-lint + flake8 +platforms: + - name: centos8 + image: jrei/systemd-centos:8 + privileged: true + command: /usr/sbin/init + # tmpfs: + # - /run + # - /tmp + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro +provisioner: + name: ansible + playbooks: + converge: ../shared/converge.yml + prepare: ../shared/prepare.yml +verifier: + name: ansible diff --git a/roles/netdata/molecule/centos8/verify.yml b/roles/netdata/molecule/centos8/verify.yml new file mode 100644 index 0000000..a82dd6f --- /dev/null +++ b/roles/netdata/molecule/centos8/verify.yml @@ -0,0 +1,9 @@ +--- +# This is an example playbook to execute Ansible tests. + +- name: Verify + hosts: all + tasks: + - name: Example assertion + assert: + that: true diff --git a/roles/netdata/molecule/debian10/INSTALL.rst b/roles/netdata/molecule/debian10/INSTALL.rst new file mode 100644 index 0000000..6a44bde --- /dev/null +++ b/roles/netdata/molecule/debian10/INSTALL.rst @@ -0,0 +1,22 @@ +******* +Docker driver installation guide +******* + +Requirements +============ + +* Docker Engine + +Install +======= + +Please refer to the `Virtual environment`_ documentation for installation best +practices. If not using a virtual environment, please consider passing the +widely recommended `'--user' flag`_ when invoking ``pip``. + +.. _Virtual environment: https://virtualenv.pypa.io/en/latest/ +.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site + +.. code-block:: bash + + $ pip install 'molecule[docker]' diff --git a/roles/netdata/molecule/debian10/molecule.yml b/roles/netdata/molecule/debian10/molecule.yml new file mode 100644 index 0000000..45b4863 --- /dev/null +++ b/roles/netdata/molecule/debian10/molecule.yml @@ -0,0 +1,29 @@ +--- +dependency: + name: galaxy + enabled: true + options: + role-file: requirements.yml +driver: + name: docker +lint: | + yamllint . + ansible-lint + flake8 +platforms: + - name: debian10 + image: jrei/systemd-debian:10 + privileged: true + command: /lib/systemd/systemd + # tmpfs: + # - /run + # - /tmp + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro +provisioner: + name: ansible + playbooks: + prepare: ../shared/prepare.yml + converge: ../shared/converge.yml +verifier: + name: ansible diff --git a/roles/netdata/molecule/debian10/verify.yml b/roles/netdata/molecule/debian10/verify.yml new file mode 100644 index 0000000..a82dd6f --- /dev/null +++ b/roles/netdata/molecule/debian10/verify.yml @@ -0,0 +1,9 @@ +--- +# This is an example playbook to execute Ansible tests. + +- name: Verify + hosts: all + tasks: + - name: Example assertion + assert: + that: true diff --git a/roles/netdata/molecule/debian8/INSTALL.rst b/roles/netdata/molecule/debian8/INSTALL.rst new file mode 100644 index 0000000..6a44bde --- /dev/null +++ b/roles/netdata/molecule/debian8/INSTALL.rst @@ -0,0 +1,22 @@ +******* +Docker driver installation guide +******* + +Requirements +============ + +* Docker Engine + +Install +======= + +Please refer to the `Virtual environment`_ documentation for installation best +practices. If not using a virtual environment, please consider passing the +widely recommended `'--user' flag`_ when invoking ``pip``. + +.. _Virtual environment: https://virtualenv.pypa.io/en/latest/ +.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site + +.. code-block:: bash + + $ pip install 'molecule[docker]' diff --git a/roles/netdata/molecule/debian8/molecule.yml b/roles/netdata/molecule/debian8/molecule.yml new file mode 100644 index 0000000..9c68065 --- /dev/null +++ b/roles/netdata/molecule/debian8/molecule.yml @@ -0,0 +1,29 @@ +--- +dependency: + name: galaxy + enabled: true + options: + role-file: requirements.yml +driver: + name: docker +lint: | + yamllint . + ansible-lint + flake8 +platforms: + - name: debian8 + image: jrei/systemd-debian:8 + privileged: true + command: /lib/systemd/systemd + # tmpfs: + # - /run + # - /tmp + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro +provisioner: + name: ansible + playbooks: + prepare: ../shared/prepare.yml + converge: ../shared/converge.yml +verifier: + name: ansible diff --git a/roles/netdata/molecule/debian8/verify.yml b/roles/netdata/molecule/debian8/verify.yml new file mode 100644 index 0000000..a82dd6f --- /dev/null +++ b/roles/netdata/molecule/debian8/verify.yml @@ -0,0 +1,9 @@ +--- +# This is an example playbook to execute Ansible tests. + +- name: Verify + hosts: all + tasks: + - name: Example assertion + assert: + that: true diff --git a/roles/netdata/molecule/debian9/INSTALL.rst b/roles/netdata/molecule/debian9/INSTALL.rst new file mode 100644 index 0000000..6a44bde --- /dev/null +++ b/roles/netdata/molecule/debian9/INSTALL.rst @@ -0,0 +1,22 @@ +******* +Docker driver installation guide +******* + +Requirements +============ + +* Docker Engine + +Install +======= + +Please refer to the `Virtual environment`_ documentation for installation best +practices. If not using a virtual environment, please consider passing the +widely recommended `'--user' flag`_ when invoking ``pip``. + +.. _Virtual environment: https://virtualenv.pypa.io/en/latest/ +.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site + +.. code-block:: bash + + $ pip install 'molecule[docker]' diff --git a/roles/netdata/molecule/debian9/molecule.yml b/roles/netdata/molecule/debian9/molecule.yml new file mode 100644 index 0000000..8a417c3 --- /dev/null +++ b/roles/netdata/molecule/debian9/molecule.yml @@ -0,0 +1,29 @@ +--- +dependency: + name: galaxy + enabled: true + options: + role-file: requirements.yml +driver: + name: docker +lint: | + yamllint . + ansible-lint + flake8 +platforms: + - name: debian9 + image: jrei/systemd-debian:9 + privileged: true + command: /lib/systemd/systemd + # tmpfs: + # - /run + # - /tmp + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro +provisioner: + name: ansible + playbooks: + prepare: ../shared/prepare.yml + converge: ../shared/converge.yml +verifier: + name: ansible diff --git a/roles/netdata/molecule/debian9/verify.yml b/roles/netdata/molecule/debian9/verify.yml new file mode 100644 index 0000000..a82dd6f --- /dev/null +++ b/roles/netdata/molecule/debian9/verify.yml @@ -0,0 +1,9 @@ +--- +# This is an example playbook to execute Ansible tests. + +- name: Verify + hosts: all + tasks: + - name: Example assertion + assert: + that: true diff --git a/roles/netdata/molecule/fedora/INSTALL.rst b/roles/netdata/molecule/fedora/INSTALL.rst new file mode 100644 index 0000000..6a44bde --- /dev/null +++ b/roles/netdata/molecule/fedora/INSTALL.rst @@ -0,0 +1,22 @@ +******* +Docker driver installation guide +******* + +Requirements +============ + +* Docker Engine + +Install +======= + +Please refer to the `Virtual environment`_ documentation for installation best +practices. If not using a virtual environment, please consider passing the +widely recommended `'--user' flag`_ when invoking ``pip``. + +.. _Virtual environment: https://virtualenv.pypa.io/en/latest/ +.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site + +.. code-block:: bash + + $ pip install 'molecule[docker]' diff --git a/roles/netdata/molecule/fedora/molecule.yml b/roles/netdata/molecule/fedora/molecule.yml new file mode 100644 index 0000000..833308d --- /dev/null +++ b/roles/netdata/molecule/fedora/molecule.yml @@ -0,0 +1,29 @@ +--- +dependency: + name: galaxy + enabled: true + options: + role-file: requirements.yml +driver: + name: docker +lint: | + yamllint . + ansible-lint + flake8 +platforms: + - name: fedora + image: jrei/systemd-fedora + privileged: true + command: /usr/sbin/init + # tmpfs: + # - /run + # - /tmp + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro +provisioner: + name: ansible + playbooks: + converge: ../shared/converge.yml + prepare: ../shared/prepare.yml +verifier: + name: ansible diff --git a/roles/netdata/molecule/fedora/verify.yml b/roles/netdata/molecule/fedora/verify.yml new file mode 100644 index 0000000..a82dd6f --- /dev/null +++ b/roles/netdata/molecule/fedora/verify.yml @@ -0,0 +1,9 @@ +--- +# This is an example playbook to execute Ansible tests. + +- name: Verify + hosts: all + tasks: + - name: Example assertion + assert: + that: true diff --git a/roles/netdata/molecule/shared/converge.yml b/roles/netdata/molecule/shared/converge.yml new file mode 100644 index 0000000..4dc57f8 --- /dev/null +++ b/roles/netdata/molecule/shared/converge.yml @@ -0,0 +1,9 @@ +--- +- name: Converge + hosts: all + tasks: + - name: Include ansible-netdata + include_role: + name: ansible-netdata + vars: + netdata_epel_setup: "{{ ansible_hostname == 'centos7' }}" diff --git a/roles/netdata/molecule/shared/prepare.yml b/roles/netdata/molecule/shared/prepare.yml new file mode 100644 index 0000000..0078dbd --- /dev/null +++ b/roles/netdata/molecule/shared/prepare.yml @@ -0,0 +1,16 @@ +--- +- hosts: all + tasks: + - name: Update Apt Cache and install cron + apt: + name: cron + update_cache: true + become: true + when: ansible_os_family == "Debian" + + - name: Install cron as requisite + package: + name: cronie + state: present + become: true + when: ansible_os_family == "RedHat" diff --git a/roles/netdata/molecule/shared/verify.yml b/roles/netdata/molecule/shared/verify.yml new file mode 100644 index 0000000..a82dd6f --- /dev/null +++ b/roles/netdata/molecule/shared/verify.yml @@ -0,0 +1,9 @@ +--- +# This is an example playbook to execute Ansible tests. + +- name: Verify + hosts: all + tasks: + - name: Example assertion + assert: + that: true diff --git a/roles/netdata/molecule/ubuntu1604/INSTALL.rst b/roles/netdata/molecule/ubuntu1604/INSTALL.rst new file mode 100644 index 0000000..6a44bde --- /dev/null +++ b/roles/netdata/molecule/ubuntu1604/INSTALL.rst @@ -0,0 +1,22 @@ +******* +Docker driver installation guide +******* + +Requirements +============ + +* Docker Engine + +Install +======= + +Please refer to the `Virtual environment`_ documentation for installation best +practices. If not using a virtual environment, please consider passing the +widely recommended `'--user' flag`_ when invoking ``pip``. + +.. _Virtual environment: https://virtualenv.pypa.io/en/latest/ +.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site + +.. code-block:: bash + + $ pip install 'molecule[docker]' diff --git a/roles/netdata/molecule/ubuntu1604/molecule.yml b/roles/netdata/molecule/ubuntu1604/molecule.yml new file mode 100644 index 0000000..029c630 --- /dev/null +++ b/roles/netdata/molecule/ubuntu1604/molecule.yml @@ -0,0 +1,29 @@ +--- +dependency: + name: galaxy + enabled: true + options: + role-file: requirements.yml +driver: + name: docker +lint: | + yamllint . + ansible-lint + flake8 +platforms: + - name: ubuntu1604 + image: jrei/systemd-ubuntu:16.04 + privileged: true + command: /lib/systemd/systemd + # tmpfs: + # - /run + # - /tmp + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro +provisioner: + name: ansible + playbooks: + prepare: ../shared/prepare.yml + converge: ../shared/converge.yml +verifier: + name: ansible diff --git a/roles/netdata/molecule/ubuntu1604/verify.yml b/roles/netdata/molecule/ubuntu1604/verify.yml new file mode 100644 index 0000000..a82dd6f --- /dev/null +++ b/roles/netdata/molecule/ubuntu1604/verify.yml @@ -0,0 +1,9 @@ +--- +# This is an example playbook to execute Ansible tests. + +- name: Verify + hosts: all + tasks: + - name: Example assertion + assert: + that: true diff --git a/roles/netdata/molecule/ubuntu1804/INSTALL.rst b/roles/netdata/molecule/ubuntu1804/INSTALL.rst new file mode 100644 index 0000000..6a44bde --- /dev/null +++ b/roles/netdata/molecule/ubuntu1804/INSTALL.rst @@ -0,0 +1,22 @@ +******* +Docker driver installation guide +******* + +Requirements +============ + +* Docker Engine + +Install +======= + +Please refer to the `Virtual environment`_ documentation for installation best +practices. If not using a virtual environment, please consider passing the +widely recommended `'--user' flag`_ when invoking ``pip``. + +.. _Virtual environment: https://virtualenv.pypa.io/en/latest/ +.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site + +.. code-block:: bash + + $ pip install 'molecule[docker]' diff --git a/roles/netdata/molecule/ubuntu1804/molecule.yml b/roles/netdata/molecule/ubuntu1804/molecule.yml new file mode 100644 index 0000000..88777cf --- /dev/null +++ b/roles/netdata/molecule/ubuntu1804/molecule.yml @@ -0,0 +1,29 @@ +--- +dependency: + name: galaxy + enabled: true + options: + role-file: requirements.yml +driver: + name: docker +lint: | + yamllint . + ansible-lint + flake8 +platforms: + - name: ubuntu1804 + image: jrei/systemd-ubuntu:18.04 + privileged: true + command: /lib/systemd/systemd + # tmpfs: + # - /run + # - /tmp + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro +provisioner: + name: ansible + playbooks: + prepare: ../shared/prepare.yml + converge: ../shared/converge.yml +verifier: + name: ansible diff --git a/roles/netdata/molecule/ubuntu1804/verify.yml b/roles/netdata/molecule/ubuntu1804/verify.yml new file mode 100644 index 0000000..a82dd6f --- /dev/null +++ b/roles/netdata/molecule/ubuntu1804/verify.yml @@ -0,0 +1,9 @@ +--- +# This is an example playbook to execute Ansible tests. + +- name: Verify + hosts: all + tasks: + - name: Example assertion + assert: + that: true diff --git a/roles/netdata/molecule/ubuntu2004/INSTALL.rst b/roles/netdata/molecule/ubuntu2004/INSTALL.rst new file mode 100644 index 0000000..6a44bde --- /dev/null +++ b/roles/netdata/molecule/ubuntu2004/INSTALL.rst @@ -0,0 +1,22 @@ +******* +Docker driver installation guide +******* + +Requirements +============ + +* Docker Engine + +Install +======= + +Please refer to the `Virtual environment`_ documentation for installation best +practices. If not using a virtual environment, please consider passing the +widely recommended `'--user' flag`_ when invoking ``pip``. + +.. _Virtual environment: https://virtualenv.pypa.io/en/latest/ +.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site + +.. code-block:: bash + + $ pip install 'molecule[docker]' diff --git a/roles/netdata/molecule/ubuntu2004/molecule.yml b/roles/netdata/molecule/ubuntu2004/molecule.yml new file mode 100644 index 0000000..0b92f0a --- /dev/null +++ b/roles/netdata/molecule/ubuntu2004/molecule.yml @@ -0,0 +1,29 @@ +--- +dependency: + name: galaxy + enabled: true + options: + role-file: requirements.yml +driver: + name: docker +lint: | + yamllint . + ansible-lint + flake8 +platforms: + - name: ubuntu2004 + image: jrei/systemd-ubuntu:20.04 + privileged: true + command: /lib/systemd/systemd + # tmpfs: + # - /run + # - /tmp + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro +provisioner: + name: ansible + playbooks: + prepare: ../shared/prepare.yml + converge: ../shared/converge.yml +verifier: + name: ansible diff --git a/roles/netdata/molecule/ubuntu2004/verify.yml b/roles/netdata/molecule/ubuntu2004/verify.yml new file mode 100644 index 0000000..a82dd6f --- /dev/null +++ b/roles/netdata/molecule/ubuntu2004/verify.yml @@ -0,0 +1,9 @@ +--- +# This is an example playbook to execute Ansible tests. + +- name: Verify + hosts: all + tasks: + - name: Example assertion + assert: + that: true diff --git a/roles/netdata/playbook.yml b/roles/netdata/playbook.yml new file mode 100644 index 0000000..d6c572e --- /dev/null +++ b/roles/netdata/playbook.yml @@ -0,0 +1,32 @@ +--- +- hosts: netdata_registry + vars: + netdata_registry_enabled: true + netdata_registry_to_announce: "http://{{ netdata_stream_master_node }}:{{ netdata_default_port }}" + pri_domain_name: test.vagrant.local + netdata_stream_enabled: true + netdata_stream_api_key: 359CCA67-C678-49E7-9A39-DEC1B92DFB34 + netdata_stream_master_node: 192.168.250.10 + tasks: + - name: Include ansible-nodejs + include_role: + name: ansible-nodejs + - name: Include ansible-netdata + include_role: + name: ansible-netdata + +- hosts: netdata:!netdata_registry + vars: + netdata_registry_enabled: false + netdata_registry_to_announce: "http://{{ netdata_stream_master_node }}:{{ netdata_default_port }}" + pri_domain_name: test.vagrant.local + netdata_stream_enabled: true + netdata_stream_api_key: 359CCA67-C678-49E7-9A39-DEC1B92DFB34 + netdata_stream_master_node: 192.168.250.10 + tasks: + - name: Include ansible-nodejs + include_role: + name: ansible-nodejs + - name: Include ansible-netdata + include_role: + name: ansible-netdata diff --git a/roles/netdata/requirements-dev.in b/roles/netdata/requirements-dev.in new file mode 100644 index 0000000..b687069 --- /dev/null +++ b/roles/netdata/requirements-dev.in @@ -0,0 +1,7 @@ +# Python requirements for development +-c requirements.txt +autopep8 +flake8 +pycodestyle +pylint +tox diff --git a/roles/netdata/requirements-dev.txt b/roles/netdata/requirements-dev.txt new file mode 100644 index 0000000..f639821 --- /dev/null +++ b/roles/netdata/requirements-dev.txt @@ -0,0 +1,27 @@ +# +# This file is autogenerated by pip-compile +# To update, run: +# +# pip-compile requirements-dev.in +# +appdirs==1.4.4 # via virtualenv +astroid==2.4.2 # via pylint +autopep8==1.5.4 # via -r requirements-dev.in +distlib==0.3.1 # via virtualenv +filelock==3.0.12 # via tox, virtualenv +flake8==3.8.3 # via -r requirements-dev.in +isort==5.5.2 # via pylint +lazy-object-proxy==1.4.3 # via astroid +mccabe==0.6.1 # via flake8, pylint +packaging==20.4 # via tox +pluggy==0.13.1 # via -c requirements.txt, tox +py==1.9.0 # via tox +pycodestyle==2.6.0 # via -r requirements-dev.in, autopep8, flake8 +pyflakes==2.2.0 # via flake8 +pylint==2.6.0 # via -r requirements-dev.in +pyparsing==2.4.7 # via packaging +six==1.15.0 # via -c requirements.txt, astroid, packaging, tox, virtualenv +toml==0.10.1 # via autopep8, pylint, tox +tox==3.20.0 # via -r requirements-dev.in +virtualenv==20.0.31 # via tox +wrapt==1.12.1 # via astroid diff --git a/roles/netdata/requirements.in b/roles/netdata/requirements.in new file mode 100644 index 0000000..e6f351e --- /dev/null +++ b/roles/netdata/requirements.in @@ -0,0 +1,8 @@ +# Python requirements for executing +ansible +ansible-lint +docker +mkdocs +molecule +pip-tools +yamllint diff --git a/roles/netdata/requirements.txt b/roles/netdata/requirements.txt new file mode 100644 index 0000000..8e83d2e --- /dev/null +++ b/roles/netdata/requirements.txt @@ -0,0 +1,72 @@ +# +# This file is autogenerated by pip-compile +# To update, run: +# +# pip-compile +# +ansible-lint==4.3.4 # via -r requirements.in +ansible==2.9.13 # via -r requirements.in, ansible-lint, molecule +arrow==0.16.0 # via jinja2-time +bcrypt==3.2.0 # via paramiko +binaryornot==0.4.4 # via cookiecutter +cerberus==1.3.2 # via molecule +certifi==2020.6.20 # via requests +cffi==1.14.2 # via bcrypt, cryptography, pynacl +chardet==3.0.4 # via binaryornot, requests +click-completion==0.5.2 # via molecule +click-help-colors==0.8 # via molecule +click==7.1.2 # via click-completion, click-help-colors, cookiecutter, mkdocs, molecule, nltk, pip-tools, python-gilt +colorama==0.4.3 # via molecule, python-gilt, rich +commonmark==0.9.1 # via rich +cookiecutter==1.7.2 # via molecule +cryptography==3.1 # via ansible, paramiko +docker==4.3.1 # via -r requirements.in +fasteners==0.15 # via python-gilt +future==0.18.2 # via lunr +idna==2.10 # via requests +jinja2-time==0.2.0 # via cookiecutter +jinja2==2.11.2 # via ansible, click-completion, cookiecutter, jinja2-time, mkdocs, molecule +joblib==0.16.0 # via nltk +livereload==2.6.3 # via mkdocs +lunr[languages]==0.5.8 # via mkdocs +markdown==3.2.2 # via mkdocs +markupsafe==1.1.1 # via cookiecutter, jinja2 +mkdocs==1.1.2 # via -r requirements.in +molecule==3.0.8 # via -r requirements.in +monotonic==1.5 # via fasteners +nltk==3.5 # via lunr +paramiko==2.7.2 # via molecule +pathspec==0.8.0 # via yamllint +pexpect==4.8.0 # via molecule +pip-tools==5.3.1 # via -r requirements.in +pluggy==0.13.1 # via molecule +poyo==0.5.0 # via cookiecutter +ptyprocess==0.6.0 # via pexpect +pycparser==2.20 # via cffi +pygments==2.6.1 # via rich +pynacl==1.4.0 # via paramiko +python-dateutil==2.8.1 # via arrow +python-gilt==1.2.3 # via molecule +python-slugify==4.0.1 # via cookiecutter +pyyaml==5.3.1 # via ansible, ansible-lint, mkdocs, molecule, python-gilt, yamllint +regex==2020.7.14 # via nltk +requests==2.24.0 # via cookiecutter, docker +rich==6.1.1 # via ansible-lint +ruamel.yaml.clib==0.2.2 # via ruamel.yaml +ruamel.yaml==0.16.12 # via ansible-lint +sh==1.13.1 # via molecule, python-gilt +shellingham==1.3.2 # via click-completion +six==1.15.0 # via bcrypt, click-completion, cookiecutter, cryptography, docker, fasteners, livereload, lunr, pip-tools, pynacl, python-dateutil, websocket-client +tabulate==0.8.7 # via molecule +text-unidecode==1.3 # via python-slugify +tornado==6.0.4 # via livereload, mkdocs +tqdm==4.48.2 # via nltk +tree-format==0.1.2 # via molecule +typing-extensions==3.7.4.3 # via rich +urllib3==1.25.10 # via requests +websocket-client==0.57.0 # via docker +yamllint==1.24.2 # via -r requirements.in, molecule + +# The following packages are considered to be unsafe in a requirements file: +# pip +# setuptools diff --git a/roles/netdata/tasks/auto_updates.yml b/roles/netdata/tasks/auto_updates.yml new file mode 100644 index 0000000..315e236 --- /dev/null +++ b/roles/netdata/tasks/auto_updates.yml @@ -0,0 +1,14 @@ +--- +# Since netdata 1.11 the auto-updater installs the cron by itself +# This is a legacy when Netdata didn't handle the cron itself +- name: auto_updates | Setting Up Cron Job For Auto Updates + cron: + name: Netdata Auto Updates + weekday: "{{ netdata_auto_updates['weekday'] }}" + minute: "{{ netdata_auto_updates['minute'] }}" + hour: "{{ netdata_auto_updates['hour'] }}" + user: "{{ netdata_auto_updates['user'] }}" + job: "{{ netdata_source_dir }}/{{ netdata_updater|basename }}" + cron_file: netdata_auto_updates + state: "{{ netdata_auto_updates['clean_legacy_cron']|default(false)|ternary('absent', 'present') }}" + become: true diff --git a/roles/netdata/tasks/config.yml b/roles/netdata/tasks/config.yml new file mode 100644 index 0000000..8158a7b --- /dev/null +++ b/roles/netdata/tasks/config.yml @@ -0,0 +1,75 @@ +--- +- name: config | Configuring Netdata + template: + src: netdata.conf.j2 + dest: "{{ netdata_config_file }}" + owner: "{{ netdata_user_info['user'] }}" + group: root + mode: u=rx,g=rx,o=r + notify: restart netdata + become: true + +- name: config | Configuring Netdata Alarm Notifications + template: + dest: "{{ netdata_alarm_config_file }}" + owner: "{{ netdata_user_info['user'] }}" + group: root + src: "health_alarm_notify.conf.j2" + mode: u=rw,g=rw,o=r + notify: restart netdata + become: true + when: netdata_alarm_configure + +- name: config | Configuring Netdata streaming + template: + src: stream.conf.j2 + dest: "{{ netdata_stream_config_file }}" + owner: "{{ netdata_user_info['user'] }}" + group: root + mode: u=rx,g=rx,o=r + notify: restart netdata + become: true + when: netdata_stream_enabled + +- name: config | Configuring Netdata Service (systemd) + template: + src: etc/systemd/system/netdata.service.j2 + dest: /etc/systemd/system/netdata.service + owner: root + group: root + mode: u=rw,g=rw,o=r + notify: + - reload systemd netdata + - restart netdata + become: true + when: ansible_service_mgr == "systemd" + +- name: config | Configuring Netdata Service (upstart|sysvinit) - Debian + template: + src: etc/init.d/netdata.debian.j2 + dest: /etc/init.d/netdata + owner: root + group: root + mode: u=rwx,g=rx,o=rx + notify: + - restart netdata + become: true + when: > + (ansible_service_mgr == "upstart" + or ansible_service_mgr == "sysvinit") and + ansible_os_family == "Debian" + +- name: config | Configuring Netdata Service (upstart|sysvinit) - RedHat + template: + src: etc/init.d/netdata.redhat.j2 + dest: /etc/init.d/netdata + owner: root + group: root + mode: u=rwx,g=rx,o=rx + notify: + - restart netdata + become: true + when: > + (ansible_service_mgr == "upstart" + or ansible_service_mgr == "sysvinit") and + ansible_os_family == "RedHat" diff --git a/roles/netdata/tasks/debian.yml b/roles/netdata/tasks/debian.yml new file mode 100644 index 0000000..bd3f5a1 --- /dev/null +++ b/roles/netdata/tasks/debian.yml @@ -0,0 +1,17 @@ +--- +- name: debian | Installing git + apt: + name: git + state: present + become: true + +- name: debian | Installing iproute Package + apt: + name: iproute + state: present + become: true + when: > + (ansible_distribution == "Debian" and + ansible_distribution_version|int < 10) or + (ansible_distribution == "Ubuntu" and + ansible_distribution_version < "18.04") diff --git a/roles/netdata/tasks/install.yml b/roles/netdata/tasks/install.yml new file mode 100644 index 0000000..910da91 --- /dev/null +++ b/roles/netdata/tasks/install.yml @@ -0,0 +1,35 @@ +--- +- name: install | Defining Auto Update CLI Option + set_fact: + auto_update_cli_option: "{{ netdata_auto_updates['enabled']|ternary('--auto-update', '') }}" + +- name: install | Cloning {{ netdata_git_repo }} to {{ netdata_source_dir }} + git: + repo: "{{ netdata_git_repo }}" + dest: "{{ netdata_source_dir }}" + depth: 1 + version: "{{ netdata_git_version_tag }}" + become: true + +- name: use Netdata dependencies installation + command: "{{ netdata_requirements_installer }} {{ netdata_requirements_installer_options|join(' ') }}" # noqa 301 + args: + chdir: "{{ netdata_source_dir }}" + become: true + register: netdata_requirements_install + changed_when: > + 'All required packages are already installed. Now proceed to the next step.' + not in netdata_requirements_install.stderr_lines + +- name: install | Installing Netdata ({{ netdata_installer }}) From {{ netdata_source_dir }} + command: "{{ installer_cli|join(' ') }}" + vars: + installer_cli: + - "{{ netdata_installer }}" + - "{{ auto_update_cli_option }}" + - "--dont-wait" + args: + chdir: "{{ netdata_source_dir }}" + creates: /usr/sbin/netdata + become: true + notify: restart netdata diff --git a/roles/netdata/tasks/main.yml b/roles/netdata/tasks/main.yml new file mode 100644 index 0000000..3b767b0 --- /dev/null +++ b/roles/netdata/tasks/main.yml @@ -0,0 +1,26 @@ +--- +# tasks file for ansible-netdata + +- include_tasks: set_facts.yml + +- include: debian.yml + when: ansible_os_family == "Debian" + +- include: redhat.yml + when: ansible_os_family == "RedHat" + +- include: install.yml + +- include: config.yml + when: netdata_config + +- include: update.yml + when: netdata_update or netdata_update_force + +- include: auto_updates.yml + when: netdata_auto_updates['enabled'] + +- include: uninstall.yml + when: netdata_uninstall + tags: + - netdata_uninstall diff --git a/roles/netdata/tasks/redhat.yml b/roles/netdata/tasks/redhat.yml new file mode 100644 index 0000000..5745dd5 --- /dev/null +++ b/roles/netdata/tasks/redhat.yml @@ -0,0 +1,33 @@ +--- +- name: redhat | Install git + yum: + name: git + state: present + +- name: redhat | Check if EPEL repo is already configured. + stat: path={{ netdata_epel_repofile_path }} + register: epel_repofile_result + when: netdata_epel_setup + +- name: redhat | Install EPEL repo. + yum: + name: "{{ netdata_epel_repo_url }}" + state: present + register: result + when: + - netdata_epel_setup + - not epel_repofile_result.stat.exists + +- name: redhat | Import EPEL GPG key. + rpm_key: + key: "{{ netdata_epel_repo_gpg_key_url }}" + state: present + when: + - netdata_epel_setup + - not epel_repofile_result.stat.exists + +- name: redhat | install okay repo + yum: + name: http://repo.okay.com.mx/centos/6/x86_64/release/okay-release-1-3.el6.noarch.rpm + state: present + when: netdata_centos6_install_okay diff --git a/roles/netdata/tasks/set_facts.yml b/roles/netdata/tasks/set_facts.yml new file mode 100644 index 0000000..73f9015 --- /dev/null +++ b/roles/netdata/tasks/set_facts.yml @@ -0,0 +1,67 @@ +--- +- name: set_facts | Defining Debian Packages + set_fact: + netdata_debian_pre_reqs: + - autoconf-archive + - autoconf + - autogen + - automake + - build-essential + - cron + - curl + - gcc + - git + - libmnl-dev + - libmnl0 + - libssl-dev + - libuuid1 + - libuv1-dev + - lm-sensors + - make + - netcat + - pkg-config + - python-mysqldb + - python-psycopg2 + - python-pymongo + - python-yaml + - util-linux + - uuid + - uuid-dev + - zlib1g-dev + when: > + ansible_distribution == "Debian" or + (ansible_distribution == "Ubuntu" and + ansible_distribution_version is version('20.04', '<')) + +- name: set_facts | Defining Debian Packages + set_fact: + netdata_debian_pre_reqs: + - autoconf-archive + - autoconf + - autogen + - automake + - build-essential + - cron + - curl + - gcc + - git + - libmnl-dev + - libmnl0 + - libssl-dev + - libuuid1 + - libuv1-dev + - lm-sensors + - make + - netcat + - pkg-config + - python3-pymysql + - python3-psycopg2 + - python3-pymongo + - python3-yaml + - util-linux + - uuid + - uuid-dev + - zlib1g-dev + when: + - ansible_distribution == "Ubuntu" + - ansible_distribution_version is version('20.04', '>=') diff --git a/roles/netdata/tasks/uninstall.yml b/roles/netdata/tasks/uninstall.yml new file mode 100644 index 0000000..49f6d21 --- /dev/null +++ b/roles/netdata/tasks/uninstall.yml @@ -0,0 +1,34 @@ +--- +- name: uninstall | Prepping For Uninstalling Netdata + replace: + dest: "{{ netdata_source_dir }}/{{ netdata_uninstaller|basename }}" + regexp: 'rm -I -R "' + replace: 'rm -R "' + become: true + +- name: uninstall | Prepping For Uninstalling Netdata + replace: + dest: "{{ netdata_source_dir }}/{{ netdata_uninstaller|basename }}" + regexp: 'rm -i "' + replace: 'rm "' + become: true + +- name: uninstall | Uninstalling Netdata # noqa 301 + command: "{{ netdata_uninstaller }} --force" + args: + chdir: "{{ netdata_source_dir }}" + become: true + +- name: uninstall | Cleaning Up After Uninstalling Netdata + replace: + dest: "{{ netdata_source_dir }}/{{ netdata_uninstaller|basename }}" + regexp: 'rm -R "' + replace: 'rm -I -R "' + become: true + +- name: uninstall | Cleaning Up After Uninstalling Netdata + replace: + dest: "{{ netdata_source_dir }}/{{ netdata_uninstaller|basename }}" + regexp: 'rm "' + replace: 'rm -i "' + become: true diff --git a/roles/netdata/tasks/update.yml b/roles/netdata/tasks/update.yml new file mode 100644 index 0000000..54f1a23 --- /dev/null +++ b/roles/netdata/tasks/update.yml @@ -0,0 +1,15 @@ +--- +- name: update | Updating Netdata ({{ netdata_updater }}) From {{ netdata_source_dir }} + command: "{{ netdata_updater }}" + args: + chdir: "{{ netdata_source_dir }}" + become: true + notify: restart netdata + when: not netdata_update_force|bool + +- name: update | Force Updating Netdata ({{ netdata_updater }}) From {{ netdata_source_dir }} + command: "{{ netdata_updater }} -f" + args: + chdir: "{{ netdata_source_dir }}" + become: true + when: netdata_update_force diff --git a/roles/netdata/templates/.gitkeep b/roles/netdata/templates/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/roles/netdata/templates/etc/init.d/netdata.debian.j2 b/roles/netdata/templates/etc/init.d/netdata.debian.j2 new file mode 100644 index 0000000..3476b9f --- /dev/null +++ b/roles/netdata/templates/etc/init.d/netdata.debian.j2 @@ -0,0 +1,100 @@ +#!/bin/bash +# +### BEGIN INIT INFO +# Provides: netdata +# Required-Start: $local_fs $remote_fs $network $named $time apache2 httpd squid nginx mysql named opensips upsd hostapd postfix lm_sensors +# Required-Stop: $local_fs $remote_fs $network $named $time apache2 httpd squid nginx mysql named opensips upsd hostapd postfix lm_sensors +# Should-Start: $local_fs $network $named $remote_fs $time $all +# Should-Stop: $local_fs $network $named $remote_fs $time $all +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start and stop the netdata real-time monitoring server daemon +# Description: Controls the main netdata monitoring server daemon "netdata". +# and all its plugins. +### END INIT INFO +# +set -e +set -u +${DEBIAN_SCRIPT_DEBUG:+ set -v -x} + +DAEMON="netdata" +DAEMON_PATH=/usr/sbin +PIDFILE=/var/run/$DAEMON.pid +DAEMONOPTS="-P $PIDFILE" + +test -x $DAEMON_PATH/$DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Safeguard (relative paths, core dumps..) +cd / +umask 022 + +service_start() { + log_daemon_msg "Starting real-time performance monitoring" "netdata" + start_daemon -p $PIDFILE $DAEMON_PATH/$DAEMON $DAEMONOPTS + RETVAL=$? + log_end_msg $RETVAL + return $RETVAL +} + +service_stop() { + log_daemon_msg "Stopping real-time performance monitoring" "netdata" + killproc -p ${PIDFILE} $DAEMON_PATH/$DAEMON + RETVAL=$? + log_end_msg $RETVAL + + if [ $RETVAL -eq 0 ]; then + rm -f ${PIDFILE} + fi + return $RETVAL +} + +condrestart() { + if ! service_status > /dev/null; then + RETVAL=$1 + return + fi + + service_stop + service_start +} + +service_status() { + status_of_proc -p $PIDFILE $DAEMON_PATH/$DAEMON netdata +} + + +# +# main() +# + +case "${1:-''}" in + 'start') + service_start + ;; + + 'stop') + service_stop + ;; + + 'restart') + service_stop + service_start + ;; + + 'try-restart') + condrestart 0 + ;; + + 'force-reload') + condrestart 7 + ;; + + 'status') + service_status && exit 0 || exit $? + ;; + *) + echo "Usage: $0 {start|stop|restart|try-restart|force-reload|status}" + exit 1 +esac diff --git a/roles/netdata/templates/etc/init.d/netdata.redhat.j2 b/roles/netdata/templates/etc/init.d/netdata.redhat.j2 new file mode 100755 index 0000000..07bd06f --- /dev/null +++ b/roles/netdata/templates/etc/init.d/netdata.redhat.j2 @@ -0,0 +1,91 @@ +#!/bin/sh +# +# netdata Real-time performance monitoring, done right +# chkconfig: 345 99 01 +# description: Netdata is a daemon that collects data in real-time (per second) +# and presents a web site to view and analyze them. The presentation +# is also real-time and full of interactive charts that precisely +# render all collected values. +# processname: netdata + +# Source functions +. /etc/rc.d/init.d/functions + +DAEMON="netdata" +DAEMON_PATH=/usr/sbin +PIDFILE=/var/run/$DAEMON.pid +DAEMONOPTS="-P $PIDFILE" +STOP_TIMEOUT="10" + +[ -e /etc/sysconfig/$DAEMON ] && . /etc/sysconfig/$DAEMON + +LOCKFILE=/var/lock/subsys/$DAEMON + +service_start() +{ + [ -x $DAEMON_PATH ] || exit 5 + echo -n "Starting $DAEMON..." + daemon $DAEMON_PATH/$DAEMON $DAEMONOPTS + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && touch $LOCKFILE + return $RETVAL +} + +service_stop() +{ + printf "%-50s" "Stopping $DAEMON..." + killproc -p ${PIDFILE} -d ${STOP_TIMEOUT} $DAEMON + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && rm -f ${PIDFILE} ${LOCKFILE} + return $RETVAL +} + +condrestart() +{ + if ! service_status > /dev/null; then + RETVAL=$1 + return $RETVAL + fi + + service_stop + service_start +} + +service_status() +{ + status -p ${PIDFILE} $DAEMON_PATH/$DAEMON +} + +service_status_quiet() +{ + status -p ${PIDFILE} $DAEMON_PATH/$DAEMON >/dev/null 2>&1 +} + +case "$1" in +start) + service_status_quiet && exit 0 + service_start +;; +stop) + service_status_quiet || exit 0 + service_stop +;; +restart) + service_stop + service_start +;; +try-restart) + condrestart 0 + ;; +force-reload) + condrestart 7 +;; +status) + service_status +;; +*) + echo "Usage: $0 {start|stop|restart|try-restart|force-reload|status}" + exit 3 +esac diff --git a/roles/netdata/templates/etc/systemd/system/netdata.service.j2 b/roles/netdata/templates/etc/systemd/system/netdata.service.j2 new file mode 100644 index 0000000..66c9ec3 --- /dev/null +++ b/roles/netdata/templates/etc/systemd/system/netdata.service.j2 @@ -0,0 +1,16 @@ +[Unit] +Description=Real time performance monitoring +After=network.target httpd.service squid.service nfs-server.service mysqld.service mysql.service named.service postfix.service + +[Service] +Type=simple +User={{ netdata_user_info['user'] }} +Group={{ netdata_user_info['group'] }} +ExecStart=/usr/sbin/netdata -D +Restart=on-failure + +# saving a big db on slow disks may need some time +TimeoutStopSec=60 + +[Install] +WantedBy=multi-user.target diff --git a/roles/netdata/templates/health_alarm_notify.conf.j2 b/roles/netdata/templates/health_alarm_notify.conf.j2 new file mode 100644 index 0000000..6623d79 --- /dev/null +++ b/roles/netdata/templates/health_alarm_notify.conf.j2 @@ -0,0 +1,9 @@ +{% for key in netdata_alarm_notify_configs %} +{{ key }}="{{ netdata_alarm_notify_configs[key] }}" +{% endfor %} + +{% if netdata_custom_sender_function is defined %} +custom_sender() { +{{ netdata_custom_sender_function }} +} +{% endif %} diff --git a/roles/netdata/templates/netdata.conf.j2 b/roles/netdata/templates/netdata.conf.j2 new file mode 100644 index 0000000..8fd0708 --- /dev/null +++ b/roles/netdata/templates/netdata.conf.j2 @@ -0,0 +1,5934 @@ +# netdata configuration + +# global netdata configuration +[global] + # glibc malloc arena max for plugins = 1 + # glibc malloc arena max for netdata = 1 + hostname = {{ netdata_hostname }} + history = {{ netdata_history }} + update every = {{ netdata_update_every }} + config directory = /etc/netdata + log directory = /var/log/netdata + plugins directory = /usr/libexec/netdata/plugins.d + web files directory = /usr/share/netdata/web + cache directory = /var/cache/netdata + lib directory = /var/lib/netdata + home directory = /var/cache/netdata + memory mode = {{ netdata_memory_mode }} + {% if netdata_memory_mode == "dbengine" %} + page cache size = {{ netdata_dbengine_page_cache_size }} + dbengine multihost disk space = {{ netdata_dbengine_multihost_disk_space }} + {% endif %} + # host access prefix = + # memory deduplication (ksm) = yes + # TZ environment variable = :/etc/localtime + # debug flags = 0x0000000000000000 + debug log = /var/log/netdata/debug.log + error log = /var/log/netdata/error.log + access log = /var/log/netdata/access.log + errors flood protection period = {{ netdata_errors_flood_protection_period }} + errors to trigger flood protection = {{ netdata_errors_to_trigger_flood_protection }} + # pthread stack size = 8388608 + # run as user = netdata + # OOM score = 1000 + # process scheduling policy = idle + # cleanup obsolete charts after seconds = 3600 + # cleanup orphan hosts after seconds = 3600 + # delete obsolete charts files = yes + # delete orphan hosts files = yes + +[web] + # web files owner = netdata + # web files group = netdata + mode = {{ netdata_web_mode }} + # listen backlog = 4096 + default port = {{ netdata_default_port }} + bind to = {{ netdata_bind_to|join(' ') }} + # disconnect idle clients after seconds = 60 + # respect do not track policy = no + # x-frame-options response header = + # enable gzip compression = yes + # gzip compression strategy = default + # gzip compression level = 3 + +[plugins] + # PATH environment variable = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin + # PYTHONPATH environment variable = + # tc = yes + # idlejitter = yes + # proc = yes + # diskspace = yes + # cgroups = yes + # checks = no + # enable running new plugins = yes + # check for new plugins every = 60 + # apps = yes + # node.d = yes + # charts.d = yes + # python.d = yes + # fping = yes + +[health] +{% if not netdata_health_enabled %} + enabled = no +{% elif netdata_health_enabled %} + enabled = yes +{% endif %} + # in memory max health log entries = 1000 + script to execute on alarm = {{ netdata_health_alarm_script }} + health configuration directory = /etc/netdata/health.d + default repeat warning = {{ netdata_default_repeat_warning }} + default repeat critical = {{ netdata_default_repeat_critical }} + # run at least every seconds = 10 + # postpone alarms during hibernation for seconds = 60 + # rotate log every lines = 2000 + +[registry] +{% if not netdata_registry_enabled %} + enabled = no +{% elif netdata_registry_enabled %} + enabled = yes +{% endif %} + registry db directory = /var/lib/netdata/registry + netdata unique id file = /var/lib/netdata/registry/netdata.public.unique.id + registry db file = /var/lib/netdata/registry/registry.db + registry log file = /var/lib/netdata/registry/registry-log.db + # registry save db every new entries = 1000000 + # registry expire idle persons days = 365 + # registry domain = + registry to announce = {{ netdata_registry_to_announce }} + registry hostname = {{ netdata_hostname }} + # verify browser cookies support = yes + # max URL length = 1024 + # max URL name length = 50 + +[backend] +{% if not netdata_configure_archive %} + # enabled = no + # data source = average + # type = graphite + # destination = localhost + # prefix = netdata + hostname = {{ netdata_hostname }} + # update every = 10 + # buffer on failures = 10 + # timeout ms = 20000 +{% else %} + enabled = {{ netdata_archive_enabled }} + type = {{ netdata_archive_type }} + destination = {{ netdata_archive_destination|join(' ') }} + data source = {{ netdata_archive_data_source }} + prefix = {{ netdata_archive_prefix }} + update every = {{ netdata_archive_update }} + buffer on failures = {{ netdata_archive_buffer_on_failures }} + timeout ms = {{ netdata_archive_timeout }} + send names instead of ids = {{ netdata_archive_send_names }} +{% endif %} + +# per plugin configuration + +[plugin:apps] + # update every = 1 + # command options = + +[plugin:node.d] + # update every = 1 + # command options = + +[plugin:charts.d] + # update every = 1 + # command options = + +[plugin:python.d] + # update every = 1 + # command options = + +[plugin:fping] + # update every = 1 + # command options = + +[plugin:cgroups] + # cgroups plugin resource charts = yes + # update every = 1 + # check for new cgroups every = 10 + # enable cpuacct stat (total CPU) = auto + # enable cpuacct usage (per core CPU) = auto + # enable memory (used mem including cache) = auto + # enable detailed memory = auto + # enable memory limits fail count = auto + # enable swap memory = auto + # enable blkio bandwidth = auto + # enable blkio operations = auto + # enable blkio throttle bandwidth = auto + # enable blkio throttle operations = auto + # enable blkio queued operations = auto + # enable blkio merged operations = auto + # recheck zero blkio every iterations = 10 + # recheck zero memory failcnt every iterations = 10 + # recheck zero detailed memory every iterations = 10 + # enable systemd services = yes + # enable systemd services detailed memory = no + # report used memory without cache = yes + # path to /sys/fs/cgroup/cpuacct = /sys/fs/cgroup/cpu,cpuacct + # path to /sys/fs/cgroup/blkio = /sys/fs/cgroup/blkio + # path to /sys/fs/cgroup/memory = /sys/fs/cgroup/memory + # path to /sys/fs/cgroup/devices = /sys/fs/cgroup/devices + # max cgroups to allow = 500 + # max cgroups depth to monitor = 0 + # enable new cgroups detected at run time = yes + # enable by default cgroups matching = !*/init.scope *.scope !*/vcpu* !*/emulator !*.mount !*.partition !*.service !*.slice !*.swap !*.user !/ !/docker !/libvirt !/lxc !/lxc/*/ns !/machine !/qemu !/system !/systemd !/user * + # search for cgroups in subpaths matching = !*/init.scope !*-qemu !/init.scope !/system !/systemd !/user !/user.slice * + script to get cgroup names = /usr/libexec/netdata/plugins.d/cgroup-name.sh + # run script to rename cgroups matching = *.scope *docker* *lxc* *qemu* !/ !*.mount !*.partition !*.service !*.slice !*.swap !*.user * + # cgroups to match as systemd services = !/system.slice/*/*.service /system.slice/*.service + +[plugin:proc] + # netdata server resources = yes + # /proc/stat = yes + # /proc/uptime = yes + # /proc/loadavg = yes + # /proc/sys/kernel/random/entropy_avail = yes + # /proc/interrupts = yes + # /proc/softirqs = yes + # /proc/vmstat = yes + # /proc/meminfo = yes + # /sys/kernel/mm/ksm = yes + # /sys/devices/system/edac/mc = yes + # /sys/devices/system/node = yes + # /proc/net/dev = yes + # /proc/net/netstat = yes + # /proc/net/snmp = yes + # /proc/net/snmp6 = yes + # /proc/net/softnet_stat = yes + # /proc/net/ip_vs/stats = yes + # /proc/net/stat/conntrack = yes + # /proc/net/stat/synproxy = yes + # /proc/diskstats = yes + # /proc/net/rpc/nfsd = yes + # /proc/net/rpc/nfs = yes + # /proc/spl/kstat/zfs/arcstats = yes + # ipc = yes + +[plugin:proc:diskspace] + # update every = 1 + # check for new mount points every = 15 + # exclude space metrics on paths = /proc/* /sys/* /var/run/user/* /run/user/* /snap/* /var/lib/docker/* + # exclude space metrics on filesystems = + # space usage for all disks = auto + # inodes usage for all disks = auto + +[plugin:idlejitter] + # loop time in ms = 20 + +[plugin:tc] + script to run to get tc values = /usr/libexec/netdata/plugins.d/tc-qos-helper.sh + +[plugin:proc:/proc/stat] + # cpu utilization = yes + # per cpu core utilization = yes + # cpu interrupts = yes + # context switches = yes + # processes started = yes + # processes running = yes + # filename to monitor = /proc/stat + +[plugin:proc:/proc/loadavg] + # filename to monitor = /proc/loadavg + # enable load average = yes + # enable total processes = yes + +[plugin:proc:/proc/sys/kernel/random/entropy_avail] + # filename to monitor = /proc/sys/kernel/random/entropy_avail + +[plugin:proc:diskspace:/dev] + # space usage = auto + # inodes usage = auto + +[plugin:proc:diskspace:/run] + # space usage = auto + # inodes usage = auto + +[plugin:proc:diskspace:/] + # space usage = auto + # inodes usage = auto + +[plugin:proc:diskspace:/sys/kernel/security] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/dev/shm] + # space usage = auto + # inodes usage = auto + +[plugin:proc:diskspace:/run/lock] + # space usage = auto + # inodes usage = auto + +[plugin:proc:diskspace:/sys/fs/cgroup] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/systemd] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/pstore] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/hugetlb] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/pids] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/cpuset] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/cpu,cpuacct] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/devices] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/freezer] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/perf_event] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/memory] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/net_cls,net_prio] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/sys/fs/cgroup/blkio] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/dev/hugepages] + # space usage = auto + # inodes usage = auto + +[plugin:proc:diskspace:/boot] + # space usage = auto + # inodes usage = auto + +[plugin:proc:diskspace:/run/user/1000] + # space usage = no + # inodes usage = no + +[plugin:proc:diskspace:/vagrant] + # space usage = auto + # inodes usage = auto + +[plugin:proc:/proc/interrupts] + # interrupts per core = yes + # filename to monitor = /proc/interrupts + +[plugin:proc:/proc/softirqs] + # interrupts per core = yes + # filename to monitor = /proc/softirqs + +[plugin:proc:/proc/vmstat] + # swap i/o = auto + # disk i/o = yes + # memory page faults = yes + # system-wide numa metric summary = auto + # filename to monitor = /proc/vmstat + +[plugin:proc:/sys/devices/system/node] + # directory to monitor = /sys/devices/system/node + # enable per-node numa metrics = auto + +[plugin:proc:/proc/meminfo] + # system ram = yes + # system swap = auto + # hardware corrupted ECC = auto + # committed memory = yes + # writeback memory = yes + # kernel memory = yes + # slab memory = yes + # filename to monitor = /proc/meminfo + +[plugin:proc:/sys/kernel/mm/ksm] + # /sys/kernel/mm/ksm/pages_shared = /sys/kernel/mm/ksm/pages_shared + # /sys/kernel/mm/ksm/pages_sharing = /sys/kernel/mm/ksm/pages_sharing + # /sys/kernel/mm/ksm/pages_unshared = /sys/kernel/mm/ksm/pages_unshared + # /sys/kernel/mm/ksm/pages_volatile = /sys/kernel/mm/ksm/pages_volatile + # /sys/kernel/mm/ksm/pages_to_scan = /sys/kernel/mm/ksm/pages_to_scan + +[plugin:proc:/sys/devices/system/edac/mc] + # directory to monitor = /sys/devices/system/edac/mc + +[plugin:proc:/proc/net/dev] + # enable new interfaces detected at runtime = auto + # bandwidth for all interfaces = auto + # packets for all interfaces = auto + # errors for all interfaces = auto + # drops for all interfaces = auto + # fifo for all interfaces = auto + # compressed packets for all interfaces = auto + # frames, collisions, carrier counters for all interfaces = auto + # disable by default interfaces matching = lo fireqos* *-ifb + # filename to monitor = /proc/net/dev + +[plugin:proc:/proc/net/dev:enp0s8] + # enabled = yes + # bandwidth = auto + # packets = auto + # errors = auto + # drops = auto + # fifo = auto + # compressed = auto + # events = auto + +[plugin:proc:/proc/net/dev:enp0s3] + # enabled = yes + # bandwidth = auto + # packets = auto + # errors = auto + # drops = auto + # fifo = auto + # compressed = auto + # events = auto + +[plugin:proc:/proc/net/dev:lo] + # enabled = no + +[plugin:proc:/proc/net/netstat] + # bandwidth = auto + # input errors = auto + # multicast bandwidth = auto + # broadcast bandwidth = auto + # multicast packets = auto + # broadcast packets = auto + # ECN packets = auto + # TCP reorders = auto + # TCP SYN cookies = auto + # TCP out-of-order queue = auto + # TCP connection aborts = auto + # TCP memory pressures = auto + # filename to monitor = /proc/net/netstat + +[plugin:proc:/proc/net/snmp] + # ipv4 packets = yes + # ipv4 fragments sent = yes + # ipv4 fragments assembly = yes + # ipv4 errors = yes + # ipv4 TCP connections = yes + # ipv4 TCP packets = yes + # ipv4 TCP errors = yes + # ipv4 TCP handshake issues = yes + # ipv4 UDP packets = yes + # ipv4 UDP errors = yes + # ipv4 ICMP packets = yes + # ipv4 ICMP messages = yes + # ipv4 UDPLite packets = yes + # filename to monitor = /proc/net/snmp + +[plugin:proc:/proc/net/snmp6] + # ipv6 packets = auto + # ipv6 fragments sent = auto + # ipv6 fragments assembly = auto + # ipv6 errors = auto + # ipv6 UDP packets = auto + # ipv6 UDP errors = auto + # ipv6 UDPlite packets = auto + # ipv6 UDPlite errors = auto + # bandwidth = auto + # multicast bandwidth = auto + # broadcast bandwidth = auto + # multicast packets = auto + # icmp = auto + # icmp redirects = auto + # icmp errors = auto + # icmp echos = auto + # icmp group membership = auto + # icmp router = auto + # icmp neighbor = auto + # icmp mldv2 = auto + # icmp types = auto + # ect = auto + # filename to monitor = /proc/net/snmp6 + +[plugin:proc:/proc/net/softnet_stat] + # softnet_stat per core = yes + # filename to monitor = /proc/net/softnet_stat + +[plugin:proc:/proc/net/ip_vs_stats] + # IPVS bandwidth = yes + # IPVS connections = yes + # IPVS packets = yes + # filename to monitor = /proc/net/ip_vs_stats + +[plugin:proc:/proc/net/stat/nf_conntrack] + # filename to monitor = /proc/net/stat/nf_conntrack + # netfilter new connections = no + # netfilter connection changes = no + # netfilter connection expectations = no + # netfilter connection searches = no + # netfilter errors = no + # netfilter connections = no + +[plugin:proc:/proc/sys/net/netfilter/nf_conntrack_max] + # filename to monitor = /proc/sys/net/netfilter/nf_conntrack_max + # read every seconds = 10 + +[plugin:proc:/proc/sys/net/netfilter/nf_conntrack_count] + # filename to monitor = /proc/sys/net/netfilter/nf_conntrack_count + +[plugin:proc:/proc/net/stat/synproxy] + # SYNPROXY entries = auto + # SYNPROXY cookies = auto + # SYNPROXY SYN received = auto + # SYNPROXY connections reopened = auto + # filename to monitor = /proc/net/stat/synproxy + +[plugin:proc:/proc/diskstats] + # enable new disks detected at runtime = yes + # performance metrics for physical disks = auto + # performance metrics for virtual disks = auto + # performance metrics for partitions = no + # bandwidth for all disks = auto + # operations for all disks = auto + # merged operations for all disks = auto + # i/o time for all disks = auto + # queued operations for all disks = auto + # utilization percentage for all disks = auto + # backlog for all disks = auto + # filename to monitor = /proc/diskstats + # path to get block device infos = /sys/dev/block/%lu:%lu/%s + # path to get h/w sector size = /sys/block/%s/queue/hw_sector_size + # path to get h/w sector size for partitions = /sys/dev/block/%lu:%lu/subsystem/%s/../queue/hw_sector_size + # exclude disks = loop* ram* + # performance metrics for disks with major 8 = yes + # performance metrics for disks with major 252 = yes + +[plugin:proc:/proc/diskstats:ram0] + # enable = no + +[plugin:proc:/proc/diskstats:ram1] + # enable = no + +[plugin:proc:/proc/diskstats:ram2] + # enable = no + +[plugin:proc:/proc/diskstats:ram3] + # enable = no + +[plugin:proc:/proc/diskstats:ram4] + # enable = no + +[plugin:proc:/proc/diskstats:ram5] + # enable = no + +[plugin:proc:/proc/diskstats:ram6] + # enable = no + +[plugin:proc:/proc/diskstats:ram7] + # enable = no + +[plugin:proc:/proc/diskstats:ram8] + # enable = no + +[plugin:proc:/proc/diskstats:ram9] + # enable = no + +[plugin:proc:/proc/diskstats:ram10] + # enable = no + +[plugin:proc:/proc/diskstats:ram11] + # enable = no + +[plugin:proc:/proc/diskstats:ram12] + # enable = no + +[plugin:proc:/proc/diskstats:ram13] + # enable = no + +[plugin:proc:/proc/diskstats:ram14] + # enable = no + +[plugin:proc:/proc/diskstats:ram15] + # enable = no + +[plugin:proc:/proc/diskstats:loop0] + # enable = no + +[plugin:proc:/proc/diskstats:loop1] + # enable = no + +[plugin:proc:/proc/diskstats:loop2] + # enable = no + +[plugin:proc:/proc/diskstats:loop3] + # enable = no + +[plugin:proc:/proc/diskstats:loop4] + # enable = no + +[plugin:proc:/proc/diskstats:loop5] + # enable = no + +[plugin:proc:/proc/diskstats:loop6] + # enable = no + +[plugin:proc:/proc/diskstats:loop7] + # enable = no + +[plugin:proc:/proc/diskstats:sda] + # enable = yes + # enable performance metrics = yes + # bandwidth = auto + # operations = auto + # merged operations = auto + # i/o time = auto + # queued operations = auto + # utilization percentage = auto + # backlog = auto + +[plugin:proc:/proc/diskstats:sda1] + # enable = yes + # enable performance metrics = no + # bandwidth = no + # operations = no + # merged operations = no + # i/o time = no + # queued operations = no + # utilization percentage = no + # backlog = no + +[plugin:proc:/proc/diskstats:sda2] + # enable = yes + # enable performance metrics = no + # bandwidth = no + # operations = no + # merged operations = no + # i/o time = no + # queued operations = no + # utilization percentage = no + # backlog = no + +[plugin:proc:/proc/diskstats:sda5] + # enable = yes + # enable performance metrics = no + # bandwidth = no + # operations = no + # merged operations = no + # i/o time = no + # queued operations = no + # utilization percentage = no + # backlog = no + +[plugin:proc:/proc/diskstats:dm-0] + # enable = yes + # enable performance metrics = yes + # bandwidth = auto + # operations = auto + # merged operations = auto + # i/o time = auto + # queued operations = auto + # utilization percentage = auto + # backlog = auto + +[plugin:proc:/proc/diskstats:dm-1] + # enable = yes + # enable performance metrics = yes + # bandwidth = auto + # operations = auto + # merged operations = auto + # i/o time = auto + # queued operations = auto + # utilization percentage = auto + # backlog = auto + +[plugin:proc:/proc/net/rpc/nfsd] + # filename to monitor = /proc/net/rpc/nfsd + +[plugin:proc:/proc/net/rpc/nfs] + # filename to monitor = /proc/net/rpc/nfs + +[plugin:proc:/proc/spl/kstat/zfs/arcstats] + # filename to monitor = /proc/spl/kstat/zfs/arcstats + + +# per chart configuration + +[system.idlejitter] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.idlejitter + # chart type = area + # type = system + # family = processes + # units = microseconds lost/s + # context = system.idlejitter + # priority = 9999 + # gap when lost iterations above = 1 + # name = system.idlejitter + # title = CPU Idle Jitter (system.idlejitter) + # dim min name = min + # dim min algorithm = absolute + # dim min multiplier = 1 + # dim min divisor = 1 + # dim max name = max + # dim max algorithm = absolute + # dim max multiplier = 1 + # dim max divisor = 1 + # dim average name = average + # dim average algorithm = absolute + # dim average multiplier = 1 + # dim average divisor = 1 + +[system.cpu] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.cpu + # chart type = stacked + # type = system + # family = cpu + # units = percentage + # context = system.cpu + # priority = 100 + # gap when lost iterations above = 1 + # name = system.cpu + # title = Total CPU utilization (system.cpu) + # dim guest_nice name = guest_nice + # dim guest_nice algorithm = percentage-of-incremental-row + # dim guest_nice multiplier = 1 + # dim guest_nice divisor = 1 + # dim guest name = guest + # dim guest algorithm = percentage-of-incremental-row + # dim guest multiplier = 1 + # dim guest divisor = 1 + # dim steal name = steal + # dim steal algorithm = percentage-of-incremental-row + # dim steal multiplier = 1 + # dim steal divisor = 1 + # dim softirq name = softirq + # dim softirq algorithm = percentage-of-incremental-row + # dim softirq multiplier = 1 + # dim softirq divisor = 1 + # dim irq name = irq + # dim irq algorithm = percentage-of-incremental-row + # dim irq multiplier = 1 + # dim irq divisor = 1 + # dim user name = user + # dim user algorithm = percentage-of-incremental-row + # dim user multiplier = 1 + # dim user divisor = 1 + # dim system name = system + # dim system algorithm = percentage-of-incremental-row + # dim system multiplier = 1 + # dim system divisor = 1 + # dim nice name = nice + # dim nice algorithm = percentage-of-incremental-row + # dim nice multiplier = 1 + # dim nice divisor = 1 + # dim iowait name = iowait + # dim iowait algorithm = percentage-of-incremental-row + # dim iowait multiplier = 1 + # dim iowait divisor = 1 + # dim idle name = idle + # dim idle algorithm = percentage-of-incremental-row + # dim idle multiplier = 1 + # dim idle divisor = 1 + +[cpu.cpu0] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/cpu.cpu0 + # chart type = stacked + # type = cpu + # family = utilization + # units = percentage + # context = cpu.cpu + # priority = 1000 + # gap when lost iterations above = 1 + # name = cpu.cpu0 + # title = Core utilization (cpu.cpu0) + # dim guest_nice name = guest_nice + # dim guest_nice algorithm = percentage-of-incremental-row + # dim guest_nice multiplier = 1 + # dim guest_nice divisor = 1 + # dim guest name = guest + # dim guest algorithm = percentage-of-incremental-row + # dim guest multiplier = 1 + # dim guest divisor = 1 + # dim steal name = steal + # dim steal algorithm = percentage-of-incremental-row + # dim steal multiplier = 1 + # dim steal divisor = 1 + # dim softirq name = softirq + # dim softirq algorithm = percentage-of-incremental-row + # dim softirq multiplier = 1 + # dim softirq divisor = 1 + # dim irq name = irq + # dim irq algorithm = percentage-of-incremental-row + # dim irq multiplier = 1 + # dim irq divisor = 1 + # dim user name = user + # dim user algorithm = percentage-of-incremental-row + # dim user multiplier = 1 + # dim user divisor = 1 + # dim system name = system + # dim system algorithm = percentage-of-incremental-row + # dim system multiplier = 1 + # dim system divisor = 1 + # dim nice name = nice + # dim nice algorithm = percentage-of-incremental-row + # dim nice multiplier = 1 + # dim nice divisor = 1 + # dim iowait name = iowait + # dim iowait algorithm = percentage-of-incremental-row + # dim iowait multiplier = 1 + # dim iowait divisor = 1 + # dim idle name = idle + # dim idle algorithm = percentage-of-incremental-row + # dim idle multiplier = 1 + # dim idle divisor = 1 + +[system.intr] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.intr + # chart type = line + # type = system + # family = interrupts + # units = interrupts/s + # context = system.intr + # priority = 900 + # gap when lost iterations above = 1 + # name = system.intr + # title = CPU Interrupts (system.intr) + # dim interrupts name = interrupts + # dim interrupts algorithm = incremental + # dim interrupts multiplier = 1 + # dim interrupts divisor = 1 + +[system.ctxt] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.ctxt + # chart type = line + # type = system + # family = processes + # units = context switches/s + # context = system.ctxt + # priority = 800 + # gap when lost iterations above = 1 + # name = system.ctxt + # title = CPU Context Switches (system.ctxt) + # dim switches name = switches + # dim switches algorithm = incremental + # dim switches multiplier = 1 + # dim switches divisor = 1 + +[system.forks] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.forks + # chart type = line + # type = system + # family = processes + # units = processes/s + # context = system.forks + # priority = 700 + # gap when lost iterations above = 1 + # name = system.forks + # title = Started Processes (system.forks) + # dim started name = started + # dim started algorithm = incremental + # dim started multiplier = 1 + # dim started divisor = 1 + +[system.processes] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.processes + # chart type = line + # type = system + # family = processes + # units = processes + # context = system.processes + # priority = 600 + # gap when lost iterations above = 1 + # name = system.processes + # title = System Processes (system.processes) + # dim running name = running + # dim running algorithm = absolute + # dim running multiplier = 1 + # dim running divisor = 1 + # dim blocked name = blocked + # dim blocked algorithm = absolute + # dim blocked multiplier = -1 + # dim blocked divisor = 1 + +[system.uptime] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.uptime + # chart type = line + # type = system + # family = uptime + # units = seconds + # context = system.uptime + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.uptime + # title = System Uptime (system.uptime) + # dim uptime name = uptime + # dim uptime algorithm = absolute + # dim uptime multiplier = 1 + # dim uptime divisor = 1000 + +[system.load] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.load + # chart type = line + # type = system + # family = load + # units = load + # context = system.load + # priority = 100 + # gap when lost iterations above = 1 + # name = system.load + # title = System Load Average (system.load) + # dim load1 name = load1 + # dim load1 algorithm = absolute + # dim load1 multiplier = 1 + # dim load1 divisor = 1000 + # dim load5 name = load5 + # dim load5 algorithm = absolute + # dim load5 multiplier = 1 + # dim load5 divisor = 1000 + # dim load15 name = load15 + # dim load15 algorithm = absolute + # dim load15 multiplier = 1 + # dim load15 divisor = 1000 + +[system.active_processes] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.active_processes + # chart type = line + # type = system + # family = processes + # units = processes + # context = system.active_processes + # priority = 750 + # gap when lost iterations above = 1 + # name = system.active_processes + # title = System Active Processes (system.active_processes) + # dim active name = active + # dim active algorithm = absolute + # dim active multiplier = 1 + # dim active divisor = 1 + +[system.entropy] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.entropy + # chart type = line + # type = system + # family = entropy + # units = entropy + # context = system.entropy + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.entropy + # title = Available Entropy (system.entropy) + # dim entropy name = entropy + # dim entropy algorithm = absolute + # dim entropy multiplier = 1 + # dim entropy divisor = 1 + +[disk_space._dev] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_space._dev + # chart type = stacked + # type = disk_space + # family = /dev + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._dev + # title = Disk Space Usage for /dev [udev] (disk_space._dev) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 4096 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 4096 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 4096 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes._dev] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_inodes._dev + # chart type = stacked + # type = disk_inodes + # family = /dev + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._dev + # title = Disk Files (inodes) Usage for /dev [udev] (disk_inodes._dev) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space._run] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_space._run + # chart type = stacked + # type = disk_space + # family = /run + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._run + # title = Disk Space Usage for /run [tmpfs] (disk_space._run) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 4096 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 4096 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 4096 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes._run] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_inodes._run + # chart type = stacked + # type = disk_inodes + # family = /run + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._run + # title = Disk Files (inodes) Usage for /run [tmpfs] (disk_inodes._run) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space._] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_space._ + # chart type = stacked + # type = disk_space + # family = / + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._ + # title = Disk Space Usage for / [/dev/mapper/vagrant--vg-root] (disk_space._) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 4096 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 4096 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 4096 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes._] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_inodes._ + # chart type = stacked + # type = disk_inodes + # family = / + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._ + # title = Disk Files (inodes) Usage for / [/dev/mapper/vagrant--vg-root] (disk_inodes._) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space._dev_shm] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_space._dev_shm + # chart type = stacked + # type = disk_space + # family = /dev/shm + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._dev_shm + # title = Disk Space Usage for /dev/shm [tmpfs] (disk_space._dev_shm) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 4096 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 4096 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 4096 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes._dev_shm] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_inodes._dev_shm + # chart type = stacked + # type = disk_inodes + # family = /dev/shm + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._dev_shm + # title = Disk Files (inodes) Usage for /dev/shm [tmpfs] (disk_inodes._dev_shm) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space._run_lock] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_space._run_lock + # chart type = stacked + # type = disk_space + # family = /run/lock + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._run_lock + # title = Disk Space Usage for /run/lock [tmpfs] (disk_space._run_lock) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 4096 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 4096 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 4096 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes._run_lock] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_inodes._run_lock + # chart type = stacked + # type = disk_inodes + # family = /run/lock + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._run_lock + # title = Disk Files (inodes) Usage for /run/lock [tmpfs] (disk_inodes._run_lock) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space._boot] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_space._boot + # chart type = stacked + # type = disk_space + # family = /boot + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._boot + # title = Disk Space Usage for /boot [/dev/sda1] (disk_space._boot) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1024 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1024 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1024 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes._boot] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_inodes._boot + # chart type = stacked + # type = disk_inodes + # family = /boot + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._boot + # title = Disk Files (inodes) Usage for /boot [/dev/sda1] (disk_inodes._boot) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[netdata.plugin_cgroups_cpu] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.plugin_cgroups_cpu + # chart type = stacked + # type = netdata + # family = cgroups + # units = milliseconds/s + # context = netdata.plugin_cgroups_cpu + # priority = 132000 + # gap when lost iterations above = 1 + # name = netdata.plugin_cgroups_cpu + # title = NetData CGroups Plugin CPU usage (netdata.plugin_cgroups_cpu) + # dim user name = user + # dim user algorithm = incremental + # dim user multiplier = 1 + # dim user divisor = 1000 + # dim system name = system + # dim system algorithm = incremental + # dim system multiplier = 1 + # dim system divisor = 1000 + +[system.interrupts] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.interrupts + # chart type = stacked + # type = system + # family = interrupts + # units = interrupts/s + # context = system.interrupts + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.interrupts + # title = System interrupts (system.interrupts) + # dim 0 name = timer_0 + # dim 0 algorithm = incremental + # dim 0 multiplier = 1 + # dim 0 divisor = 1 + # dim 1 name = i8042_1 + # dim 1 algorithm = incremental + # dim 1 multiplier = 1 + # dim 1 divisor = 1 + # dim 8 name = rtc0_8 + # dim 8 algorithm = incremental + # dim 8 multiplier = 1 + # dim 8 divisor = 1 + # dim 9 name = acpi_9 + # dim 9 algorithm = incremental + # dim 9 multiplier = 1 + # dim 9 divisor = 1 + # dim 12 name = i8042_12 + # dim 12 algorithm = incremental + # dim 12 multiplier = 1 + # dim 12 divisor = 1 + # dim 14 name = ata_piix_14 + # dim 14 algorithm = incremental + # dim 14 multiplier = 1 + # dim 14 divisor = 1 + # dim 15 name = ata_piix_15 + # dim 15 algorithm = incremental + # dim 15 multiplier = 1 + # dim 15 divisor = 1 + # dim 16 name = enp0s8_16 + # dim 16 algorithm = incremental + # dim 16 multiplier = 1 + # dim 16 divisor = 1 + # dim 18 name = vboxvideo_18 + # dim 18 algorithm = incremental + # dim 18 multiplier = 1 + # dim 18 divisor = 1 + # dim 19 name = enp0s3_19 + # dim 19 algorithm = incremental + # dim 19 multiplier = 1 + # dim 19 divisor = 1 + # dim 20 name = vboxguest_20 + # dim 20 algorithm = incremental + # dim 20 multiplier = 1 + # dim 20 divisor = 1 + # dim 21 name = snd_intel8x0_21 + # dim 21 algorithm = incremental + # dim 21 multiplier = 1 + # dim 21 divisor = 1 + # dim NMI name = NMI + # dim NMI algorithm = incremental + # dim NMI multiplier = 1 + # dim NMI divisor = 1 + # dim LOC name = LOC + # dim LOC algorithm = incremental + # dim LOC multiplier = 1 + # dim LOC divisor = 1 + # dim SPU name = SPU + # dim SPU algorithm = incremental + # dim SPU multiplier = 1 + # dim SPU divisor = 1 + # dim PMI name = PMI + # dim PMI algorithm = incremental + # dim PMI multiplier = 1 + # dim PMI divisor = 1 + # dim IWI name = IWI + # dim IWI algorithm = incremental + # dim IWI multiplier = 1 + # dim IWI divisor = 1 + # dim RTR name = RTR + # dim RTR algorithm = incremental + # dim RTR multiplier = 1 + # dim RTR divisor = 1 + # dim RES name = RES + # dim RES algorithm = incremental + # dim RES multiplier = 1 + # dim RES divisor = 1 + # dim CAL name = CAL + # dim CAL algorithm = incremental + # dim CAL multiplier = 1 + # dim CAL divisor = 1 + # dim TLB name = TLB + # dim TLB algorithm = incremental + # dim TLB multiplier = 1 + # dim TLB divisor = 1 + # dim TRM name = TRM + # dim TRM algorithm = incremental + # dim TRM multiplier = 1 + # dim TRM divisor = 1 + # dim THR name = THR + # dim THR algorithm = incremental + # dim THR multiplier = 1 + # dim THR divisor = 1 + # dim DFR name = DFR + # dim DFR algorithm = incremental + # dim DFR multiplier = 1 + # dim DFR divisor = 1 + # dim MCE name = MCE + # dim MCE algorithm = incremental + # dim MCE multiplier = 1 + # dim MCE divisor = 1 + # dim MCP name = MCP + # dim MCP algorithm = incremental + # dim MCP multiplier = 1 + # dim MCP divisor = 1 + # dim ERR name = ERR + # dim ERR algorithm = incremental + # dim ERR multiplier = 1 + # dim ERR divisor = 1 + # dim MIS name = MIS + # dim MIS algorithm = incremental + # dim MIS multiplier = 1 + # dim MIS divisor = 1 + # dim PIN name = PIN + # dim PIN algorithm = incremental + # dim PIN multiplier = 1 + # dim PIN divisor = 1 + # dim PIW name = PIW + # dim PIW algorithm = incremental + # dim PIW multiplier = 1 + # dim PIW divisor = 1 + +[cpu.cpu0_interrupts] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/cpu.cpu0_interrupts + # chart type = stacked + # type = cpu + # family = interrupts + # units = interrupts/s + # context = cpu.interrupts + # priority = 1100 + # gap when lost iterations above = 1 + # name = cpu.cpu0_interrupts + # title = CPU0 Interrupts (cpu.cpu0_interrupts) + # dim 0 name = timer_0 + # dim 0 algorithm = incremental + # dim 0 multiplier = 1 + # dim 0 divisor = 1 + # dim 1 name = i8042_1 + # dim 1 algorithm = incremental + # dim 1 multiplier = 1 + # dim 1 divisor = 1 + # dim 8 name = rtc0_8 + # dim 8 algorithm = incremental + # dim 8 multiplier = 1 + # dim 8 divisor = 1 + # dim 9 name = acpi_9 + # dim 9 algorithm = incremental + # dim 9 multiplier = 1 + # dim 9 divisor = 1 + # dim 12 name = i8042_12 + # dim 12 algorithm = incremental + # dim 12 multiplier = 1 + # dim 12 divisor = 1 + # dim 14 name = ata_piix_14 + # dim 14 algorithm = incremental + # dim 14 multiplier = 1 + # dim 14 divisor = 1 + # dim 15 name = ata_piix_15 + # dim 15 algorithm = incremental + # dim 15 multiplier = 1 + # dim 15 divisor = 1 + # dim 16 name = enp0s8_16 + # dim 16 algorithm = incremental + # dim 16 multiplier = 1 + # dim 16 divisor = 1 + # dim 18 name = vboxvideo_18 + # dim 18 algorithm = incremental + # dim 18 multiplier = 1 + # dim 18 divisor = 1 + # dim 19 name = enp0s3_19 + # dim 19 algorithm = incremental + # dim 19 multiplier = 1 + # dim 19 divisor = 1 + # dim 20 name = vboxguest_20 + # dim 20 algorithm = incremental + # dim 20 multiplier = 1 + # dim 20 divisor = 1 + # dim 21 name = snd_intel8x0_21 + # dim 21 algorithm = incremental + # dim 21 multiplier = 1 + # dim 21 divisor = 1 + # dim NMI name = NMI + # dim NMI algorithm = incremental + # dim NMI multiplier = 1 + # dim NMI divisor = 1 + # dim LOC name = LOC + # dim LOC algorithm = incremental + # dim LOC multiplier = 1 + # dim LOC divisor = 1 + # dim SPU name = SPU + # dim SPU algorithm = incremental + # dim SPU multiplier = 1 + # dim SPU divisor = 1 + # dim PMI name = PMI + # dim PMI algorithm = incremental + # dim PMI multiplier = 1 + # dim PMI divisor = 1 + # dim IWI name = IWI + # dim IWI algorithm = incremental + # dim IWI multiplier = 1 + # dim IWI divisor = 1 + # dim RTR name = RTR + # dim RTR algorithm = incremental + # dim RTR multiplier = 1 + # dim RTR divisor = 1 + # dim RES name = RES + # dim RES algorithm = incremental + # dim RES multiplier = 1 + # dim RES divisor = 1 + # dim CAL name = CAL + # dim CAL algorithm = incremental + # dim CAL multiplier = 1 + # dim CAL divisor = 1 + # dim TLB name = TLB + # dim TLB algorithm = incremental + # dim TLB multiplier = 1 + # dim TLB divisor = 1 + # dim TRM name = TRM + # dim TRM algorithm = incremental + # dim TRM multiplier = 1 + # dim TRM divisor = 1 + # dim THR name = THR + # dim THR algorithm = incremental + # dim THR multiplier = 1 + # dim THR divisor = 1 + # dim DFR name = DFR + # dim DFR algorithm = incremental + # dim DFR multiplier = 1 + # dim DFR divisor = 1 + # dim MCE name = MCE + # dim MCE algorithm = incremental + # dim MCE multiplier = 1 + # dim MCE divisor = 1 + # dim MCP name = MCP + # dim MCP algorithm = incremental + # dim MCP multiplier = 1 + # dim MCP divisor = 1 + # dim ERR name = ERR + # dim ERR algorithm = incremental + # dim ERR multiplier = 1 + # dim ERR divisor = 1 + # dim MIS name = MIS + # dim MIS algorithm = incremental + # dim MIS multiplier = 1 + # dim MIS divisor = 1 + # dim PIN name = PIN + # dim PIN algorithm = incremental + # dim PIN multiplier = 1 + # dim PIN divisor = 1 + # dim PIW name = PIW + # dim PIW algorithm = incremental + # dim PIW multiplier = 1 + # dim PIW divisor = 1 + +[system.softirqs] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.softirqs + # chart type = stacked + # type = system + # family = softirqs + # units = softirqs/s + # context = system.softirqs + # priority = 950 + # gap when lost iterations above = 1 + # name = system.softirqs + # title = System softirqs (system.softirqs) + # dim HI name = HI + # dim HI algorithm = incremental + # dim HI multiplier = 1 + # dim HI divisor = 1 + # dim TIMER name = TIMER + # dim TIMER algorithm = incremental + # dim TIMER multiplier = 1 + # dim TIMER divisor = 1 + # dim NET_TX name = NET_TX + # dim NET_TX algorithm = incremental + # dim NET_TX multiplier = 1 + # dim NET_TX divisor = 1 + # dim NET_RX name = NET_RX + # dim NET_RX algorithm = incremental + # dim NET_RX multiplier = 1 + # dim NET_RX divisor = 1 + # dim BLOCK name = BLOCK + # dim BLOCK algorithm = incremental + # dim BLOCK multiplier = 1 + # dim BLOCK divisor = 1 + # dim BLOCK_IOPOLL name = BLOCK_IOPOLL + # dim BLOCK_IOPOLL algorithm = incremental + # dim BLOCK_IOPOLL multiplier = 1 + # dim BLOCK_IOPOLL divisor = 1 + # dim TASKLET name = TASKLET + # dim TASKLET algorithm = incremental + # dim TASKLET multiplier = 1 + # dim TASKLET divisor = 1 + # dim SCHED name = SCHED + # dim SCHED algorithm = incremental + # dim SCHED multiplier = 1 + # dim SCHED divisor = 1 + # dim HRTIMER name = HRTIMER + # dim HRTIMER algorithm = incremental + # dim HRTIMER multiplier = 1 + # dim HRTIMER divisor = 1 + # dim RCU name = RCU + # dim RCU algorithm = incremental + # dim RCU multiplier = 1 + # dim RCU divisor = 1 + +[cpu.cpu0_softirqs] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/cpu.cpu0_softirqs + # chart type = stacked + # type = cpu + # family = softirqs + # units = softirqs/s + # context = cpu.softirqs + # priority = 3000 + # gap when lost iterations above = 1 + # name = cpu.cpu0_softirqs + # title = CPU0 softirqs (cpu.cpu0_softirqs) + # dim HI name = HI + # dim HI algorithm = incremental + # dim HI multiplier = 1 + # dim HI divisor = 1 + # dim TIMER name = TIMER + # dim TIMER algorithm = incremental + # dim TIMER multiplier = 1 + # dim TIMER divisor = 1 + # dim NET_TX name = NET_TX + # dim NET_TX algorithm = incremental + # dim NET_TX multiplier = 1 + # dim NET_TX divisor = 1 + # dim NET_RX name = NET_RX + # dim NET_RX algorithm = incremental + # dim NET_RX multiplier = 1 + # dim NET_RX divisor = 1 + # dim BLOCK name = BLOCK + # dim BLOCK algorithm = incremental + # dim BLOCK multiplier = 1 + # dim BLOCK divisor = 1 + # dim BLOCK_IOPOLL name = BLOCK_IOPOLL + # dim BLOCK_IOPOLL algorithm = incremental + # dim BLOCK_IOPOLL multiplier = 1 + # dim BLOCK_IOPOLL divisor = 1 + # dim TASKLET name = TASKLET + # dim TASKLET algorithm = incremental + # dim TASKLET multiplier = 1 + # dim TASKLET divisor = 1 + # dim SCHED name = SCHED + # dim SCHED algorithm = incremental + # dim SCHED multiplier = 1 + # dim SCHED divisor = 1 + # dim HRTIMER name = HRTIMER + # dim HRTIMER algorithm = incremental + # dim HRTIMER multiplier = 1 + # dim HRTIMER divisor = 1 + # dim RCU name = RCU + # dim RCU algorithm = incremental + # dim RCU multiplier = 1 + # dim RCU divisor = 1 + +[system.swapio] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.swapio + # chart type = area + # type = system + # family = swap + # units = kilobytes/s + # context = system.swapio + # priority = 250 + # gap when lost iterations above = 1 + # name = system.swapio + # title = Swap I/O (system.swapio) + # dim in name = in + # dim in algorithm = incremental + # dim in multiplier = 4096 + # dim in divisor = 1024 + # dim out name = out + # dim out algorithm = incremental + # dim out multiplier = -4096 + # dim out divisor = 1024 + +[system.io] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.io + # chart type = area + # type = system + # family = disk + # units = kilobytes/s + # context = system.io + # priority = 150 + # gap when lost iterations above = 1 + # name = system.io + # title = Disk I/O (system.io) + # dim in name = in + # dim in algorithm = incremental + # dim in multiplier = 1 + # dim in divisor = 1 + # dim out name = out + # dim out algorithm = incremental + # dim out multiplier = -1 + # dim out divisor = 1 + +[mem.pgfaults] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/mem.pgfaults + # chart type = line + # type = mem + # family = system + # units = page faults/s + # context = mem.pgfaults + # priority = 500 + # gap when lost iterations above = 1 + # name = mem.pgfaults + # title = Memory Page Faults (mem.pgfaults) + # dim minor name = minor + # dim minor algorithm = incremental + # dim minor multiplier = 1 + # dim minor divisor = 1 + # dim major name = major + # dim major algorithm = incremental + # dim major multiplier = -1 + # dim major divisor = 1 + +[system.ram] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.ram + # chart type = stacked + # type = system + # family = ram + # units = MB + # context = system.ram + # priority = 200 + # gap when lost iterations above = 1 + # name = system.ram + # title = System RAM (system.ram) + # dim free name = free + # dim free algorithm = absolute + # dim free multiplier = 1 + # dim free divisor = 1024 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1024 + # dim cached name = cached + # dim cached algorithm = absolute + # dim cached multiplier = 1 + # dim cached divisor = 1024 + # dim buffers name = buffers + # dim buffers algorithm = absolute + # dim buffers multiplier = 1 + # dim buffers divisor = 1024 + +[system.swap] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.swap + # chart type = stacked + # type = system + # family = swap + # units = MB + # context = system.swap + # priority = 201 + # gap when lost iterations above = 1 + # name = system.swap + # title = System Swap (system.swap) + # dim free name = free + # dim free algorithm = absolute + # dim free multiplier = 1 + # dim free divisor = 1024 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1024 + +[mem.committed] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/mem.committed + # chart type = area + # type = mem + # family = system + # units = MB + # context = mem.committed + # priority = 5000 + # gap when lost iterations above = 1 + # name = mem.committed + # title = Committed (Allocated) Memory (mem.committed) + # dim Committed_AS name = Committed_AS + # dim Committed_AS algorithm = absolute + # dim Committed_AS multiplier = 1 + # dim Committed_AS divisor = 1024 + +[mem.writeback] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/mem.writeback + # chart type = line + # type = mem + # family = kernel + # units = MB + # context = mem.writeback + # priority = 4000 + # gap when lost iterations above = 1 + # name = mem.writeback + # title = Writeback Memory (mem.writeback) + # dim Dirty name = Dirty + # dim Dirty algorithm = absolute + # dim Dirty multiplier = 1 + # dim Dirty divisor = 1024 + # dim Writeback name = Writeback + # dim Writeback algorithm = absolute + # dim Writeback multiplier = 1 + # dim Writeback divisor = 1024 + # dim FuseWriteback name = FuseWriteback + # dim FuseWriteback algorithm = absolute + # dim FuseWriteback multiplier = 1 + # dim FuseWriteback divisor = 1024 + # dim NfsWriteback name = NfsWriteback + # dim NfsWriteback algorithm = absolute + # dim NfsWriteback multiplier = 1 + # dim NfsWriteback divisor = 1024 + # dim Bounce name = Bounce + # dim Bounce algorithm = absolute + # dim Bounce multiplier = 1 + # dim Bounce divisor = 1024 + +[mem.kernel] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/mem.kernel + # chart type = stacked + # type = mem + # family = kernel + # units = MB + # context = mem.kernel + # priority = 6000 + # gap when lost iterations above = 1 + # name = mem.kernel + # title = Memory Used by Kernel (mem.kernel) + # dim Slab name = Slab + # dim Slab algorithm = absolute + # dim Slab multiplier = 1 + # dim Slab divisor = 1024 + # dim KernelStack name = KernelStack + # dim KernelStack algorithm = absolute + # dim KernelStack multiplier = 1 + # dim KernelStack divisor = 1024 + # dim PageTables name = PageTables + # dim PageTables algorithm = absolute + # dim PageTables multiplier = 1 + # dim PageTables divisor = 1024 + # dim VmallocUsed name = VmallocUsed + # dim VmallocUsed algorithm = absolute + # dim VmallocUsed multiplier = 1 + # dim VmallocUsed divisor = 1024 + +[mem.slab] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/mem.slab + # chart type = stacked + # type = mem + # family = slab + # units = MB + # context = mem.slab + # priority = 6500 + # gap when lost iterations above = 1 + # name = mem.slab + # title = Reclaimable Kernel Memory (mem.slab) + # dim reclaimable name = reclaimable + # dim reclaimable algorithm = absolute + # dim reclaimable multiplier = 1 + # dim reclaimable divisor = 1024 + # dim unreclaimable name = unreclaimable + # dim unreclaimable algorithm = absolute + # dim unreclaimable multiplier = 1 + # dim unreclaimable divisor = 1024 + +[net.enp0s8] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/net.enp0s8 + # chart type = area + # type = net + # family = enp0s8 + # units = kilobits/s + # context = net.net + # priority = 7000 + # gap when lost iterations above = 1 + # name = net.enp0s8 + # title = Bandwidth (net.enp0s8) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 8 + # dim received divisor = 1024 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -8 + # dim sent divisor = 1024 + +[net_packets.enp0s8] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/net_packets.enp0s8 + # chart type = line + # type = net_packets + # family = enp0s8 + # units = packets/s + # context = net.packets + # priority = 7001 + # gap when lost iterations above = 1 + # name = net_packets.enp0s8 + # title = Packets (net_packets.enp0s8) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + # dim multicast name = multicast + # dim multicast algorithm = incremental + # dim multicast multiplier = 1 + # dim multicast divisor = 1 + +[net.enp0s3] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/net.enp0s3 + # chart type = area + # type = net + # family = enp0s3 + # units = kilobits/s + # context = net.net + # priority = 7000 + # gap when lost iterations above = 1 + # name = net.enp0s3 + # title = Bandwidth (net.enp0s3) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 8 + # dim received divisor = 1024 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -8 + # dim sent divisor = 1024 + +[net_packets.enp0s3] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/net_packets.enp0s3 + # chart type = line + # type = net_packets + # family = enp0s3 + # units = packets/s + # context = net.packets + # priority = 7001 + # gap when lost iterations above = 1 + # name = net_packets.enp0s3 + # title = Packets (net_packets.enp0s3) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + # dim multicast name = multicast + # dim multicast algorithm = incremental + # dim multicast multiplier = 1 + # dim multicast divisor = 1 + +[system.ipv4] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.ipv4 + # chart type = area + # type = system + # family = network + # units = kilobits/s + # context = system.ipv4 + # priority = 500 + # gap when lost iterations above = 1 + # name = system.ipv4 + # title = IPv4 Bandwidth (system.ipv4) + # dim InOctets name = received + # dim InOctets algorithm = incremental + # dim InOctets multiplier = 8 + # dim InOctets divisor = 1024 + # dim OutOctets name = sent + # dim OutOctets algorithm = incremental + # dim OutOctets multiplier = -8 + # dim OutOctets divisor = 1024 + +[ipv4.bcast] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.bcast + # chart type = area + # type = ipv4 + # family = broadcast + # units = kilobits/s + # context = ipv4.bcast + # priority = 8000 + # gap when lost iterations above = 1 + # name = ipv4.bcast + # title = IPv4 Broadcast Bandwidth (ipv4.bcast) + # dim InBcastOctets name = received + # dim InBcastOctets algorithm = incremental + # dim InBcastOctets multiplier = 8 + # dim InBcastOctets divisor = 1024 + # dim OutBcastOctets name = sent + # dim OutBcastOctets algorithm = incremental + # dim OutBcastOctets multiplier = -8 + # dim OutBcastOctets divisor = 1024 + +[ipv4.bcastpkts] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.bcastpkts + # chart type = line + # type = ipv4 + # family = broadcast + # units = packets/s + # context = ipv4.bcastpkts + # priority = 8500 + # gap when lost iterations above = 1 + # name = ipv4.bcastpkts + # title = IPv4 Broadcast Packets (ipv4.bcastpkts) + # dim InBcastPkts name = received + # dim InBcastPkts algorithm = incremental + # dim InBcastPkts multiplier = 1 + # dim InBcastPkts divisor = 1 + # dim OutBcastPkts name = sent + # dim OutBcastPkts algorithm = incremental + # dim OutBcastPkts multiplier = -1 + # dim OutBcastPkts divisor = 1 + +[ipv4.ecnpkts] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.ecnpkts + # chart type = line + # type = ipv4 + # family = ecn + # units = packets/s + # context = ipv4.ecnpkts + # priority = 8700 + # gap when lost iterations above = 1 + # name = ipv4.ecnpkts + # title = IPv4 ECN Statistics (ipv4.ecnpkts) + # dim InCEPkts name = CEP + # dim InCEPkts algorithm = incremental + # dim InCEPkts multiplier = 1 + # dim InCEPkts divisor = 1 + # dim InNoECTPkts name = NoECTP + # dim InNoECTPkts algorithm = incremental + # dim InNoECTPkts multiplier = -1 + # dim InNoECTPkts divisor = 1 + # dim InECT0Pkts name = ECTP0 + # dim InECT0Pkts algorithm = incremental + # dim InECT0Pkts multiplier = 1 + # dim InECT0Pkts divisor = 1 + # dim InECT1Pkts name = ECTP1 + # dim InECT1Pkts algorithm = incremental + # dim InECT1Pkts multiplier = 1 + # dim InECT1Pkts divisor = 1 + +[ipv4.packets] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.packets + # chart type = line + # type = ipv4 + # family = packets + # units = packets/s + # context = ipv4.packets + # priority = 3000 + # gap when lost iterations above = 1 + # name = ipv4.packets + # title = IPv4 Packets (ipv4.packets) + # dim InReceives name = received + # dim InReceives algorithm = incremental + # dim InReceives multiplier = 1 + # dim InReceives divisor = 1 + # dim OutRequests name = sent + # dim OutRequests algorithm = incremental + # dim OutRequests multiplier = -1 + # dim OutRequests divisor = 1 + # dim ForwDatagrams name = forwarded + # dim ForwDatagrams algorithm = incremental + # dim ForwDatagrams multiplier = 1 + # dim ForwDatagrams divisor = 1 + # dim InDelivers name = delivered + # dim InDelivers algorithm = incremental + # dim InDelivers multiplier = 1 + # dim InDelivers divisor = 1 + +[ipv4.fragsout] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.fragsout + # chart type = line + # type = ipv4 + # family = fragments + # units = packets/s + # context = ipv4.fragsout + # priority = 3010 + # gap when lost iterations above = 1 + # name = ipv4.fragsout + # title = IPv4 Fragments Sent (ipv4.fragsout) + # dim FragOKs name = ok + # dim FragOKs algorithm = incremental + # dim FragOKs multiplier = 1 + # dim FragOKs divisor = 1 + # dim FragFails name = failed + # dim FragFails algorithm = incremental + # dim FragFails multiplier = -1 + # dim FragFails divisor = 1 + # dim FragCreates name = created + # dim FragCreates algorithm = incremental + # dim FragCreates multiplier = 1 + # dim FragCreates divisor = 1 + +[ipv4.fragsin] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.fragsin + # chart type = line + # type = ipv4 + # family = fragments + # units = packets/s + # context = ipv4.fragsin + # priority = 3011 + # gap when lost iterations above = 1 + # name = ipv4.fragsin + # title = IPv4 Fragments Reassembly (ipv4.fragsin) + # dim ReasmOKs name = ok + # dim ReasmOKs algorithm = incremental + # dim ReasmOKs multiplier = 1 + # dim ReasmOKs divisor = 1 + # dim ReasmFails name = failed + # dim ReasmFails algorithm = incremental + # dim ReasmFails multiplier = -1 + # dim ReasmFails divisor = 1 + # dim ReasmReqds name = all + # dim ReasmReqds algorithm = incremental + # dim ReasmReqds multiplier = 1 + # dim ReasmReqds divisor = 1 + +[disk_space._vagrant] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_space._vagrant + # chart type = stacked + # type = disk_space + # family = /vagrant + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._vagrant + # title = Disk Space Usage for /vagrant [vagrant] (disk_space._vagrant) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 4096 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 4096 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 4096 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes._vagrant] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_inodes._vagrant + # chart type = stacked + # type = disk_inodes + # family = /vagrant + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._vagrant + # title = Disk Files (inodes) Usage for /vagrant [vagrant] (disk_inodes._vagrant) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[netdata.plugin_diskspace] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.plugin_diskspace + # chart type = stacked + # type = netdata + # family = diskspace + # units = milliseconds/s + # context = netdata.plugin_diskspace + # priority = 132020 + # gap when lost iterations above = 1 + # name = netdata.plugin_diskspace + # title = NetData Disk Space Plugin CPU usage (netdata.plugin_diskspace) + # dim user name = user + # dim user algorithm = incremental + # dim user multiplier = 1 + # dim user divisor = 1000 + # dim system name = system + # dim system algorithm = incremental + # dim system multiplier = 1 + # dim system divisor = 1000 + +[netdata.plugin_diskspace_dt] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.plugin_diskspace_dt + # chart type = area + # type = netdata + # family = diskspace + # units = milliseconds/run + # context = netdata.plugin_diskspace_dt + # priority = 132021 + # gap when lost iterations above = 1 + # name = netdata.plugin_diskspace_dt + # title = NetData Disk Space Plugin Duration (netdata.plugin_diskspace_dt) + # dim duration name = duration + # dim duration algorithm = absolute + # dim duration multiplier = 1 + # dim duration divisor = 1000 + +[ipv4.errors] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.errors + # chart type = line + # type = ipv4 + # family = errors + # units = packets/s + # context = ipv4.errors + # priority = 3002 + # gap when lost iterations above = 1 + # name = ipv4.errors + # title = IPv4 Errors (ipv4.errors) + # dim InDiscards name = InDiscards + # dim InDiscards algorithm = incremental + # dim InDiscards multiplier = 1 + # dim InDiscards divisor = 1 + # dim OutDiscards name = OutDiscards + # dim OutDiscards algorithm = incremental + # dim OutDiscards multiplier = -1 + # dim OutDiscards divisor = 1 + # dim InHdrErrors name = InHdrErrors + # dim InHdrErrors algorithm = incremental + # dim InHdrErrors multiplier = 1 + # dim InHdrErrors divisor = 1 + # dim OutNoRoutes name = OutNoRoutes + # dim OutNoRoutes algorithm = incremental + # dim OutNoRoutes multiplier = -1 + # dim OutNoRoutes divisor = 1 + # dim InAddrErrors name = InAddrErrors + # dim InAddrErrors algorithm = incremental + # dim InAddrErrors multiplier = 1 + # dim InAddrErrors divisor = 1 + # dim InUnknownProtos name = InUnknownProtos + # dim InUnknownProtos algorithm = incremental + # dim InUnknownProtos multiplier = 1 + # dim InUnknownProtos divisor = 1 + +[ipv4.icmp] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.icmp + # chart type = line + # type = ipv4 + # family = icmp + # units = packets/s + # context = ipv4.icmp + # priority = 2602 + # gap when lost iterations above = 1 + # name = ipv4.icmp + # title = IPv4 ICMP Packets (ipv4.icmp) + # dim InMsgs name = received + # dim InMsgs algorithm = incremental + # dim InMsgs multiplier = 1 + # dim InMsgs divisor = 1 + # dim OutMsgs name = sent + # dim OutMsgs algorithm = incremental + # dim OutMsgs multiplier = -1 + # dim OutMsgs divisor = 1 + +[ipv4.icmp_errors] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.icmp_errors + # chart type = line + # type = ipv4 + # family = icmp + # units = packets/s + # context = ipv4.icmp_errors + # priority = 2603 + # gap when lost iterations above = 1 + # name = ipv4.icmp_errors + # title = IPv4 ICMP Errors (ipv4.icmp_errors) + # dim InErrors name = InErrors + # dim InErrors algorithm = incremental + # dim InErrors multiplier = 1 + # dim InErrors divisor = 1 + # dim OutErrors name = OutErrors + # dim OutErrors algorithm = incremental + # dim OutErrors multiplier = -1 + # dim OutErrors divisor = 1 + # dim InCsumErrors name = InCsumErrors + # dim InCsumErrors algorithm = incremental + # dim InCsumErrors multiplier = 1 + # dim InCsumErrors divisor = 1 + +[ipv4.tcpsock] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.tcpsock + # chart type = line + # type = ipv4 + # family = tcp + # units = active connections + # context = ipv4.tcpsock + # priority = 2500 + # gap when lost iterations above = 1 + # name = ipv4.tcpsock + # title = IPv4 TCP Connections (ipv4.tcpsock) + # dim CurrEstab name = connections + # dim CurrEstab algorithm = absolute + # dim CurrEstab multiplier = 1 + # dim CurrEstab divisor = 1 + +[ipv4.tcppackets] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.tcppackets + # chart type = line + # type = ipv4 + # family = tcp + # units = packets/s + # context = ipv4.tcppackets + # priority = 2600 + # gap when lost iterations above = 1 + # name = ipv4.tcppackets + # title = IPv4 TCP Packets (ipv4.tcppackets) + # dim InSegs name = received + # dim InSegs algorithm = incremental + # dim InSegs multiplier = 1 + # dim InSegs divisor = 1 + # dim OutSegs name = sent + # dim OutSegs algorithm = incremental + # dim OutSegs multiplier = -1 + # dim OutSegs divisor = 1 + +[ipv4.tcperrors] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.tcperrors + # chart type = line + # type = ipv4 + # family = tcp + # units = packets/s + # context = ipv4.tcperrors + # priority = 2700 + # gap when lost iterations above = 1 + # name = ipv4.tcperrors + # title = IPv4 TCP Errors (ipv4.tcperrors) + # dim InErrs name = InErrs + # dim InErrs algorithm = incremental + # dim InErrs multiplier = 1 + # dim InErrs divisor = 1 + # dim InCsumErrors name = InCsumErrors + # dim InCsumErrors algorithm = incremental + # dim InCsumErrors multiplier = 1 + # dim InCsumErrors divisor = 1 + # dim RetransSegs name = RetransSegs + # dim RetransSegs algorithm = incremental + # dim RetransSegs multiplier = -1 + # dim RetransSegs divisor = 1 + +[ipv4.tcphandshake] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.tcphandshake + # chart type = line + # type = ipv4 + # family = tcp + # units = events/s + # context = ipv4.tcphandshake + # priority = 2900 + # gap when lost iterations above = 1 + # name = ipv4.tcphandshake + # title = IPv4 TCP Handshake Issues (ipv4.tcphandshake) + # dim EstabResets name = EstabResets + # dim EstabResets algorithm = incremental + # dim EstabResets multiplier = 1 + # dim EstabResets divisor = 1 + # dim OutRsts name = OutRsts + # dim OutRsts algorithm = incremental + # dim OutRsts multiplier = -1 + # dim OutRsts divisor = 1 + # dim ActiveOpens name = ActiveOpens + # dim ActiveOpens algorithm = incremental + # dim ActiveOpens multiplier = 1 + # dim ActiveOpens divisor = 1 + # dim PassiveOpens name = PassiveOpens + # dim PassiveOpens algorithm = incremental + # dim PassiveOpens multiplier = 1 + # dim PassiveOpens divisor = 1 + # dim AttemptFails name = AttemptFails + # dim AttemptFails algorithm = incremental + # dim AttemptFails multiplier = 1 + # dim AttemptFails divisor = 1 + +[ipv4.udppackets] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.udppackets + # chart type = line + # type = ipv4 + # family = udp + # units = packets/s + # context = ipv4.udppackets + # priority = 2601 + # gap when lost iterations above = 1 + # name = ipv4.udppackets + # title = IPv4 UDP Packets (ipv4.udppackets) + # dim InDatagrams name = received + # dim InDatagrams algorithm = incremental + # dim InDatagrams multiplier = 1 + # dim InDatagrams divisor = 1 + # dim OutDatagrams name = sent + # dim OutDatagrams algorithm = incremental + # dim OutDatagrams multiplier = -1 + # dim OutDatagrams divisor = 1 + +[ipv4.udperrors] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.udperrors + # chart type = line + # type = ipv4 + # family = udp + # units = events/s + # context = ipv4.udperrors + # priority = 2701 + # gap when lost iterations above = 1 + # name = ipv4.udperrors + # title = IPv4 UDP Errors (ipv4.udperrors) + # dim RcvbufErrors name = RcvbufErrors + # dim RcvbufErrors algorithm = incremental + # dim RcvbufErrors multiplier = 1 + # dim RcvbufErrors divisor = 1 + # dim SndbufErrors name = SndbufErrors + # dim SndbufErrors algorithm = incremental + # dim SndbufErrors multiplier = -1 + # dim SndbufErrors divisor = 1 + # dim InErrors name = InErrors + # dim InErrors algorithm = incremental + # dim InErrors multiplier = 1 + # dim InErrors divisor = 1 + # dim NoPorts name = NoPorts + # dim NoPorts algorithm = incremental + # dim NoPorts multiplier = 1 + # dim NoPorts divisor = 1 + # dim InCsumErrors name = InCsumErrors + # dim InCsumErrors algorithm = incremental + # dim InCsumErrors multiplier = 1 + # dim InCsumErrors divisor = 1 + # dim IgnoredMulti name = IgnoredMulti + # dim IgnoredMulti algorithm = incremental + # dim IgnoredMulti multiplier = 1 + # dim IgnoredMulti divisor = 1 + +[ipv4.udplite] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.udplite + # chart type = line + # type = ipv4 + # family = udplite + # units = packets/s + # context = ipv4.udplite + # priority = 2603 + # gap when lost iterations above = 1 + # name = ipv4.udplite + # title = IPv4 UDPLite Packets (ipv4.udplite) + # dim InDatagrams name = received + # dim InDatagrams algorithm = incremental + # dim InDatagrams multiplier = 1 + # dim InDatagrams divisor = 1 + # dim OutDatagrams name = sent + # dim OutDatagrams algorithm = incremental + # dim OutDatagrams multiplier = -1 + # dim OutDatagrams divisor = 1 + +[ipv4.udplite_errors] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv4.udplite_errors + # chart type = line + # type = ipv4 + # family = udplite + # units = packets/s + # context = ipv4.udplite_errors + # priority = 2604 + # gap when lost iterations above = 1 + # name = ipv4.udplite_errors + # title = IPv4 UDPLite Errors (ipv4.udplite_errors) + # dim RcvbufErrors name = RcvbufErrors + # dim RcvbufErrors algorithm = incremental + # dim RcvbufErrors multiplier = 1 + # dim RcvbufErrors divisor = 1 + # dim SndbufErrors name = SndbufErrors + # dim SndbufErrors algorithm = incremental + # dim SndbufErrors multiplier = -1 + # dim SndbufErrors divisor = 1 + # dim NoPorts name = NoPorts + # dim NoPorts algorithm = incremental + # dim NoPorts multiplier = 1 + # dim NoPorts divisor = 1 + # dim IgnoredMulti name = IgnoredMulti + # dim IgnoredMulti algorithm = incremental + # dim IgnoredMulti multiplier = 1 + # dim IgnoredMulti divisor = 1 + # dim InErrors name = InErrors + # dim InErrors algorithm = incremental + # dim InErrors multiplier = 1 + # dim InErrors divisor = 1 + # dim InCsumErrors name = InCsumErrors + # dim InCsumErrors algorithm = incremental + # dim InCsumErrors multiplier = 1 + # dim InCsumErrors divisor = 1 + +[system.ipv6] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.ipv6 + # chart type = area + # type = system + # family = network + # units = kilobits/s + # context = system.ipv6 + # priority = 500 + # gap when lost iterations above = 1 + # name = system.ipv6 + # title = IPv6 Bandwidth (system.ipv6) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 8 + # dim received divisor = 1024 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -8 + # dim sent divisor = 1024 + +[ipv6.packets] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv6.packets + # chart type = line + # type = ipv6 + # family = packets + # units = packets/s + # context = ipv6.packets + # priority = 3000 + # gap when lost iterations above = 1 + # name = ipv6.packets + # title = IPv6 Packets (ipv6.packets) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + # dim forwarded name = forwarded + # dim forwarded algorithm = incremental + # dim forwarded multiplier = 1 + # dim forwarded divisor = 1 + # dim delivers name = delivers + # dim delivers algorithm = incremental + # dim delivers multiplier = -1 + # dim delivers divisor = 1 + +[ipv6.mcast] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv6.mcast + # chart type = area + # type = ipv6 + # family = multicast + # units = kilobits/s + # context = ipv6.mcast + # priority = 9000 + # gap when lost iterations above = 1 + # name = ipv6.mcast + # title = IPv6 Multicast Bandwidth (ipv6.mcast) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 8 + # dim received divisor = 1024 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -8 + # dim sent divisor = 1024 + +[ipv6.mcastpkts] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv6.mcastpkts + # chart type = line + # type = ipv6 + # family = multicast + # units = packets/s + # context = ipv6.mcastpkts + # priority = 9500 + # gap when lost iterations above = 1 + # name = ipv6.mcastpkts + # title = IPv6 Multicast Packets (ipv6.mcastpkts) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + +[ipv6.icmp] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv6.icmp + # chart type = line + # type = ipv6 + # family = icmp + # units = messages/s + # context = ipv6.icmp + # priority = 10000 + # gap when lost iterations above = 1 + # name = ipv6.icmp + # title = IPv6 ICMP Messages (ipv6.icmp) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + +[ipv6.icmprouter] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv6.icmprouter + # chart type = line + # type = ipv6 + # family = icmp + # units = messages/s + # context = ipv6.icmprouter + # priority = 10400 + # gap when lost iterations above = 1 + # name = ipv6.icmprouter + # title = IPv6 Router Messages (ipv6.icmprouter) + # dim InSolicits name = InSolicits + # dim InSolicits algorithm = incremental + # dim InSolicits multiplier = 1 + # dim InSolicits divisor = 1 + # dim OutSolicits name = OutSolicits + # dim OutSolicits algorithm = incremental + # dim OutSolicits multiplier = -1 + # dim OutSolicits divisor = 1 + # dim InAdvertisements name = InAdvertisements + # dim InAdvertisements algorithm = incremental + # dim InAdvertisements multiplier = 1 + # dim InAdvertisements divisor = 1 + # dim OutAdvertisements name = OutAdvertisements + # dim OutAdvertisements algorithm = incremental + # dim OutAdvertisements multiplier = -1 + # dim OutAdvertisements divisor = 1 + +[ipv6.icmpneighbor] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv6.icmpneighbor + # chart type = line + # type = ipv6 + # family = icmp + # units = messages/s + # context = ipv6.icmpneighbor + # priority = 10500 + # gap when lost iterations above = 1 + # name = ipv6.icmpneighbor + # title = IPv6 Neighbor Messages (ipv6.icmpneighbor) + # dim InSolicits name = InSolicits + # dim InSolicits algorithm = incremental + # dim InSolicits multiplier = 1 + # dim InSolicits divisor = 1 + # dim OutSolicits name = OutSolicits + # dim OutSolicits algorithm = incremental + # dim OutSolicits multiplier = -1 + # dim OutSolicits divisor = 1 + # dim InAdvertisements name = InAdvertisements + # dim InAdvertisements algorithm = incremental + # dim InAdvertisements multiplier = 1 + # dim InAdvertisements divisor = 1 + # dim OutAdvertisements name = OutAdvertisements + # dim OutAdvertisements algorithm = incremental + # dim OutAdvertisements multiplier = -1 + # dim OutAdvertisements divisor = 1 + +[ipv6.icmpmldv2] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv6.icmpmldv2 + # chart type = line + # type = ipv6 + # family = icmp + # units = reports/s + # context = ipv6.icmpmldv2 + # priority = 10600 + # gap when lost iterations above = 1 + # name = ipv6.icmpmldv2 + # title = IPv6 ICMP MLDv2 Reports (ipv6.icmpmldv2) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + +[ipv6.icmptypes] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv6.icmptypes + # chart type = line + # type = ipv6 + # family = icmp + # units = messages/s + # context = ipv6.icmptypes + # priority = 10700 + # gap when lost iterations above = 1 + # name = ipv6.icmptypes + # title = IPv6 ICMP Types (ipv6.icmptypes) + # dim InType1 name = InType1 + # dim InType1 algorithm = incremental + # dim InType1 multiplier = 1 + # dim InType1 divisor = 1 + # dim InType128 name = InType128 + # dim InType128 algorithm = incremental + # dim InType128 multiplier = 1 + # dim InType128 divisor = 1 + # dim InType129 name = InType129 + # dim InType129 algorithm = incremental + # dim InType129 multiplier = 1 + # dim InType129 divisor = 1 + # dim InType136 name = InType136 + # dim InType136 algorithm = incremental + # dim InType136 multiplier = 1 + # dim InType136 divisor = 1 + # dim OutType1 name = OutType1 + # dim OutType1 algorithm = incremental + # dim OutType1 multiplier = -1 + # dim OutType1 divisor = 1 + # dim OutType128 name = OutType128 + # dim OutType128 algorithm = incremental + # dim OutType128 multiplier = -1 + # dim OutType128 divisor = 1 + # dim OutType129 name = OutType129 + # dim OutType129 algorithm = incremental + # dim OutType129 multiplier = -1 + # dim OutType129 divisor = 1 + # dim OutType133 name = OutType133 + # dim OutType133 algorithm = incremental + # dim OutType133 multiplier = -1 + # dim OutType133 divisor = 1 + # dim OutType135 name = OutType135 + # dim OutType135 algorithm = incremental + # dim OutType135 multiplier = -1 + # dim OutType135 divisor = 1 + # dim OutType143 name = OutType143 + # dim OutType143 algorithm = incremental + # dim OutType143 multiplier = -1 + # dim OutType143 divisor = 1 + +[system.softnet_stat] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.softnet_stat + # chart type = line + # type = system + # family = softnet_stat + # units = events/s + # context = system.softnet_stat + # priority = 955 + # gap when lost iterations above = 1 + # name = system.softnet_stat + # title = System softnet_stat (system.softnet_stat) + # dim processed name = processed + # dim processed algorithm = incremental + # dim processed multiplier = 1 + # dim processed divisor = 1 + # dim dropped name = dropped + # dim dropped algorithm = incremental + # dim dropped multiplier = 1 + # dim dropped divisor = 1 + # dim squeezed name = squeezed + # dim squeezed algorithm = incremental + # dim squeezed multiplier = 1 + # dim squeezed divisor = 1 + # dim received_rps name = received_rps + # dim received_rps algorithm = incremental + # dim received_rps multiplier = 1 + # dim received_rps divisor = 1 + # dim flow_limit_count name = flow_limit_count + # dim flow_limit_count algorithm = incremental + # dim flow_limit_count multiplier = 1 + # dim flow_limit_count divisor = 1 + +[cpu.cpu0_softnet_stat] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/cpu.cpu0_softnet_stat + # chart type = line + # type = cpu + # family = softnet_stat + # units = events/s + # context = cpu.cpu0_softnet_stat + # priority = 4101 + # gap when lost iterations above = 1 + # name = cpu.cpu0_softnet_stat + # title = CPU0 softnet_stat (cpu.cpu0_softnet_stat) + # dim processed name = processed + # dim processed algorithm = incremental + # dim processed multiplier = 1 + # dim processed divisor = 1 + # dim dropped name = dropped + # dim dropped algorithm = incremental + # dim dropped multiplier = 1 + # dim dropped divisor = 1 + # dim squeezed name = squeezed + # dim squeezed algorithm = incremental + # dim squeezed multiplier = 1 + # dim squeezed divisor = 1 + # dim received_rps name = received_rps + # dim received_rps algorithm = incremental + # dim received_rps multiplier = 1 + # dim received_rps divisor = 1 + # dim flow_limit_count name = flow_limit_count + # dim flow_limit_count algorithm = incremental + # dim flow_limit_count multiplier = 1 + # dim flow_limit_count divisor = 1 + +[disk.sda] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk.sda + # chart type = area + # type = disk + # family = sda + # units = kilobytes/s + # context = disk.io + # priority = 2000 + # gap when lost iterations above = 1 + # name = disk.sda + # title = Disk I/O Bandwidth (disk.sda) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 512 + # dim reads divisor = 1024 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -512 + # dim writes divisor = 1024 + +[disk_ops.sda] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_ops.sda + # chart type = line + # type = disk_ops + # family = sda + # units = operations/s + # context = disk.ops + # priority = 2001 + # gap when lost iterations above = 1 + # name = disk_ops.sda + # title = Disk Completed I/O Operations (disk_ops.sda) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk_backlog.sda] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_backlog.sda + # chart type = area + # type = disk_backlog + # family = sda + # units = backlog (ms) + # context = disk.backlog + # priority = 2003 + # gap when lost iterations above = 1 + # name = disk_backlog.sda + # title = Disk Backlog (disk_backlog.sda) + # dim backlog name = backlog + # dim backlog algorithm = incremental + # dim backlog multiplier = 1 + # dim backlog divisor = 10 + +[disk_util.sda] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_util.sda + # chart type = area + # type = disk_util + # family = sda + # units = % of time working + # context = disk.util + # priority = 2004 + # gap when lost iterations above = 1 + # name = disk_util.sda + # title = Disk Utilization Time (disk_util.sda) + # dim utilization name = utilization + # dim utilization algorithm = incremental + # dim utilization multiplier = 1 + # dim utilization divisor = 10 + +[disk_mops.sda] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_mops.sda + # chart type = line + # type = disk_mops + # family = sda + # units = merged operations/s + # context = disk.mops + # priority = 2021 + # gap when lost iterations above = 1 + # name = disk_mops.sda + # title = Disk Merged Operations (disk_mops.sda) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk_iotime.sda] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_iotime.sda + # chart type = line + # type = disk_iotime + # family = sda + # units = milliseconds/s + # context = disk.iotime + # priority = 2022 + # gap when lost iterations above = 1 + # name = disk_iotime.sda + # title = Disk Total I/O Time (disk_iotime.sda) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk.dm-0] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk.dm_0 + # chart type = area + # type = disk + # family = / + # units = kilobytes/s + # context = disk.io + # priority = 2000 + # gap when lost iterations above = 1 + # name = disk.dm_0 + # title = Disk I/O Bandwidth (disk.dm_0) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 512 + # dim reads divisor = 1024 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -512 + # dim writes divisor = 1024 + +[disk_ops.dm-0] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_ops.dm_0 + # chart type = line + # type = disk_ops + # family = / + # units = operations/s + # context = disk.ops + # priority = 2001 + # gap when lost iterations above = 1 + # name = disk_ops.dm_0 + # title = Disk Completed I/O Operations (disk_ops.dm_0) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk_backlog.dm-0] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_backlog.dm_0 + # chart type = area + # type = disk_backlog + # family = / + # units = backlog (ms) + # context = disk.backlog + # priority = 2003 + # gap when lost iterations above = 1 + # name = disk_backlog.dm_0 + # title = Disk Backlog (disk_backlog.dm_0) + # dim backlog name = backlog + # dim backlog algorithm = incremental + # dim backlog multiplier = 1 + # dim backlog divisor = 10 + +[disk_util.dm-0] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_util.dm_0 + # chart type = area + # type = disk_util + # family = / + # units = % of time working + # context = disk.util + # priority = 2004 + # gap when lost iterations above = 1 + # name = disk_util.dm_0 + # title = Disk Utilization Time (disk_util.dm_0) + # dim utilization name = utilization + # dim utilization algorithm = incremental + # dim utilization multiplier = 1 + # dim utilization divisor = 10 + +[disk_iotime.dm-0] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_iotime.dm_0 + # chart type = line + # type = disk_iotime + # family = / + # units = milliseconds/s + # context = disk.iotime + # priority = 2022 + # gap when lost iterations above = 1 + # name = disk_iotime.dm_0 + # title = Disk Total I/O Time (disk_iotime.dm_0) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk.dm-1] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk.dm_1 + # chart type = area + # type = disk + # family = dm-1 + # units = kilobytes/s + # context = disk.io + # priority = 2000 + # gap when lost iterations above = 1 + # name = disk.dm_1 + # title = Disk I/O Bandwidth (disk.dm_1) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 512 + # dim reads divisor = 1024 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -512 + # dim writes divisor = 1024 + +[disk_ops.dm-1] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_ops.dm_1 + # chart type = line + # type = disk_ops + # family = dm-1 + # units = operations/s + # context = disk.ops + # priority = 2001 + # gap when lost iterations above = 1 + # name = disk_ops.dm_1 + # title = Disk Completed I/O Operations (disk_ops.dm_1) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk_backlog.dm-1] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_backlog.dm_1 + # chart type = area + # type = disk_backlog + # family = dm-1 + # units = backlog (ms) + # context = disk.backlog + # priority = 2003 + # gap when lost iterations above = 1 + # name = disk_backlog.dm_1 + # title = Disk Backlog (disk_backlog.dm_1) + # dim backlog name = backlog + # dim backlog algorithm = incremental + # dim backlog multiplier = 1 + # dim backlog divisor = 10 + +[disk_util.dm-1] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_util.dm_1 + # chart type = area + # type = disk_util + # family = dm-1 + # units = % of time working + # context = disk.util + # priority = 2004 + # gap when lost iterations above = 1 + # name = disk_util.dm_1 + # title = Disk Utilization Time (disk_util.dm_1) + # dim utilization name = utilization + # dim utilization algorithm = incremental + # dim utilization multiplier = 1 + # dim utilization divisor = 10 + +[disk_iotime.dm-1] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_iotime.dm_1 + # chart type = line + # type = disk_iotime + # family = dm-1 + # units = milliseconds/s + # context = disk.iotime + # priority = 2022 + # gap when lost iterations above = 1 + # name = disk_iotime.dm_1 + # title = Disk Total I/O Time (disk_iotime.dm_1) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[system.ipc_semaphores] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.ipc_semaphores + # chart type = area + # type = system + # family = ipc semaphores + # units = semaphores + # context = system.ipc_semaphores + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.ipc_semaphores + # title = IPC Semaphores (system.ipc_semaphores) + # dim semaphores name = semaphores + # dim semaphores algorithm = absolute + # dim semaphores multiplier = 1 + # dim semaphores divisor = 1 + +[system.ipc_semaphore_arrays] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/system.ipc_semaphore_arrays + # chart type = area + # type = system + # family = ipc semaphores + # units = arrays + # context = system.ipc_semaphore_arrays + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.ipc_semaphore_arrays + # title = IPC Semaphore Arrays (system.ipc_semaphore_arrays) + # dim arrays name = arrays + # dim arrays algorithm = absolute + # dim arrays multiplier = 1 + # dim arrays divisor = 1 + +[netdata.plugin_proc_modules] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.plugin_proc_modules + # chart type = stacked + # type = netdata + # family = proc + # units = milliseconds/run + # context = netdata.plugin_proc_modules + # priority = 132001 + # gap when lost iterations above = 1 + # name = netdata.plugin_proc_modules + # title = NetData Proc Plugin Modules Durations (netdata.plugin_proc_modules) + # dim stat name = stat + # dim stat algorithm = absolute + # dim stat multiplier = 1 + # dim stat divisor = 1000 + # dim uptime name = uptime + # dim uptime algorithm = absolute + # dim uptime multiplier = 1 + # dim uptime divisor = 1000 + # dim loadavg name = loadavg + # dim loadavg algorithm = absolute + # dim loadavg multiplier = 1 + # dim loadavg divisor = 1000 + # dim entropy name = entropy + # dim entropy algorithm = absolute + # dim entropy multiplier = 1 + # dim entropy divisor = 1000 + # dim interrupts name = interrupts + # dim interrupts algorithm = absolute + # dim interrupts multiplier = 1 + # dim interrupts divisor = 1000 + # dim softirqs name = softirqs + # dim softirqs algorithm = absolute + # dim softirqs multiplier = 1 + # dim softirqs divisor = 1000 + # dim vmstat name = vmstat + # dim vmstat algorithm = absolute + # dim vmstat multiplier = 1 + # dim vmstat divisor = 1000 + # dim meminfo name = meminfo + # dim meminfo algorithm = absolute + # dim meminfo multiplier = 1 + # dim meminfo divisor = 1000 + # dim ksm name = ksm + # dim ksm algorithm = absolute + # dim ksm multiplier = 1 + # dim ksm divisor = 1000 + # dim numa name = numa + # dim numa algorithm = absolute + # dim numa multiplier = 1 + # dim numa divisor = 1000 + # dim netdev name = netdev + # dim netdev algorithm = absolute + # dim netdev multiplier = 1 + # dim netdev divisor = 1000 + # dim netstat name = netstat + # dim netstat algorithm = absolute + # dim netstat multiplier = 1 + # dim netstat divisor = 1000 + # dim snmp name = snmp + # dim snmp algorithm = absolute + # dim snmp multiplier = 1 + # dim snmp divisor = 1000 + # dim snmp6 name = snmp6 + # dim snmp6 algorithm = absolute + # dim snmp6 multiplier = 1 + # dim snmp6 divisor = 1000 + # dim softnet name = softnet + # dim softnet algorithm = absolute + # dim softnet multiplier = 1 + # dim softnet divisor = 1000 + # dim diskstats name = diskstats + # dim diskstats algorithm = absolute + # dim diskstats multiplier = 1 + # dim diskstats divisor = 1000 + # dim ipc name = ipc + # dim ipc algorithm = absolute + # dim ipc multiplier = 1 + # dim ipc divisor = 1000 + +[netdata.plugin_proc_cpu] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.plugin_proc_cpu + # chart type = stacked + # type = netdata + # family = proc + # units = milliseconds/s + # context = netdata.plugin_proc_cpu + # priority = 132000 + # gap when lost iterations above = 1 + # name = netdata.plugin_proc_cpu + # title = NetData Proc Plugin CPU usage (netdata.plugin_proc_cpu) + # dim user name = user + # dim user algorithm = incremental + # dim user multiplier = 1 + # dim user divisor = 1000 + # dim system name = system + # dim system algorithm = incremental + # dim system multiplier = 1 + # dim system divisor = 1000 + +[netdata.server_cpu] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.server_cpu + # chart type = stacked + # type = netdata + # family = netdata + # units = milliseconds/s + # context = netdata.server_cpu + # priority = 130000 + # gap when lost iterations above = 1 + # name = netdata.server_cpu + # title = NetData CPU usage (netdata.server_cpu) + # dim user name = user + # dim user algorithm = incremental + # dim user multiplier = 1 + # dim user divisor = 1000 + # dim system name = system + # dim system algorithm = incremental + # dim system multiplier = 1 + # dim system divisor = 1000 + +[netdata.clients] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.clients + # chart type = line + # type = netdata + # family = netdata + # units = connected clients + # context = netdata.clients + # priority = 130200 + # gap when lost iterations above = 1 + # name = netdata.clients + # title = NetData Web Clients (netdata.clients) + # dim clients name = clients + # dim clients algorithm = absolute + # dim clients multiplier = 1 + # dim clients divisor = 1 + +[netdata.requests] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.requests + # chart type = line + # type = netdata + # family = netdata + # units = requests/s + # context = netdata.requests + # priority = 130300 + # gap when lost iterations above = 1 + # name = netdata.requests + # title = NetData Web Requests (netdata.requests) + # dim requests name = requests + # dim requests algorithm = incremental + # dim requests multiplier = 1 + # dim requests divisor = 1 + +[netdata.net] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.net + # chart type = area + # type = netdata + # family = netdata + # units = kilobits/s + # context = netdata.net + # priority = 130000 + # gap when lost iterations above = 1 + # name = netdata.net + # title = NetData Network Traffic (netdata.net) + # dim in name = in + # dim in algorithm = incremental + # dim in multiplier = 8 + # dim in divisor = 1024 + # dim out name = out + # dim out algorithm = incremental + # dim out multiplier = -8 + # dim out divisor = 1024 + +[netdata.response_time] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.response_time + # chart type = line + # type = netdata + # family = netdata + # units = ms/request + # context = netdata.response_time + # priority = 130400 + # gap when lost iterations above = 1 + # name = netdata.response_time + # title = NetData API Response Time (netdata.response_time) + # dim average name = average + # dim average algorithm = absolute + # dim average multiplier = 1 + # dim average divisor = 1000 + # dim max name = max + # dim max algorithm = absolute + # dim max multiplier = 1 + # dim max divisor = 1000 + +[netdata.compression_ratio] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.compression_ratio + # chart type = line + # type = netdata + # family = netdata + # units = percentage + # context = netdata.compression_ratio + # priority = 130500 + # gap when lost iterations above = 1 + # name = netdata.compression_ratio + # title = NetData API Responses Compression Savings Ratio (netdata.compression_ratio) + # dim savings name = savings + # dim savings algorithm = absolute + # dim savings multiplier = 1 + # dim savings divisor = 1000 + +[netdata.plugin_tc_cpu] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.plugin_tc_cpu + # chart type = stacked + # type = netdata + # family = tc.helper + # units = milliseconds/s + # context = netdata.plugin_tc_cpu + # priority = 135000 + # gap when lost iterations above = 1 + # name = netdata.plugin_tc_cpu + # title = NetData TC CPU usage (netdata.plugin_tc_cpu) + # dim user name = user + # dim user algorithm = incremental + # dim user multiplier = 1 + # dim user divisor = 1000 + # dim system name = system + # dim system algorithm = incremental + # dim system multiplier = 1 + # dim system divisor = 1000 + +[netdata.plugin_tc_time] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.plugin_tc_time + # chart type = area + # type = netdata + # family = tc.helper + # units = milliseconds/run + # context = netdata.plugin_tc_time + # priority = 135001 + # gap when lost iterations above = 1 + # name = netdata.plugin_tc_time + # title = NetData TC script execution (netdata.plugin_tc_time) + # dim run_time name = run time + # dim run_time algorithm = absolute + # dim run_time multiplier = 1 + # dim run_time divisor = 1 + +[ipv6.ect] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/ipv6.ect + # chart type = line + # type = ipv6 + # family = packets + # units = packets/s + # context = ipv6.ect + # priority = 10800 + # gap when lost iterations above = 1 + # name = ipv6.ect + # title = IPv6 ECT Packets (ipv6.ect) + # dim InNoECTPkts name = InNoECTPkts + # dim InNoECTPkts algorithm = incremental + # dim InNoECTPkts multiplier = 1 + # dim InNoECTPkts divisor = 1 + # dim InECT1Pkts name = InECT1Pkts + # dim InECT1Pkts algorithm = incremental + # dim InECT1Pkts multiplier = 1 + # dim InECT1Pkts divisor = 1 + # dim InECT0Pkts name = InECT0Pkts + # dim InECT0Pkts algorithm = incremental + # dim InECT0Pkts multiplier = 1 + # dim InECT0Pkts divisor = 1 + # dim InCEPkts name = InCEPkts + # dim InCEPkts algorithm = incremental + # dim InCEPkts multiplier = 1 + # dim InCEPkts divisor = 1 + +[disk_await.sda] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_await.sda + # chart type = line + # type = disk_await + # family = sda + # units = ms per operation + # context = disk.await + # priority = 2005 + # gap when lost iterations above = 1 + # name = disk_await.sda + # title = Average Completed I/O Operation Time (disk_await.sda) + # dim reads name = reads + # dim reads algorithm = absolute + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = absolute + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk_avgsz.sda] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_avgsz.sda + # chart type = area + # type = disk_avgsz + # family = sda + # units = kilobytes per operation + # context = disk.avgsz + # priority = 2006 + # gap when lost iterations above = 1 + # name = disk_avgsz.sda + # title = Average Completed I/O Operation Bandwidth (disk_avgsz.sda) + # dim reads name = reads + # dim reads algorithm = absolute + # dim reads multiplier = 512 + # dim reads divisor = 1024 + # dim writes name = writes + # dim writes algorithm = absolute + # dim writes multiplier = -512 + # dim writes divisor = 1024 + +[disk_svctm.sda] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_svctm.sda + # chart type = line + # type = disk_svctm + # family = sda + # units = ms per operation + # context = disk.svctm + # priority = 2007 + # gap when lost iterations above = 1 + # name = disk_svctm.sda + # title = Average Service Time (disk_svctm.sda) + # dim svctm name = svctm + # dim svctm algorithm = absolute + # dim svctm multiplier = 1 + # dim svctm divisor = 1 + +[disk_await.dm-0] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_await.dm_0 + # chart type = line + # type = disk_await + # family = / + # units = ms per operation + # context = disk.await + # priority = 2005 + # gap when lost iterations above = 1 + # name = disk_await.dm_0 + # title = Average Completed I/O Operation Time (disk_await.dm_0) + # dim reads name = reads + # dim reads algorithm = absolute + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = absolute + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk_avgsz.dm-0] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_avgsz.dm_0 + # chart type = area + # type = disk_avgsz + # family = / + # units = kilobytes per operation + # context = disk.avgsz + # priority = 2006 + # gap when lost iterations above = 1 + # name = disk_avgsz.dm_0 + # title = Average Completed I/O Operation Bandwidth (disk_avgsz.dm_0) + # dim reads name = reads + # dim reads algorithm = absolute + # dim reads multiplier = 512 + # dim reads divisor = 1024 + # dim writes name = writes + # dim writes algorithm = absolute + # dim writes multiplier = -512 + # dim writes divisor = 1024 + +[disk_svctm.dm-0] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_svctm.dm_0 + # chart type = line + # type = disk_svctm + # family = / + # units = ms per operation + # context = disk.svctm + # priority = 2007 + # gap when lost iterations above = 1 + # name = disk_svctm.dm_0 + # title = Average Service Time (disk_svctm.dm_0) + # dim svctm name = svctm + # dim svctm algorithm = absolute + # dim svctm multiplier = 1 + # dim svctm divisor = 1 + +[disk_await.dm-1] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_await.dm_1 + # chart type = line + # type = disk_await + # family = dm-1 + # units = ms per operation + # context = disk.await + # priority = 2005 + # gap when lost iterations above = 1 + # name = disk_await.dm_1 + # title = Average Completed I/O Operation Time (disk_await.dm_1) + # dim reads name = reads + # dim reads algorithm = absolute + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = absolute + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk_avgsz.dm-1] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_avgsz.dm_1 + # chart type = area + # type = disk_avgsz + # family = dm-1 + # units = kilobytes per operation + # context = disk.avgsz + # priority = 2006 + # gap when lost iterations above = 1 + # name = disk_avgsz.dm_1 + # title = Average Completed I/O Operation Bandwidth (disk_avgsz.dm_1) + # dim reads name = reads + # dim reads algorithm = absolute + # dim reads multiplier = 512 + # dim reads divisor = 1024 + # dim writes name = writes + # dim writes algorithm = absolute + # dim writes multiplier = -512 + # dim writes divisor = 1024 + +[disk_svctm.dm-1] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/disk_svctm.dm_1 + # chart type = line + # type = disk_svctm + # family = dm-1 + # units = ms per operation + # context = disk.svctm + # priority = 2007 + # gap when lost iterations above = 1 + # name = disk_svctm.dm_1 + # title = Average Service Time (disk_svctm.dm_1) + # dim svctm name = svctm + # dim svctm algorithm = absolute + # dim svctm multiplier = 1 + # dim svctm divisor = 1 + +[netdata.apps_cpu] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.apps_cpu + # chart type = stacked + # type = netdata + # family = apps.plugin + # units = milliseconds/s + # context = netdata.apps_cpu + # priority = 140000 + # gap when lost iterations above = 1 + # name = netdata.apps_cpu + # title = Apps Plugin CPU (netdata.apps_cpu) + # dim user name = user + # dim user algorithm = incremental + # dim user multiplier = 1 + # dim user divisor = 1000 + # dim system name = system + # dim system algorithm = incremental + # dim system multiplier = 1 + # dim system divisor = 1000 + +[netdata.apps_sizes] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.apps_sizes + # chart type = line + # type = netdata + # family = apps.plugin + # units = files/s + # context = netdata.apps_sizes + # priority = 140001 + # gap when lost iterations above = 1 + # name = netdata.apps_sizes + # title = Apps Plugin Files (netdata.apps_sizes) + # dim calls name = calls + # dim calls algorithm = incremental + # dim calls multiplier = 1 + # dim calls divisor = 1 + # dim files name = files + # dim files algorithm = incremental + # dim files multiplier = 1 + # dim files divisor = 1 + # dim pids name = pids + # dim pids algorithm = absolute + # dim pids multiplier = 1 + # dim pids divisor = 1 + # dim fds name = fds + # dim fds algorithm = absolute + # dim fds multiplier = 1 + # dim fds divisor = 1 + # dim targets name = targets + # dim targets algorithm = absolute + # dim targets multiplier = 1 + # dim targets divisor = 1 + # dim new_pids name = new pids + # dim new_pids algorithm = incremental + # dim new_pids multiplier = 1 + # dim new_pids divisor = 1 + +[netdata.apps_fix] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.apps_fix + # chart type = line + # type = netdata + # family = apps.plugin + # units = percentage + # context = netdata.apps_fix + # priority = 140002 + # gap when lost iterations above = 1 + # name = netdata.apps_fix + # title = Apps Plugin Normalization Ratios (netdata.apps_fix) + # dim utime name = utime + # dim utime algorithm = absolute + # dim utime multiplier = 1 + # dim utime divisor = 10000 + # dim stime name = stime + # dim stime algorithm = absolute + # dim stime multiplier = 1 + # dim stime divisor = 10000 + # dim gtime name = gtime + # dim gtime algorithm = absolute + # dim gtime multiplier = 1 + # dim gtime divisor = 10000 + # dim minflt name = minflt + # dim minflt algorithm = absolute + # dim minflt multiplier = 1 + # dim minflt divisor = 10000 + # dim majflt name = majflt + # dim majflt algorithm = absolute + # dim majflt multiplier = 1 + # dim majflt divisor = 10000 + +[netdata.apps_children_fix] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/netdata.apps_children_fix + # chart type = line + # type = netdata + # family = apps.plugin + # units = percentage + # context = netdata.apps_children_fix + # priority = 140003 + # gap when lost iterations above = 1 + # name = netdata.apps_children_fix + # title = Apps Plugin Exited Children Normalization Ratios (netdata.apps_children_fix) + # dim cutime name = cutime + # dim cutime algorithm = absolute + # dim cutime multiplier = 1 + # dim cutime divisor = 10000 + # dim cstime name = cstime + # dim cstime algorithm = absolute + # dim cstime multiplier = 1 + # dim cstime divisor = 10000 + # dim cgtime name = cgtime + # dim cgtime algorithm = absolute + # dim cgtime multiplier = 1 + # dim cgtime divisor = 10000 + # dim cminflt name = cminflt + # dim cminflt algorithm = absolute + # dim cminflt multiplier = 1 + # dim cminflt divisor = 10000 + # dim cmajflt name = cmajflt + # dim cmajflt algorithm = absolute + # dim cmajflt multiplier = 1 + # dim cmajflt divisor = 10000 + +[apps.cpu] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.cpu + # chart type = stacked + # type = apps + # family = cpu + # units = cpu time % + # context = apps.cpu + # priority = 20001 + # gap when lost iterations above = 1 + # name = apps.cpu + # title = Apps CPU Time (100% = 1 core) (apps.cpu) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 10000 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 10000 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 10000 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 10000 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 10000 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 10000 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 10000 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 10000 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 10000 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 10000 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 10000 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 10000 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 10000 + +[apps.mem] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.mem + # chart type = stacked + # type = apps + # family = mem + # units = MB + # context = apps.mem + # priority = 20003 + # gap when lost iterations above = 1 + # name = apps.mem + # title = Apps Real Memory (w/o shared) (apps.mem) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 4096 + # dim netdata divisor = 1048576 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 4096 + # dim apps.plugin divisor = 1048576 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 4096 + # dim python.d.plugin divisor = 1048576 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 4096 + # dim tc-qos-helper divisor = 1048576 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 4096 + # dim logs divisor = 1048576 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 4096 + # dim VMs divisor = 1048576 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 4096 + # dim ssh divisor = 1048576 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 4096 + # dim time divisor = 1048576 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 4096 + # dim dhcp divisor = 1048576 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 4096 + # dim cron divisor = 1048576 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 4096 + # dim ksmd divisor = 1048576 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 4096 + # dim system divisor = 1048576 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 4096 + # dim kernel divisor = 1048576 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 4096 + # dim other divisor = 1048576 + +[apps.vmem] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.vmem + # chart type = stacked + # type = apps + # family = mem + # units = MB + # context = apps.vmem + # priority = 20004 + # gap when lost iterations above = 1 + # name = apps.vmem + # title = Apps Virtual Memory Size (apps.vmem) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 4096 + # dim netdata divisor = 1048576 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 4096 + # dim apps.plugin divisor = 1048576 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 4096 + # dim python.d.plugin divisor = 1048576 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 4096 + # dim tc-qos-helper divisor = 1048576 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 4096 + # dim logs divisor = 1048576 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 4096 + # dim VMs divisor = 1048576 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 4096 + # dim ssh divisor = 1048576 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 4096 + # dim time divisor = 1048576 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 4096 + # dim dhcp divisor = 1048576 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 4096 + # dim cron divisor = 1048576 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 4096 + # dim ksmd divisor = 1048576 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 4096 + # dim system divisor = 1048576 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 4096 + # dim kernel divisor = 1048576 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 4096 + # dim other divisor = 1048576 + +[apps.threads] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.threads + # chart type = stacked + # type = apps + # family = processes + # units = threads + # context = apps.threads + # priority = 20005 + # gap when lost iterations above = 1 + # name = apps.threads + # title = Apps Threads (apps.threads) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 1 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 1 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 1 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 1 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 1 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 1 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 1 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 1 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 1 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 1 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 1 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 1 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 1 + +[apps.processes] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.processes + # chart type = stacked + # type = apps + # family = processes + # units = processes + # context = apps.processes + # priority = 20004 + # gap when lost iterations above = 1 + # name = apps.processes + # title = Apps Processes (apps.processes) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 1 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 1 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 1 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 1 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 1 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 1 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 1 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 1 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 1 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 1 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 1 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 1 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 1 + +[apps.cpu_user] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.cpu_user + # chart type = stacked + # type = apps + # family = cpu + # units = cpu time % + # context = apps.cpu_user + # priority = 20020 + # gap when lost iterations above = 1 + # name = apps.cpu_user + # title = Apps CPU User Time (100% = 1 core) (apps.cpu_user) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 10000 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 10000 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 10000 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 10000 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 10000 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 10000 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 10000 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 10000 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 10000 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 10000 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 10000 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 10000 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 10000 + +[apps.cpu_system] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.cpu_system + # chart type = stacked + # type = apps + # family = cpu + # units = cpu time % + # context = apps.cpu_system + # priority = 20021 + # gap when lost iterations above = 1 + # name = apps.cpu_system + # title = Apps CPU System Time (100% = 1 core) (apps.cpu_system) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 10000 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 10000 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 10000 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 10000 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 10000 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 10000 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 10000 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 10000 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 10000 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 10000 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 10000 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 10000 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 10000 + +[apps.major_faults] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.major_faults + # chart type = stacked + # type = apps + # family = swap + # units = page faults/s + # context = apps.major_faults + # priority = 20010 + # gap when lost iterations above = 1 + # name = apps.major_faults + # title = Apps Major Page Faults (swap read) (apps.major_faults) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 10000 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 10000 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 10000 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 10000 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 10000 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 10000 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 10000 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 10000 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 10000 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 10000 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 10000 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 10000 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 10000 + +[apps.minor_faults] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.minor_faults + # chart type = stacked + # type = apps + # family = mem + # units = page faults/s + # context = apps.minor_faults + # priority = 20011 + # gap when lost iterations above = 1 + # name = apps.minor_faults + # title = Apps Minor Page Faults (apps.minor_faults) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 10000 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 10000 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 10000 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 10000 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 10000 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 10000 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 10000 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 10000 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 10000 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 10000 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 10000 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 10000 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 10000 + +[apps.preads] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.preads + # chart type = stacked + # type = apps + # family = disk + # units = kilobytes/s + # context = apps.preads + # priority = 20002 + # gap when lost iterations above = 1 + # name = apps.preads + # title = Apps Disk Reads (apps.preads) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 10240000 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 10240000 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 10240000 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 10240000 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 10240000 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 10240000 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 10240000 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 10240000 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 10240000 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 10240000 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 10240000 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 10240000 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 10240000 + +[apps.pwrites] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.pwrites + # chart type = stacked + # type = apps + # family = disk + # units = kilobytes/s + # context = apps.pwrites + # priority = 20002 + # gap when lost iterations above = 1 + # name = apps.pwrites + # title = Apps Disk Writes (apps.pwrites) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 10240000 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 10240000 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 10240000 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 10240000 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 10240000 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 10240000 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 10240000 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 10240000 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 10240000 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 10240000 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 10240000 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 10240000 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 10240000 + +[apps.lreads] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.lreads + # chart type = stacked + # type = apps + # family = disk + # units = kilobytes/s + # context = apps.lreads + # priority = 20042 + # gap when lost iterations above = 1 + # name = apps.lreads + # title = Apps Disk Logical Reads (apps.lreads) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 10240000 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 10240000 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 10240000 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 10240000 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 10240000 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 10240000 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 10240000 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 10240000 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 10240000 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 10240000 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 10240000 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 10240000 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 10240000 + +[apps.lwrites] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.lwrites + # chart type = stacked + # type = apps + # family = disk + # units = kilobytes/s + # context = apps.lwrites + # priority = 20042 + # gap when lost iterations above = 1 + # name = apps.lwrites + # title = Apps I/O Logical Writes (apps.lwrites) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 10240000 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 10240000 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 10240000 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 10240000 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 10240000 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 10240000 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 10240000 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 10240000 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 10240000 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 10240000 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 10240000 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 10240000 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 10240000 + +[apps.files] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.files + # chart type = stacked + # type = apps + # family = disk + # units = open files + # context = apps.files + # priority = 20050 + # gap when lost iterations above = 1 + # name = apps.files + # title = Apps Open Files (apps.files) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 1 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 1 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 1 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 1 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 1 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 1 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 1 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 1 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 1 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 1 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 1 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 1 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 1 + +[apps.sockets] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.sockets + # chart type = stacked + # type = apps + # family = net + # units = open sockets + # context = apps.sockets + # priority = 20051 + # gap when lost iterations above = 1 + # name = apps.sockets + # title = Apps Open Sockets (apps.sockets) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 1 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 1 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 1 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 1 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 1 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 1 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 1 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 1 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 1 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 1 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 1 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 1 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 1 + +[apps.pipes] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/apps.pipes + # chart type = stacked + # type = apps + # family = processes + # units = open pipes + # context = apps.pipes + # priority = 20053 + # gap when lost iterations above = 1 + # name = apps.pipes + # title = Apps Pipes (apps.pipes) + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim apps.plugin name = apps.plugin + # dim apps.plugin algorithm = absolute + # dim apps.plugin multiplier = 1 + # dim apps.plugin divisor = 1 + # dim python.d.plugin name = python.d.plugin + # dim python.d.plugin algorithm = absolute + # dim python.d.plugin multiplier = 1 + # dim python.d.plugin divisor = 1 + # dim tc-qos-helper name = tc-qos-helper + # dim tc-qos-helper algorithm = absolute + # dim tc-qos-helper multiplier = 1 + # dim tc-qos-helper divisor = 1 + # dim logs name = logs + # dim logs algorithm = absolute + # dim logs multiplier = 1 + # dim logs divisor = 1 + # dim VMs name = VMs + # dim VMs algorithm = absolute + # dim VMs multiplier = 1 + # dim VMs divisor = 1 + # dim ssh name = ssh + # dim ssh algorithm = absolute + # dim ssh multiplier = 1 + # dim ssh divisor = 1 + # dim time name = time + # dim time algorithm = absolute + # dim time multiplier = 1 + # dim time divisor = 1 + # dim dhcp name = dhcp + # dim dhcp algorithm = absolute + # dim dhcp multiplier = 1 + # dim dhcp divisor = 1 + # dim cron name = cron + # dim cron algorithm = absolute + # dim cron multiplier = 1 + # dim cron divisor = 1 + # dim ksmd name = ksmd + # dim ksmd algorithm = absolute + # dim ksmd multiplier = 1 + # dim ksmd divisor = 1 + # dim system name = system + # dim system algorithm = absolute + # dim system multiplier = 1 + # dim system divisor = 1 + # dim kernel name = kernel + # dim kernel algorithm = absolute + # dim kernel multiplier = 1 + # dim kernel divisor = 1 + # dim other name = other + # dim other algorithm = absolute + # dim other multiplier = 1 + # dim other divisor = 1 + +[users.cpu] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.cpu + # chart type = stacked + # type = users + # family = cpu + # units = cpu time % + # context = users.cpu + # priority = 20001 + # gap when lost iterations above = 1 + # name = users.cpu + # title = Users CPU Time (100% = 1 core) (users.cpu) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10000 + +[users.mem] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.mem + # chart type = stacked + # type = users + # family = mem + # units = MB + # context = users.mem + # priority = 20003 + # gap when lost iterations above = 1 + # name = users.mem + # title = Users Real Memory (w/o shared) (users.mem) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 4096 + # dim vagrant divisor = 1048576 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 4096 + # dim uuidd divisor = 1048576 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 4096 + # dim netdata divisor = 1048576 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 4096 + # dim root divisor = 1048576 + +[users.vmem] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.vmem + # chart type = stacked + # type = users + # family = mem + # units = MB + # context = users.vmem + # priority = 20004 + # gap when lost iterations above = 1 + # name = users.vmem + # title = Users Virtual Memory Size (users.vmem) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 4096 + # dim vagrant divisor = 1048576 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 4096 + # dim uuidd divisor = 1048576 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 4096 + # dim netdata divisor = 1048576 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 4096 + # dim root divisor = 1048576 + +[users.threads] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.threads + # chart type = stacked + # type = users + # family = processes + # units = threads + # context = users.threads + # priority = 20005 + # gap when lost iterations above = 1 + # name = users.threads + # title = Users Threads (users.threads) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 1 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 1 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 1 + +[users.processes] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.processes + # chart type = stacked + # type = users + # family = processes + # units = processes + # context = users.processes + # priority = 20004 + # gap when lost iterations above = 1 + # name = users.processes + # title = Users Processes (users.processes) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 1 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 1 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 1 + +[users.cpu_user] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.cpu_user + # chart type = stacked + # type = users + # family = cpu + # units = cpu time % + # context = users.cpu_user + # priority = 20020 + # gap when lost iterations above = 1 + # name = users.cpu_user + # title = Users CPU User Time (100% = 1 core) (users.cpu_user) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10000 + +[users.cpu_system] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.cpu_system + # chart type = stacked + # type = users + # family = cpu + # units = cpu time % + # context = users.cpu_system + # priority = 20021 + # gap when lost iterations above = 1 + # name = users.cpu_system + # title = Users CPU System Time (100% = 1 core) (users.cpu_system) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10000 + +[users.major_faults] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.major_faults + # chart type = stacked + # type = users + # family = swap + # units = page faults/s + # context = users.major_faults + # priority = 20010 + # gap when lost iterations above = 1 + # name = users.major_faults + # title = Users Major Page Faults (swap read) (users.major_faults) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10000 + +[users.minor_faults] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.minor_faults + # chart type = stacked + # type = users + # family = mem + # units = page faults/s + # context = users.minor_faults + # priority = 20011 + # gap when lost iterations above = 1 + # name = users.minor_faults + # title = Users Minor Page Faults (users.minor_faults) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10000 + +[users.preads] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.preads + # chart type = stacked + # type = users + # family = disk + # units = kilobytes/s + # context = users.preads + # priority = 20002 + # gap when lost iterations above = 1 + # name = users.preads + # title = Users Disk Reads (users.preads) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10240000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10240000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10240000 + +[users.pwrites] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.pwrites + # chart type = stacked + # type = users + # family = disk + # units = kilobytes/s + # context = users.pwrites + # priority = 20002 + # gap when lost iterations above = 1 + # name = users.pwrites + # title = Users Disk Writes (users.pwrites) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10240000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10240000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10240000 + +[users.lreads] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.lreads + # chart type = stacked + # type = users + # family = disk + # units = kilobytes/s + # context = users.lreads + # priority = 20042 + # gap when lost iterations above = 1 + # name = users.lreads + # title = Users Disk Logical Reads (users.lreads) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10240000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10240000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10240000 + +[users.lwrites] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.lwrites + # chart type = stacked + # type = users + # family = disk + # units = kilobytes/s + # context = users.lwrites + # priority = 20042 + # gap when lost iterations above = 1 + # name = users.lwrites + # title = Users I/O Logical Writes (users.lwrites) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10240000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10240000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10240000 + +[users.files] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.files + # chart type = stacked + # type = users + # family = disk + # units = open files + # context = users.files + # priority = 20050 + # gap when lost iterations above = 1 + # name = users.files + # title = Users Open Files (users.files) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 1 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 1 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 1 + +[users.sockets] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.sockets + # chart type = stacked + # type = users + # family = net + # units = open sockets + # context = users.sockets + # priority = 20051 + # gap when lost iterations above = 1 + # name = users.sockets + # title = Users Open Sockets (users.sockets) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 1 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 1 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 1 + +[users.pipes] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/users.pipes + # chart type = stacked + # type = users + # family = processes + # units = open pipes + # context = users.pipes + # priority = 20053 + # gap when lost iterations above = 1 + # name = users.pipes + # title = Users Pipes (users.pipes) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 1 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 1 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 1 + +[groups.cpu] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.cpu + # chart type = stacked + # type = groups + # family = cpu + # units = cpu time % + # context = groups.cpu + # priority = 20001 + # gap when lost iterations above = 1 + # name = groups.cpu + # title = User Groups CPU Time (100% = 1 core) (groups.cpu) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10000 + +[groups.mem] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.mem + # chart type = stacked + # type = groups + # family = mem + # units = MB + # context = groups.mem + # priority = 20003 + # gap when lost iterations above = 1 + # name = groups.mem + # title = User Groups Real Memory (w/o shared) (groups.mem) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 4096 + # dim vagrant divisor = 1048576 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 4096 + # dim uuidd divisor = 1048576 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 4096 + # dim netdata divisor = 1048576 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 4096 + # dim root divisor = 1048576 + +[groups.vmem] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.vmem + # chart type = stacked + # type = groups + # family = mem + # units = MB + # context = groups.vmem + # priority = 20004 + # gap when lost iterations above = 1 + # name = groups.vmem + # title = User Groups Virtual Memory Size (groups.vmem) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 4096 + # dim vagrant divisor = 1048576 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 4096 + # dim uuidd divisor = 1048576 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 4096 + # dim netdata divisor = 1048576 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 4096 + # dim root divisor = 1048576 + +[groups.threads] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.threads + # chart type = stacked + # type = groups + # family = processes + # units = threads + # context = groups.threads + # priority = 20005 + # gap when lost iterations above = 1 + # name = groups.threads + # title = User Groups Threads (groups.threads) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 1 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 1 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 1 + +[groups.processes] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.processes + # chart type = stacked + # type = groups + # family = processes + # units = processes + # context = groups.processes + # priority = 20004 + # gap when lost iterations above = 1 + # name = groups.processes + # title = User Groups Processes (groups.processes) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 1 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 1 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 1 + +[groups.cpu_user] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.cpu_user + # chart type = stacked + # type = groups + # family = cpu + # units = cpu time % + # context = groups.cpu_user + # priority = 20020 + # gap when lost iterations above = 1 + # name = groups.cpu_user + # title = User Groups CPU User Time (100% = 1 core) (groups.cpu_user) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10000 + +[groups.cpu_system] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.cpu_system + # chart type = stacked + # type = groups + # family = cpu + # units = cpu time % + # context = groups.cpu_system + # priority = 20021 + # gap when lost iterations above = 1 + # name = groups.cpu_system + # title = User Groups CPU System Time (100% = 1 core) (groups.cpu_system) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10000 + +[groups.major_faults] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.major_faults + # chart type = stacked + # type = groups + # family = swap + # units = page faults/s + # context = groups.major_faults + # priority = 20010 + # gap when lost iterations above = 1 + # name = groups.major_faults + # title = User Groups Major Page Faults (swap read) (groups.major_faults) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10000 + +[groups.minor_faults] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.minor_faults + # chart type = stacked + # type = groups + # family = mem + # units = page faults/s + # context = groups.minor_faults + # priority = 20011 + # gap when lost iterations above = 1 + # name = groups.minor_faults + # title = User Groups Minor Page Faults (groups.minor_faults) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10000 + +[groups.preads] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.preads + # chart type = stacked + # type = groups + # family = disk + # units = kilobytes/s + # context = groups.preads + # priority = 20002 + # gap when lost iterations above = 1 + # name = groups.preads + # title = User Groups Disk Reads (groups.preads) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10240000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10240000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10240000 + +[groups.pwrites] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.pwrites + # chart type = stacked + # type = groups + # family = disk + # units = kilobytes/s + # context = groups.pwrites + # priority = 20002 + # gap when lost iterations above = 1 + # name = groups.pwrites + # title = User Groups Disk Writes (groups.pwrites) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10240000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10240000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10240000 + +[groups.lreads] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.lreads + # chart type = stacked + # type = groups + # family = disk + # units = kilobytes/s + # context = groups.lreads + # priority = 20042 + # gap when lost iterations above = 1 + # name = groups.lreads + # title = User Groups Disk Logical Reads (groups.lreads) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10240000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10240000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10240000 + +[groups.lwrites] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.lwrites + # chart type = stacked + # type = groups + # family = disk + # units = kilobytes/s + # context = groups.lwrites + # priority = 20042 + # gap when lost iterations above = 1 + # name = groups.lwrites + # title = User Groups I/O Logical Writes (groups.lwrites) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 10240000 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 10240000 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 10240000 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 10240000 + +[groups.files] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.files + # chart type = stacked + # type = groups + # family = disk + # units = open files + # context = groups.files + # priority = 20050 + # gap when lost iterations above = 1 + # name = groups.files + # title = User Groups Open Files (groups.files) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 1 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 1 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 1 + +[groups.sockets] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.sockets + # chart type = stacked + # type = groups + # family = net + # units = open sockets + # context = groups.sockets + # priority = 20051 + # gap when lost iterations above = 1 + # name = groups.sockets + # title = User Groups Open Sockets (groups.sockets) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 1 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 1 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 1 + +[groups.pipes] + # history = 3996 + # enabled = yes + cache directory = /var/cache/netdata/groups.pipes + # chart type = stacked + # type = groups + # family = processes + # units = open pipes + # context = groups.pipes + # priority = 20053 + # gap when lost iterations above = 1 + # name = groups.pipes + # title = User Groups Pipes (groups.pipes) + # dim vagrant name = vagrant + # dim vagrant algorithm = absolute + # dim vagrant multiplier = 1 + # dim vagrant divisor = 1 + # dim uuidd name = uuidd + # dim uuidd algorithm = absolute + # dim uuidd multiplier = 1 + # dim uuidd divisor = 1 + # dim netdata name = netdata + # dim netdata algorithm = absolute + # dim netdata multiplier = 1 + # dim netdata divisor = 1 + # dim root name = root + # dim root algorithm = absolute + # dim root multiplier = 1 + # dim root divisor = 1 diff --git a/roles/netdata/templates/stream.conf.j2 b/roles/netdata/templates/stream.conf.j2 new file mode 100644 index 0000000..1224797 --- /dev/null +++ b/roles/netdata/templates/stream.conf.j2 @@ -0,0 +1,33 @@ +# netdata stream configuration + +{% if (netdata_stream_master_node == '') or netdata_stream_proxy %} +[{{ netdata_stream_receive_api_key }}] + # enable/disable this API key + enabled = yes + + # one hour of data for each of the slaves + default history = 3600 + + # do not save slave metrics on disk + default memory = ram + + # alarms checks, only while the slave is connected + health enabled by default = auto + +{% endif %} +{% if netdata_stream_master_node != '' %} +[stream] + # stream metrics to another netdata + enabled = yes + + # the IP and PORT of the master + destination = {{ netdata_stream_master_node }} + + # TLS client options +{% for ssl_option, ssl_value in netdata_client_ssl_options.items() %} + {{ ssl_option }} = {{ ssl_value }} +{% endfor %} + + # the API key to use + api key = {{ netdata_stream_send_api_key }} +{% endif %} diff --git a/roles/netdata/vars/main.yml b/roles/netdata/vars/main.yml new file mode 100644 index 0000000..4c99ce7 --- /dev/null +++ b/roles/netdata/vars/main.yml @@ -0,0 +1,2 @@ +--- +# vars file for ansible-netdata diff --git a/roles/requirements.yml b/roles/requirements.yml index b2fe1d0..f3e8866 100644 --- a/roles/requirements.yml +++ b/roles/requirements.yml @@ -11,6 +11,12 @@ version: 2.2.1 name: postgresql +# Monitoring +# Upstream: https://github.com/mrlesmithjr/ansible-netdata +- src: mrlesmithjr.netdata + version: v1.4.1 + name: netdata + # Webserver stuff # Upstream: https://github.com/geerlingguy/ansible-role-certbot - src: geerlingguy.certbot