This is a simple module for Netdata to add a chart to show failed authentication's count of SSH.
Now this module tested on Debian based systems. I'll test it on CentOS soon. But I think it would work on CentOS if you change "path" field in SSH.conf to "/var/log/secure" and change owner of this file to netdata.
-
Clone repo and copy SSH.chart.py to /usr/libexec/netdata/python.d/SSH.chart.py and change it's owner to netdata (sudo chown netdata:netdata /usr/libexec/netdata/python.d/SSH.chart)
-
Copy SSH.conf to /etc/netdata/python.d/SSH.conf and change its owner to netdata too.
-
Restart the Netdata service.