RRDCOLLECT.CONF(5)

๐Ÿ“ฆ
version 0.2.10 ยท 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24

๐Ÿ’– NAME ๐Ÿ’–

okay bestie, welcome to rrdcollect.conf(5) โ€” the RRDcollect configuration file. It's literally the config bestie that says where to look for data and which database file to put it in. periodt.

โœจ SYNOPSIS โœจ

the path is right here, no cap:

/etc/rrdcollect/rrdcollect.conf

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so the rrdcollect.conf file contains information where to look for data and to which database file put it. that's the whole vibe ๐Ÿ’…

๐Ÿงฎ Variables

these are the configuration values, bestie:

# Configuration values:
step = 60
directory = /var/local/rrd
loglevel = LOG_NOTICE

๐ŸŽ€ Patterns

here's the pattern energy โ€” system stats, load, memory, S.M.A.R.T. HDD temperature, all of it:

# System statistics:
file:///proc/stat
"cpu %d %d %d %d"    stat.rrd:user,nice,system,idle
"processes %u"       stat.rrd:processes
"swap %u %u"         stat.rrd:swap_in,swap_out

# System load: 1, 5 and 15 min. average
file:///proc/loadavg
"%f %f %f"           avg1.rrd:load,avg5.rrd:load,avg15.rrd:load

# Memory usage:
file:///proc/meminfo
"Mem:  %*d %d %d %d %d %d"    memory.rrd:used,free,shared,buffers,cached
"Swap: %*d %d %*d"            memory.rrd:swap_used

# S.M.A.R.T. HDD temperature:
file:///proc/ide/hda/smart_values
7:"%*04x %*04x %02x%*02x"       temperature.rrd:hda

๐Ÿ”ฅ Regular expressions

and yes, regex is allowed, iykyk:

# Using regular expressions:
file:///proc/stat
/cpu  (\d+) (\d+) (\d+) (\d+)/    stat.rrd:user,nice,system,idle

please look into examples/ directory for working examples, bestie ๐Ÿซถ

๐ŸŒˆ FILES ๐ŸŒˆ

  • /etc/rrdcollect/rrdcollect.conf โ€” the config file path, iconic.

๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘

go peek at rrdcollect(8), rrdtool(1), and pcre(3) โœจ

๐Ÿซถ AUTHOR ๐Ÿซถ

the icons behind this:

  • Dawid Kuroczko <qnex@knm.org.pl>
  • Artur R. Czechowski <arturcz@hell.pl>

bye bestie ๐Ÿ’… โ€” this page comes from RRDcollect 0.2.10, dated 2 September 2002, and it's the RRDCOLLECT.CONF(5) manual. mwah ๐Ÿซถ

๐Ÿ“ฆ where this page comes from