0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-22 04:31:08 +00:00
Commit graph

140 commits

Author SHA1 Message Date
Joel Hans
a726c905bd
Change "netdata" to "Netdata" in all docs ()
* First pass of changing netdata to Netdata

* Second pass of netdata -> Netdata

* Starting work on netdata with no whitespace after

* Pass for netdata with no whitespace at the end

* Pass for netdata with no whitespace at the front
2019-08-13 08:07:17 -07:00
Chris Akritidis
d6ede34882
Accept <> around links in markdown () 2019-08-13 09:06:53 +02:00
Cat73
00f0f80078 fix spigotmc plugin bugs ()
* 🐛 Fix spigotmc plugin can't reconnect.

Prior to this, the connection will continue to try to reconnect when it is normal.
After the connection is interrupted, it will not try to reconnect.

*  Improve the compatibility of spigotmc plugin player count check

Previously, the color output would give the wrong result.
And does not support counting the number of invisible players.

* 📝 Add an example for the regularity of the spigotmc plugin
2019-08-12 11:48:57 +02:00
Ilya Mashchenko
0ab6708fae
mysql: do not remove slave_status from queries in module () 2019-08-08 11:25:31 +03:00
Ilya Mashchenko
a22b7e9a81
mysql collector: slave_status charts per replication channel ()
* slave_status charts per replication channel
2019-08-06 16:48:18 +03:00
Ilya Mashchenko
32451c28c7
mongodb: ssl connection ()
* mongodb ssl connection support
2019-08-06 16:23:12 +03:00
Austin S. Hemmelgarn
63114bcedd Handle disconnected sockets in unbound collector. ()
* Handle disconnected sockets in unbound collector.

This adds an explicit check for the case of a socket that's already
disconnected and skips logging an error message.  The conditionn
technically is an error, but it's one that we can recover from trivially
by just doing nothing in this case (we were trying to disconnect the
scoket anyway, so if it's already disconnected, we don't need to change
anything).

This uses Python's `errno` module so that we can detect this situation
in a system-agnostic manner.

Fixes 
2019-07-30 23:21:39 +03:00
Ilya Mashchenko
b56f03cb71
smartd_log: use del_dimension instead of hide_dimension to… () 2019-07-29 22:20:14 +03:00
Ilya Mashchenko
b74cc9af07
smartd_log: Disk __eq__ fix () 2019-07-25 11:43:28 +03:00
Ilya Mashchenko
81ef0f2871
mongodb: change password to pass in the module config () 2019-07-23 10:22:13 +03:00
Ilya Mashchenko
7478c205e2
python sensors collector: sensor chips filtering fix () 2019-07-15 10:38:16 +03:00
Ilya Mashchenko
bd333ab9bd
rethinkdb collector new driver support ()
* add new driver support (2.4.0+)
2019-07-11 18:54:32 +03:00
Ilya Mashchenko
54149c562c
monit: obsolete service in runtime ()
* obsolete service
2019-06-29 21:36:45 +03:00
Oleksii Kravchenko
6fc971fe4d add userstats charts for mysql ()
* add userstats charts for mysql
2019-06-27 11:33:14 +03:00
Danamir
dd1ddace10 Tomcat status invalid XML fix ()
* Fix Tomcat status invalid XML due to attributes with single quote content
2019-06-26 22:42:44 +03:00
Ilya Mashchenko
00d91c0368
adaptec_raid: logical device regex fix () 2019-06-25 19:14:23 +03:00
Wei He
fe8279c31d fix elasticsearch plugin () 2019-06-20 08:22:23 +03:00
Johannes Christ
c5ab82558d Add a riak plugin ()
* Add a Riak plugin.
2019-06-18 21:22:09 +03:00
Ilya Mashchenko
c4e259985a
UrlService: add min required version check ()
* check urllib3 version on init
2019-06-13 10:32:40 +03:00
Nate
32065eb916 dns_query_time py module: saving dns request in 'r', checking response for answer, recording '-… ()
* saving dns request in 'r', checking response for answer, recording '-50' if no data in dns answer

* removed time import, removes dns_start and dns_end in favor of time provided by dnspython, updated lack of answer to '-100' value, re-organized code to update query_time with only a sing q.put in finally block

* fixing logic error from last commit

* fixing logic error from last commit

* removing divisor
2019-06-10 09:24:01 +03:00
Chris Akritidis
b7b4237732
smartd documentation improvements ()
smartd files additional info
2019-06-04 09:54:53 +02:00
Steve8291
664fff7661 Add note to make smartd directory ()
* Fix incorrect module name: energi

I think this should be "energid" because that is the name of the module and currently setting it to "no" in the config file does not turn it off.

* Update charts.d.conf

Add apcupsd and libreswan to conf as default enabled.

* Update apcupsd.chart.sh

* final fixes

* final fixes

* Add note to make smartd directory

At least on Ubuntu if you do not create this dir manually, all the .csv files get written to /var/lib/smartmontools as the default location.
2019-06-04 09:41:19 +02:00
Trygve Vea
8894bba87e Correct example sensor list ()
MySQL is not using SimpleService, however - ceph is an example that does.
2019-06-03 12:52:35 +02:00
Ilya Mashchenko
0c39c626ff
web log pattern fix ()
* remove double quotation mark from pattern

* update conf
2019-05-31 14:18:19 +03:00
Ilya Mashchenko
00a7734e55
varnish v4 compatibility fix ()
* do not add '-t -1' to varnishtat if varnish version <=4

* minor

* minor
2019-05-31 13:56:36 +03:00
Ilya Mashchenko
cac8526117
web_log: remove trailing space from nginx_ext2 pattern ()
* remove trailing space from nginx_ext2 pattern

* handle " in resp_upstream_time

* update module config
2019-05-28 12:21:07 +03:00
Oleksii Kravchenko
dfa3c9064e add mysql deadlock chart () 2019-05-27 10:50:09 +02:00
Steve8291
36e4b047d4 Fix incorrect module name: energi ()
I think this should be "energid" because that is the name of the module and currently setting it to "no" in the config file does not turn it off.
2019-05-24 20:03:15 +09:00
Ilya Mashchenko
48e9c9cc6d
UserService self._get_raw_data except fix () 2019-05-12 22:12:50 +03:00
Oleksii Kravchenko
e3c594c887 fix typo in the mysql graph () 2019-05-08 16:31:31 +03:00
Svante Richter
4c9c506e7a Change HTTP version to HTTP method in web_log docs ()
The actual screenshot shows methods, not versions, so change the text to reflect that.
2019-05-07 14:20:11 +03:00
Ilya Mashchenko
647cc8851d
mongodb: various KeyError fixes ()
* ensure that `locks` key in server_status dict before in

* ensure that `mapped` in server_status['mem'] + minor
2019-05-06 17:13:53 +03:00
Ilya Mashchenko
1b0f2f3549
nvidia_smi: power chart algorithm,mul,div fix () 2019-04-30 18:19:52 +03:00
Andrey Galkin
0252ce3dc1 NEW: Energi Core daemon monitoring, suits other Bitcoin forks ()
* NEW: Energi Core daemon monitoring, suites other Bitcoin forks

* Attempt to make Codacy checks happy

* Added energid sample configuration, enabled by default

* Post-review fixes & revised charts

* Added default Energi, Bitcoin and Dash to energid.conf configuration

* Fighting with Codacy markdown check

* Added energid protocol description comment

* Added JSON_RPC_VERSION as module variable

* Screw you Codacy markdown

* Screw you Codacy Markdown 

* Screw you Codacy Markdown 

* Finally, fixed what remark-lint wants

* Strict local remark-lint + plugins pass for README.md

* Attempt with another remark-lint configuration
2019-04-27 13:53:28 +03:00
Ilya Mashchenko
43ab7d18ab
smartd_log: attrs 3, 194 fix ()
* ata194 fix

* ata3 fix
2019-04-27 00:07:23 +03:00
Ilya Mashchenko
339d334129
SocketService: set socket operation timeout before connecting ()
* set socket operation timeout before connecting

* add connect, read, write timeouts

* remove .setblocking calls

* set default timeouts to 2
2019-04-25 11:16:47 +03:00
Andrey Galkin
d242e02452 NEW: allow additional name argument passing to urllib3 request in UrlService ()
- This solves monitoring of endpoints which require POST data (allows passing "body")
2019-04-18 21:50:37 +03:00
Manolis Kartsonakis
1d304ecdc3 Openldap tls support rebased ()
* Added TLS connection support for openldap collector

* More readable name for tls variable
2019-04-12 18:50:14 +03:00
Ilya Mashchenko
120518e248
python.d.plugin: py2 fix crash on macos ()
##### Summary

Fixes: 

similar issue: https://github.com/ansible/ansible/issues/32499

> This is apparently due to some new security changes made in High Sierra that are breaking lots of Python things that use fork(). Rumor has it that adding
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES before your Ansible run should clear it up. The code that's causing issues is well below Ansible in the stack.

^^

multiprocessing broken on macOS
python.d.plugin uses multiprocessing package

Fix:
 - export `OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES` in case of MacOS

##### Component Name

[/collectors/python.d.plugin](https://github.com/netdata/netdata/tree/master/collectors/python.d.plugin)

##### Additional Information
2019-04-11 19:46:04 +03:00
Ilya Mashchenko
0c9f1488b2
start job in thread after recheck () 2019-04-11 13:05:41 +03:00
Ilya Mashchenko
1aaa246ca3
elasticsearch: update config file ()
##### Summary

fixes: 

add `scheme` option to configuration file

##### Component Name
[/collectors/python.d.plugin/elasticsearch](https://github.com/netdata/netdata/tree/master/collectors/python.d.plugin/elasticsearch)
##### Additional Information
2019-04-11 11:45:13 +03:00
Ilya Mashchenko
a89328ab66
add TypeError in except () 2019-04-11 10:46:28 +03:00
胡玮文
01b91117ca Add memory free and per process memory usage to nvidia_smi ()
<!--
Describe the change in summary section, including rationale and degin decisions.
Include "Fixes #nnn" if you are fixing an existing issue.

In "Component Name" section write which component is changed in this PR. This
will help us review your PR quicker.

If you have more information you want to add, write them in "Additional
Information" section. This is usually used to help others understand your
motivation behind this change. A step-by-step reproduction of the problem is
helpful if there is no related issue.
-->

##### Summary

Add memory free
Add per process memory usage

##### Component Name

nvidia_smi

##### Additional Information
2019-04-05 10:59:14 +03:00
Ilya Mashchenko
3cf9ddd933
python.d.plugin: allow delete dimension in runtime ()
##### Summary
Fixes: 

add `del_dimension` method to Chart class.

method does:
 - sets dimension `hidden` option
 - sets dimension `obsolete` option
 - pushes chart to netdata (write to stdout)
 - deletes dimension from chart.dimensions

##### Component Name

[`/collectors/python.d.plugin/python_modules/bases/charts.py`](https://github.com/netdata/netdata/blob/master/collectors/python.d.plugin/python_modules/bases/charts.py)

##### Additional Information
2019-04-04 11:30:46 +03:00
Ilya Mashchenko
5e45cb9c2f
python.d.plugin zombie fix ()
##### Summary
Fixes: 

For some reason i see no `SIGTERM` for second python.d.plugin process on netdata service restart (Centos6).

Second process hangs on final `task_queue.task_done()` call (¯\_(ツ)_/¯).

This PR adds heartbeat call before final `task_queue.task_done()` call, so the process can exit on SIGPIPE.

##### Component Name
[collectors/python.d.plugin](https://github.com/netdata/netdata/blob/master/collectors/python.d.plugin/python.d.plugin.in)

##### Additional Information
2019-04-04 11:26:55 +03:00
Chris Akritidis
7ee504dfbe
Correct typo in ceph README () 2019-04-01 19:34:45 +02:00
Ilya Mashchenko
53fbf2eb9b
postgres module: connect via uri ()
* add connection via URI support

* update config

* update readme

* change link
2019-04-01 12:25:03 +03:00
Andrey Galkin
32b8993f3c NEW: authdb option for MongoDB collector ()
* NEW: authdb option for MongoDB collector

* Extended mongodb.conf example with authdb option

* Commented out secure example in mongodb.conf

* FIXED: mongodb changes to be compatible with pre-Py2.4
2019-03-29 12:28:59 +01:00
Ilya Mashchenko
51c75a78c6
postgres add ssl connection support ()
* add ssl connection support

* 9.1 is deprecated, use current doc

* make sslmode mandatory if any other ssl option is set + minor

* ssl params check fix
2019-03-26 08:52:39 +03:00
Holger Segnitz
71e4d0a764 add a description how to achieve vhost access logs with nginx in web_log () 2019-03-24 12:53:41 +03:00