Difference between revisions of "Netdata"
From Briki
(Created page with "== Installing == Run: bash <(curl -Ss https://my-netdata.io/kickstart.sh) Note: Do not use sudo - `kickstart.sh` will escalate when necessary.") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
bash <(curl -Ss https://my-netdata.io/kickstart.sh) | bash <(curl -Ss https://my-netdata.io/kickstart.sh) | ||
Note: Do not use sudo - `kickstart.sh` will escalate when necessary. | Note: Do not use sudo - `kickstart.sh` will escalate when necessary. | ||
+ | |||
+ | netdata will ask to install libssl-dev which conflicts with npm. In order to prevent it uninstalling npm, just decline the install of libssl-dev, and netdata should install ok regardless. | ||
+ | |||
+ | == Upgrading == | ||
+ | Netdata installation creates /etc/cron.daily/netdata-update which should automatically update nightly. | ||
+ | |||
+ | == Configuration == | ||
+ | Netdata config is stored in `/etc/netdata` | ||
+ | |||
+ | == 'ascii' codec can't decode byte 0xe2 in position 11622: ordinal not in range(128) == | ||
+ | |||
+ | In /usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices/UrlService.py:_get_raw_data_with_status change return "response.status, response.data.decode()" to: | ||
+ | return response.status, response.data.decode('utf-8') | ||
+ | |||
+ | In /usr/libexec/netdata/python.d/httpcheck.chart.py:process_response comment out the line: | ||
+ | self.debug('Content: \n\n{content}\n'.format(content=content)) |
Latest revision as of 09:38, 20 December 2019
Contents
Installing
Run:
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
Note: Do not use sudo - `kickstart.sh` will escalate when necessary.
netdata will ask to install libssl-dev which conflicts with npm. In order to prevent it uninstalling npm, just decline the install of libssl-dev, and netdata should install ok regardless.
Upgrading
Netdata installation creates /etc/cron.daily/netdata-update which should automatically update nightly.
Configuration
Netdata config is stored in `/etc/netdata`
'ascii' codec can't decode byte 0xe2 in position 11622: ordinal not in range(128)
In /usr/libexec/netdata/python.d/python_modules/bases/FrameworkServices/UrlService.py:_get_raw_data_with_status change return "response.status, response.data.decode()" to:
return response.status, response.data.decode('utf-8')
In /usr/libexec/netdata/python.d/httpcheck.chart.py:process_response comment out the line:
self.debug('Content: \n\n{content}\n'.format(content=content))