Commit 3ed3b02e authored by Lennart Weller's avatar Lennart Weller

New upstream version 1.5.0+dfsg

parent 87649cf3
---
engines:
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- ruby
- javascript
- python
- php
checks:
Similar code:
enabled: false
eslint:
enabled: true
checks:
max-statements:
enabled: false
complexity:
enabled: false
no-eval:
enabled: false
no-extend-native:
enabled: false
no-void:
enabled: false
no-alert:
enabled: false
fixme:
enabled: false
phpmd:
enabled: true
radon:
enabled: true
checks:
Complexity:
enabled: false
ratings:
paths:
- "**.css"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.py"
- "**.rb"
exclude_paths:
- .gitignore
- conf.d/
- hooks/
- tests/
- m4/
- web/css/
- web/lib/
- web/fonts/
- web/old/
- python.d/python_modules/pyyaml2/
- python.d/python_modules/pyyaml3/
- node.d/node_modules/ber/
- node.d/node_modules/asn1.js
- node.d/node_modules/extend.js
- node.d/node_modules/pixl-xml.js
- node.d/node_modules/net-snmp.js
--exclude-exts=.min.css
--ignore=adjoining-classes,box-model,ids,order-alphabetical,unqualified-attributes
**/*{.,-}min.js
ecmaFeatures:
modules: true
jsx: true
env:
amd: true
browser: true
es6: true
jquery: true
node: true
# http://eslint.org/docs/rules/
rules:
# Possible Errors
comma-dangle: [2, never]
no-cond-assign: 2
no-console: 0
no-constant-condition: 2
no-control-regex: 2
no-debugger: 2
no-dupe-args: 2
no-dupe-keys: 2
no-duplicate-case: 2
no-empty: 2
no-empty-character-class: 2
no-ex-assign: 2
no-extra-boolean-cast: 2
no-extra-parens: 0
no-extra-semi: 2
no-func-assign: 2
no-inner-declarations: [2, functions]
no-invalid-regexp: 2
no-irregular-whitespace: 2
no-negated-in-lhs: 2
no-obj-calls: 2
no-regex-spaces: 2
no-sparse-arrays: 2
no-unexpected-multiline: 2
no-unreachable: 2
use-isnan: 2
valid-jsdoc: 0
valid-typeof: 2
# Best Practices
accessor-pairs: 2
block-scoped-var: 0
complexity: [2, 6]
consistent-return: 0
curly: 0
default-case: 0
dot-location: 0
dot-notation: 0
eqeqeq: 2
guard-for-in: 2
no-alert: 2
no-caller: 2
no-case-declarations: 2
no-div-regex: 2
no-else-return: 0
no-empty-label: 2
no-empty-pattern: 2
no-eq-null: 2
no-eval: 2
no-extend-native: 2
no-extra-bind: 2
no-fallthrough: 2
no-floating-decimal: 0
no-implicit-coercion: 0
no-implied-eval: 2
no-invalid-this: 0
no-iterator: 2
no-labels: 0
no-lone-blocks: 2
no-loop-func: 2
no-magic-number: 0
no-multi-spaces: 0
no-multi-str: 0
no-native-reassign: 2
no-new-func: 2
no-new-wrappers: 2
no-new: 2
no-octal-escape: 2
no-octal: 2
no-proto: 2
no-redeclare: 2
no-return-assign: 2
no-script-url: 2
no-self-compare: 2
no-sequences: 0
no-throw-literal: 0
no-unused-expressions: 2
no-useless-call: 2
no-useless-concat: 2
no-void: 2
no-warning-comments: 0
no-with: 2
radix: 2
vars-on-top: 0
wrap-iife: 2
yoda: 0
# Strict
strict: 0
# Variables
init-declarations: 0
no-catch-shadow: 2
no-delete-var: 2
no-label-var: 2
no-shadow-restricted-names: 2
no-shadow: 0
no-undef-init: 2
no-undef: 0
no-undefined: 0
no-unused-vars: 0
no-use-before-define: 0
# Node.js and CommonJS
callback-return: 2
global-require: 2
handle-callback-err: 2
no-mixed-requires: 0
no-new-require: 0
no-path-concat: 2
no-process-exit: 2
no-restricted-modules: 0
no-sync: 0
# Stylistic Issues
array-bracket-spacing: 0
block-spacing: 0
brace-style: 0
camelcase: 0
comma-spacing: 0
comma-style: 0
computed-property-spacing: 0
consistent-this: 0
eol-last: 0
func-names: 0
func-style: 0
id-length: 0
id-match: 0
indent: 0
jsx-quotes: 0
key-spacing: 0
linebreak-style: 0
lines-around-comment: 0
max-depth: 0
max-len: 0
max-nested-callbacks: 0
max-params: 0
max-statements: [2, 30]
new-cap: 0
new-parens: 0
newline-after-var: 0
no-array-constructor: 0
no-bitwise: 0
no-continue: 0
no-inline-comments: 0
no-lonely-if: 0
no-mixed-spaces-and-tabs: 0
no-multiple-empty-lines: 0
no-negated-condition: 0
no-nested-ternary: 0
no-new-object: 0
no-plusplus: 0
no-restricted-syntax: 0
no-spaced-func: 0
no-ternary: 0
no-trailing-spaces: 0
no-underscore-dangle: 0
no-unneeded-ternary: 0
object-curly-spacing: 0
one-var: 0
operator-assignment: 0
operator-linebreak: 0
padded-blocks: 0
quote-props: 0
quotes: 0
require-jsdoc: 0
semi-spacing: 0
semi: 0
sort-vars: 0
space-after-keywords: 0
space-before-blocks: 0
space-before-function-paren: 0
space-before-keywords: 0
space-in-parens: 0
space-infix-ops: 0
space-return-throw-case: 0
space-unary-ops: 0
spaced-comment: 0
wrap-regex: 0
# ECMAScript 6
arrow-body-style: 0
arrow-parens: 0
arrow-spacing: 0
constructor-super: 0
generator-star-spacing: 0
no-arrow-condition: 0
no-class-assign: 0
no-const-assign: 0
no-dupe-class-members: 0
no-this-before-super: 0
no-var: 0
object-shorthand: 0
prefer-arrow-callback: 0
prefer-const: 0
prefer-reflect: 0
prefer-spread: 0
prefer-template: 0
require-yield: 0
......@@ -84,8 +84,17 @@ cmake_install.cmake
.jetbrains*
.DS_Store
contrib/debian/changelog
profile/benchmark-dictionary
profile/benchmark-registry
*.pyc
diagrams/*.png
diagrams/*.svg
diagrams/*.atxt
diagrams/plantuml.jar
netdata.cppcheck
#!/bin/bash
set -e
# Decrypt our private files; changes to this file should be inspected
# closely to ensure they do not create information leaks
eval key="\${encrypted_${1}_key}"
eval iv="\${encrypted_${1}_iv}"
if [ ! "$key" ]
then
echo "No aes key present - skipping decryption"
exit 0
fi
for i in .travis/*.enc
do
u=$(echo $i | sed -e 's/.enc$//')
openssl aes-256-cbc -K "$key" -iv "$iv" -in $i -out $u -d
done
if [ -f .travis/travis_rsa ]
then
echo "ssh key present - loading to agent"
# add key, then remove to prevent leaks
chmod 600 .travis/travis_rsa
ssh-add .travis/travis_rsa
rm -f .travis/travis_rsa
touch /tmp/ssh-key-loaded
else
echo "No ssh key present - skipping agent start"
fi
#!/bin/bash
set -e
# Deploy tar-files and checksums to the firehol website
if [ ! -f /tmp/ssh-key-loaded ]
then
echo "No ssh key decrypted - skipping deployment to website"
exit 0
fi
case "$TRAVIS_BRANCH" in
master|stable-*)
:
;;
*)
echo "Not on master or stable-* branch - skipping deployment to website"
exit 0
;;
esac
if [ "$TRAVIS_PULL_REQUEST" = "true" ]
then
echo "Building pull request - skipping deployment to website"
exit 0
fi
if [ "$TRAVIS_TAG" != "" ]
then
echo "Building tag - skipping deployment to website"
exit 0
fi
if [ "$CC" != "gcc" ]
then
echo "Building non-gcc version - skipping deployment to website"
exit 0
fi
ssh-keyscan -H firehol.org >> ~/.ssh/known_hosts
ssh travis@firehol.org mkdir -p uploads/netdata/$TRAVIS_BRANCH/
scp -p *.tar.* travis@firehol.org:uploads/netdata/$TRAVIS_BRANCH/
ssh travis@firehol.org touch uploads/netdata/$TRAVIS_BRANCH/complete.txt
netdata (1.5.0) - 2016-01-22
* yet another release that makes netdata the fastest
netdata ever!
* netdata runs on FreeBSD, FreeNAS and MacOS !
Vladimir Kobal (@vlvkobal) has done a magnificent work
porting netdata to FreeBSD and MacOS.
Everyhing works: cpu, memory, disks performance, disks space,
network interfaces, interrupts, IPv4 metrics, IPv6 metrics
processes, context switches, softnet, IPC queues,
IPC semaphores, IPC shared memory, uptime, etc. Wow!
* netdata supports data archiving to backend databases:
- Graphite
- OpenTSDB
- Prometheus
and of course all the compatible ones
(KairosDB, InfluxDB, Blueflood, etc)
* new plugins:
Ilya Mashchenko (@l2isbad) has created most of the python
data collection plugins in this release !
- Systemd Services (using cgroups!)
- FPing (yes, network latency in netdata!)
- postgres databases @facetoe, @moumoul
- Vanish disk cache (v3 and v4) @l2isbad
- ElasticSearch @l2isbad
- HAproxy @l2isbad
- FreeRadius @l2isbad, @lgz
- mdstat (RAID) @l2isbad
- ISC bind (via rndc) @l2isbad
- ISC dhcpd @l2isbad, @lgz
- Fail2Ban @l2isbad
- OpenVPN status log @l2isbad, @lgz
- NUMA memory @tycho
- CPU Idle @tycho
- gunicorn log @deltaskelta
- ECC memory hardware errors
- IPC semaphores
- uptime plugin (with a nice badge too)
* improved plugins:
- netfilter conntrack
- mysql (replication) @l2isbad
- ipfs @pjz
- cpufreq @tycho
- hddtemp @l2isbad
- sensors @l2isbad
- nginx @leolovenet
- nginx_log @paulfantom
- phpfpm @leolovenet
- redis @leolovenet
- dovecot @justohall
- cgroups
- disk space
- apps.plugin
- /proc/interrupts @rlefevre
- /proc/softirqs @rlefevre
- /proc/vmstat (system memory charts)
- /proc/net/snmp6 (IPv6 charts)
- /proc/self/meminfo (system memory charts)
- /proc/net/dev (network interfaces)
- tc (linux QoS)
* new/improved alarms:
- MySQL / MariaDB alarms (incl. replication)
- IPFS alarms
- HAproxy alarms
- UDP buffer alarms
- TCP AttemptFails
- ECC memory alarms
- netfilter connections alarms
- SNMP
* new alarm notifications:
- messagebird.com @tech-no-logical
- pagerduty.com @jimcooley
- pushbullet.com @tperalta82
- twilio.com @shadycuz
- HipChat
- kafka
* shell integration
- shell scripts can now query netdata easily!
* dashboard improvements:
- dashboard is now faster on firefox, safari, opera, edge
(edge is still the slowest)
- dashboard now has a little bigger fonts
- SHIFT + mouse wheel to zoom charts, works on all browsers
- perfect-scrollbar on the dashboard
- dashboard 4K resolution fixes
- dashboard compatibility fixes for embedding charts in
third party web sites
- charts on custom dashboards can have common min/max
even if they come from different netdata servers
- alarm log is now saved and loaded back so that
the alarm history is available at the dashboard
* other improvements:
- python.d.plugin has received way to many improvements
from many contributors!
- charts.d.plugin can now be forked to support
multiple independent instances
- registry has been re-factored to lower its memory
requirements (required for the public registry)
- simple patterns in cgroups, disks and alarms
- netdata-installer.sh can now correctly install
netdata in containers
- supplied logrotate script compatibility fixes
- spec cleanup @breed808
- clocks and timers reworked @rlefevre
netdata has received a lot more improvements from many more
contributors!
Thank you all guys!
netdata (1.4.0) - 2016-10-04
At a glance:
......
# Netdata
Copyright 2014-2016, Costa Tsaousis.
Copyright 2016-2017, Costa Tsaousis.
Released under [GPL v3 or later](http://www.gnu.org/licenses/gpl-3.0.en.html).
---
......@@ -55,22 +55,28 @@ connectivity is not available.
[MIT License](http://getbootstrap.com/getting-started/#license-faqs)
- [NanoScroller](https://jamesflorentino.github.io/nanoScrollerJS/)
Copyright 2012, James Florentino
[MIT License](https://github.com/jamesflorentino/nanoScrollerJS/blob/master/LICENSE)
- [Bootstrap Toggle](http://www.bootstraptoggle.com/)
Copyright (c) 2011-2014 Min Hur, The New York Times Company
[MIT License](https://github.com/minhur/bootstrap-toggle/blob/master/LICENSE)
- [AVL C Library](http://freecode.com/projects/avl)
- [bootstrap-table](http://bootstrap-table.wenzhixin.net.cn/)
Copyright (c) 2012-2016 Zhixin Wen <wenzhixin2010@gmail.com>
[MIT License](https://github.com/wenzhixin/bootstrap-table/blob/master/LICENSE)
- [tableExport.jquery.plugin](https://github.com/hhurz/tableExport.jquery.plugin)
Copyright (c) 2015,2016 hhurz
[MIT License](http://rawgit.com/hhurz/tableExport.jquery.plugin/master/tableExport.js)
- [perfect-scrollbar](https://jamesflorentino.github.io/nanoScrollerJS/)
Copyright 2000, Daniel Nagy, Budapest University of Technology and Economics
Released under GNU General Public License (GPL) version 2
Copyright 2016, Hyunje Alex Jun and other contributors
[MIT License](https://github.com/noraesae/perfect-scrollbar/blob/master/LICENSE)
- [FontAwesome](https://fortawesome.github.io/Font-Awesome/)
......@@ -142,14 +148,3 @@ connectivity is not available.
Copyright 2006, Kirill Simonov
[MIT License](http://pyyaml.org)
- [bootstrap-table](http://bootstrap-table.wenzhixin.net.cn/)
Copyright (c) 2012-2016 Zhixin Wen <wenzhixin2010@gmail.com>
[MIT License](https://github.com/wenzhixin/bootstrap-table/blob/master/LICENSE)
- [tableExport.jquery.plugin](https://github.com/hhurz/tableExport.jquery.plugin)
Copyright (c) 2015,2016 hhurz
[MIT License](http://rawgit.com/hhurz/tableExport.jquery.plugin/master/tableExport.js)
......@@ -18,6 +18,13 @@ MAINTAINERCLEANFILES= \
EXTRA_DIST = \
.gitignore \
.codeclimate.yml \
.csslintrc \
.eslintignore \
.eslintrc \
.travis \
m4/ax_check_enable_debug.m4 \
m4/ax_c_statement_expressions.m4 \
autogen.sh \
README.md \
LICENSE.md \
......@@ -39,6 +46,8 @@ SUBDIRS = \
$(NULL)
dist_noinst_DATA= \
diagrams/config.puml \
diagrams/registry.puml \
configs.signatures \
Dockerfile \
netdata.spec \
......@@ -47,7 +56,7 @@ dist_noinst_DATA= \
# until integrated within build
# should be proper init.d/openrc/systemd usable
dist_noinst_SCRIPTS= \
ansible/netdata.yml \
diagrams/build.sh \
coverity-scan.sh \
docker-build.sh \
netdata-installer.sh \
......
# Makefile.in generated by automake 1.14.1 from Makefile.am.
# Makefile.in generated by automake 1.15 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
# Copyright (C) 1994-2014 Free Software Foundation, Inc.