Collectd - client configs
* WIFI configs NOTE: Respect the FIXME
This commit is contained in:
parent
2fc34c1fed
commit
576736ebf9
|
@ -0,0 +1,112 @@
|
|||
##############################################################################
|
||||
# Global #
|
||||
#----------------------------------------------------------------------------#
|
||||
# Global settings for the daemon. #
|
||||
##############################################################################
|
||||
|
||||
#Hostname "localhost"
|
||||
FQDNLookup false
|
||||
#BaseDir "/var/lib/collectd"
|
||||
#PluginDir "/usr/lib/collectd"
|
||||
TypesDB "/usr/share/collectd/types.db" "/etc/collectd/openwrt.db"
|
||||
|
||||
#----------------------------------------------------------------------------#
|
||||
# Interval at which to query values. This may be overwritten on a per-plugin #
|
||||
# base by using the 'Interval' option of the LoadPlugin block: #
|
||||
# <LoadPlugin foo> #
|
||||
# Interval 60 #
|
||||
# </LoadPlugin> #
|
||||
#----------------------------------------------------------------------------#
|
||||
Interval 10
|
||||
|
||||
#Timeout 2
|
||||
#ReadThreads 5
|
||||
# avoid race conditions if multiple datapoints are packed in a single packet
|
||||
WriteThreads 2
|
||||
|
||||
# Logging
|
||||
LoadPlugin syslog
|
||||
<Plugin syslog>
|
||||
LogLevel info
|
||||
</Plugin>
|
||||
|
||||
# now start collecting
|
||||
LoadPlugin cpu
|
||||
|
||||
# free space
|
||||
LoadPlugin df
|
||||
<Plugin df>
|
||||
# Ignore listed filesystems
|
||||
IgnoreSelected true
|
||||
# and select all virtual crap
|
||||
FSType bdev
|
||||
FSType binfmt_misc
|
||||
FSType cgroup
|
||||
FSType cpuset
|
||||
FSType debugfs
|
||||
FSType devpts
|
||||
FSType devtmpfs
|
||||
FSType hugetlbfs
|
||||
FSType mqueue
|
||||
FSType pipefs
|
||||
FSType proc
|
||||
FSType pstore
|
||||
FSType ramfs
|
||||
FSType rootfs
|
||||
FSType rpc_pipefs
|
||||
FSType securityfs
|
||||
FSType sockfs
|
||||
FSType sysfs
|
||||
FSType tmpfs
|
||||
</Plugin>
|
||||
|
||||
# IOPS
|
||||
LoadPlugin disk
|
||||
|
||||
# LOADAVG
|
||||
LoadPlugin load
|
||||
|
||||
# Ram utilisation
|
||||
LoadPlugin memory
|
||||
|
||||
# SWAP
|
||||
LoadPlugin swap
|
||||
|
||||
# Logged in
|
||||
LoadPlugin users
|
||||
|
||||
# traffic
|
||||
LoadPlugin interface
|
||||
<Plugin interface>
|
||||
# ignore the bridge (useless)
|
||||
IgnoreSelected true
|
||||
Interface "br-lan"
|
||||
</Plugin>
|
||||
|
||||
# IRQ
|
||||
LoadPlugin irq
|
||||
|
||||
# Connection tracking table
|
||||
LoadPlugin ConnTrack
|
||||
|
||||
# context switches (how hard we are working)
|
||||
LoadPlugin ContextSwitch
|
||||
|
||||
# general wireless statistics (iwinfo)
|
||||
LoadPlugin iwinfo
|
||||
|
||||
# wireless power/quality not extremely usefull
|
||||
LoadPlugin wireless
|
||||
|
||||
# now lets send some data here and there
|
||||
# def port 25826
|
||||
LoadPlugin network
|
||||
<Plugin network>
|
||||
# FIXME: Add the propper collector name (ERIC?)
|
||||
<Server COLLECTOR>
|
||||
# FIXME: put the propper managment interface
|
||||
Interface eth0.100
|
||||
ResolveInterval 30
|
||||
</Server>
|
||||
ReportStats true
|
||||
</Plugin>
|
|
@ -0,0 +1 @@
|
|||
# Collectd client configs
|
|
@ -0,0 +1,4 @@
|
|||
stations value:GAUGE:0:256
|
||||
signal_noise_mw value:GAUGE:0:U
|
||||
signal_power_mw value:GAUGE:0:U
|
||||
|
Loading…
Reference in New Issue