forked from annttu/collectd-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
xm1234567/collectd-plugins
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== Collection of collectd plugins == Author: Antti Jaakkola == Description == Some collectd plugins I have done. == Content == pgstore - store data to postgres database - written in python - uses psycopg2 and threads fail2ban - crawls enabled plugins and get banned ips count == Some adaptions under centos 7.8 == module path: from fail2ban.client.csocket import CSocket from fail2ban.client.configurator import Configurator permissions for collectd: r permission for /etc/fail2ban/fail2ban.local rw permisson for /var/run/fail2ban/fail2ban.sock Note: Every time, fail2ban service restart, the rw permission on /var/run/fail2ban/fail2ban.sock for collectd is lost. Need to find some permanent, good and safe solution? a config example: cat /etc/collectd.d/collectd.conf.d/fail2ban.conf LoadPlugin python <Plugin python> ModulePath "/opt/collectd/lib_develop" Import fail2ban2collectd </Plugin> ls -al /opt/collectd/lib_develop/fail2ban2collectd.py -rwxr-xr-x 1 root root 3923 Oct 12 11:19 /opt/collectd/lib_develop/fail2ban2collectd.py
About
Plugins for collectd
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%