Monitoring: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 16: Строка 16:
   
 
===Config Files===
 
===Config Files===
  +
All config files are in /etc/collectd/
  +
<BR>
  +
/etc/collectd/conf.d stores plugin configuration files
 
<PRE>
 
<PRE>
  +
# ls -lsa /etc/collectd/conf.d/
  +
4 -rw-r----- 1 root root 169 Jan 18 16:38 05-logfile.conf
  +
4 -rw-r----- 1 root root 71 Jan 18 16:38 10-cpu.conf
  +
4 -rw-r----- 1 root root 289 Jan 18 16:38 10-df.conf
  +
4 -rw-r----- 1 root root 145 Jan 18 16:38 10-disk.conf
  +
4 -rw-r----- 1 root root 189 Jan 18 16:38 10-interface.conf
  +
4 -rw-r----- 1 root root 72 Jan 18 16:38 10-load.conf
  +
4 -rw-r----- 1 root root 74 Jan 18 16:38 10-memory.conf
  +
4 -rw-r----- 1 root root 77 Jan 18 16:38 10-processes.conf
  +
4 -rw-r----- 1 root root 138 Jan 18 16:38 10-swap.conf
  +
4 -rw-r----- 1 root root 73 Jan 18 16:38 10-users.conf
  +
4 -rw-r----- 1 root root 189 Jan 18 16:38 10-write_http.conf
  +
4 -rw-r----- 1 root root 66 Jan 18 16:38 processes-config.conf
 
</PRE>
 
</PRE>
   

Версия 14:36, 19 января 2016

Monitorimg

Collectd

Collectd is simple data collector, use plugins to collect data and output plugins to send tada to another tool (heka in our confuration)
Collectd is collecting following metrics (compute node, simple cluster):

Metrics

  • cpu (CPU usage)
  • df (disk usage/free size)
  • disk (disk usage/IOPS)
  • interface (interfece usage/bytes sent and received )
  • load (Linux LA)
  • memory (memory usage)
  • processes (processes count)
  • swap (swap usage)

Config Files

All config files are in /etc/collectd/
/etc/collectd/conf.d stores plugin configuration files

# ls -lsa /etc/collectd/conf.d/
4 -rw-r----- 1 root root  169 Jan 18 16:38 05-logfile.conf
4 -rw-r----- 1 root root   71 Jan 18 16:38 10-cpu.conf
4 -rw-r----- 1 root root  289 Jan 18 16:38 10-df.conf
4 -rw-r----- 1 root root  145 Jan 18 16:38 10-disk.conf
4 -rw-r----- 1 root root  189 Jan 18 16:38 10-interface.conf
4 -rw-r----- 1 root root   72 Jan 18 16:38 10-load.conf
4 -rw-r----- 1 root root   74 Jan 18 16:38 10-memory.conf
4 -rw-r----- 1 root root   77 Jan 18 16:38 10-processes.conf
4 -rw-r----- 1 root root  138 Jan 18 16:38 10-swap.conf
4 -rw-r----- 1 root root   73 Jan 18 16:38 10-users.conf
4 -rw-r----- 1 root root  189 Jan 18 16:38 10-write_http.conf
4 -rw-r----- 1 root root   66 Jan 18 16:38 processes-config.conf

Heka