Update pfSense doc and add warning for apcupsd users (#8686)
* Update versions and add warning Update to latest netdata package version and add missing dependencies, add warning when using apcupsd to prevent memory leak and high cpu usage. * Update packaging/installer/methods/pfsense.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/installer/methods/pfsense.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
cryptoluks committed
Apr 21, 2020 at 01:35 UTC
85d41ad9affb1f55f58fb1c3e35fe848db1f0c54
1 file changed
+16
-8
packaging/installer/methods/pfsense.md
+16
-8
@@ -14,14 +14,20 @@ Note that the first four packages are downloaded from the pfSense repository for
14
Netdata, Judy and Python are downloaded from the FreeBSD repository.
15
16
```sh
17
-pkg install pkgconf
18
-pkg install bash
19
-pkg install e2fsprogs-libuuid
20
-pkg install libuv
17
+pkg install -y pkgconf bash e2fsprogs-libuuid libuv nano
18
pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/Judy-1.0.5_2.txz
22
-pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/python36-3.6.9.txz
23
-ln -s /usr/local/lib/libjson-c.so /usr/local/lib/libjson-c.so.4
24
-pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/netdata-1.17.1.txz
19
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-certifi-2020.4.5.1.txz
20
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-asn1crypto-1.3.0.txz
21
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-pycparser-2.19.txz
22
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-cffi-1.14.0.txz
23
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-six-1.14.0.txz
24
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-cryptography-2.6.1.txz
25
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-idna-2.8.txz
26
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-openssl-19.0.0.txz
27
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-pysocks-1.7.1.txz
28
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-urllib3-1.25.7,1.txz
29
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py37-yaml-5.2.txz
30
+pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/netdata-1.20.0_3.txz
31
```
32
33
**Note:** If you receive a `Not Found` error during the last two commands above, you will either need to manually look
@@ -30,7 +36,9 @@ URL instead, or you can try manually changing the netdata version in the URL to
36
37
You must edit `/usr/local/etc/netdata/netdata.conf` and change `bind to = 127.0.0.1` to `bind to = 0.0.0.0`.
38
33
-To start Netdata manually, run `service netdata onestart`
39
+To start Netdata manually, run `service netdata onestart`.
40
+
41
+**Warning:** If you are using the `apcupsd` collector, you need to make sure that apcupsd is up before starting Netdata. Otherwise a infinitely running `cat` process triggered by the default activated apcuspd charts plugin will eat up CPU and RAM (`/tmp/.netdata-charts.d-*/run-*`). This also applies to `OPNsense`.
42
43
Visit the Netdata dashboard to confirm it's working: `http://<pfsenseIP>:19999`
44