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
-
Run update.sh to install or update module to netdata root
-
Make sure the /var/log/auth.log is readable for the user netdata, e.g. by usermod -aG adm netdata
-
Control if the module is working by running as user netdata:
/usr/{lib,libexec}/netdata/plugins.d/python.d.plugin SSH trace debug
-
Restart the Netdata service.
