Changes

Jump to navigation Jump to search
618 bytes added ,  15:48, 30 August 2018
Adds firewall config
== Installation extras ==
 
The configuration will send messages to 'root' so be sure to either edit the conf <code>sudo vim /etc/netdata/health_alarm_notify.conf</code>, or set <code>vim /etc/aliases && newaliases</code>
== Issues == You'll probably receive alarms for 'tcp listen drops'. This is likely bot-related, (sending INVALID packets) and there NOT due to your application dropping legitimate packets. There is a good discussion on how to identify the source of the problem and how to mitigate or resolve it [https://github.com/firehol/netdata/issues/3234Issue #3234] [https://github.com/firehol/netdata/issues/3826 Issue #3826] TLDR; increase the threshold to 1 (<code>/etc/netdata/health.d/tcp_listen.conf</code>) so you don't get bogus alerts.  Also, you should modify your firewall to drop invalid packets before they're either counted (by netstats) or dropped (by the kernel). <source lang="bash">iptables -A INPUT -m conntrack --ctstate INVALID -j DROP iptables -A INPUT -m tcp -p tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m conntrack --ctstate NEW -j DROP</source>
Following the advice from NASA at https://wiki.earthdata.nasa.gov/display/HDD/SOMAXCONN, I increased my somaxconn kernel parameter to 1024 from 128
4,558

edits

Navigation menu