Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Run this command :
- # collectd -C /etc/01.collectd.conf -P /var/run/collectd_01.pid -f
- # cat /etc/01.collectd.conf
- #Hostname "cent1.local"
- FQDNLookup false
- BaseDir "/var/lib/collectd"
- PIDFile "/var/run/collectd_01.pid"
- PluginDir "/usr/lib64/collectd"
- TypesDB "/usr/share/collectd/types.db"
- Interval 10
- Timeout 2
- ReadThreads 5
- LoadPlugin syslog
- LoadPlugin logfile
- <Plugin logfile>
- LogLevel info
- File "/var/log/collectd.log"
- Timestamp true
- PrintSeverity false
- </Plugin>
- <Plugin syslog>
- LogLevel debug
- #NotifyLevel "OKAY"
- </Plugin>
- LoadPlugin df
- LoadPlugin cpu
- #LoadPlugin disk
- LoadPlugin filecount
- LoadPlugin network
- #LoadPlugin nfs
- LoadPlugin users
- <Plugin df>
- # Device "/dev/mapper/vg_cent-lv_root"
- # Device "192.168.0.2:/mnt/nfs"
- MountPoint "/"
- FSType "ext4"
- IgnoreSelected false
- ReportByDevice false
- ReportReserved false
- ReportInodes true
- </Plugin>
- #<Plugin disk>
- # Disk "/^[hs]d[a-f][0-9]?$/"
- # IgnoreSelected true
- #</Plugin>
- <Plugin filecount>
- <Directory "/var/log/elasticsearch">
- Instance "Elastic_Log_Files"
- # Name "*.conf"
- # MTime "-5m"
- # Size "+10k"
- Recursive true
- IncludeHidden true
- </Directory>
- </Plugin>
- <Plugin network>
- <Server "0.0.0.0" "25826">
- Interface "eth0"
- </Server>
- </Plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement