added a complete graph of processes statistics

This commit is contained in:
Jordi Sanfeliu 2014-06-03 18:34:29 +02:00
parent 6dc5a32038
commit 6a3fda8be8
2 changed files with 1512 additions and 1 deletions

1485
lib/process.pm Normal file

File diff suppressed because it is too large Load Diff

View File

@ -82,6 +82,7 @@ secure_log_date_format = %b %e
net = y
netstat = y
libvirt = n
process = n
serv = y
mail = n
port = y
@ -266,6 +267,22 @@ secure_log_date_format = %b %e
</libvirt>
# PROCESS graph
# -----------------------------------------------------------------------------
<process>
<list>
0 = httpd, sshd, ntpd, mysqld, proftpd, clamd, imap, sendmail, named, bash
</list>
<desc>
httpd = Apache
imap = Dovecot
named = Bind
</desc>
rigid = 2, 0, 0, 0, 0, 0, 0, 0
limit = 100, 1000, 1000, 1000, 1000, 1000, 1000, 1000
</process>
# SERV graph
# -----------------------------------------------------------------------------
<serv>
@ -667,7 +684,7 @@ logo_bottom = logo_bot.png
remote = 300x100
</graph_size>
graph_name = system, kern, proc, hptemp, lmsens, nvidia, disk, fs, net, netstat, libvirt, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, squid, nfss, nfsc, bind, ntp, fail2ban, icecast, raspberrypi, phpapc, memcached, apcupsd, wowza, int
graph_name = system, kern, proc, hptemp, lmsens, nvidia, disk, fs, net, netstat, libvirt, process, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, squid, nfss, nfsc, bind, ntp, fail2ban, icecast, raspberrypi, phpapc, memcached, apcupsd, wowza, int
<graph_title>
system = System load average and usage
@ -681,6 +698,7 @@ graph_name = system, kern, proc, hptemp, lmsens, nvidia, disk, fs, net, netstat,
net = Network traffic and usage
netstat = Netstat statistics
libvirt = Libvirt statistics
process = Processes statistics
serv = System services demand
mail = Mail statistics
port = Network port traffic
@ -743,6 +761,14 @@ graph_name = system, kern, proc, hptemp, lmsens, nvidia, disk, fs, net, netstat,
_libvirt2 = Memory usage
_libvirt3 = Disk usage
_libvirt4 = Network usage
_process1 = CPU time usage
_process2 = Memory usage
_process3 = Disk usage
_process4 = Network usage
_process5 = Opened files
_process6 = Number of threads
_process7 = Context switches
_process8 = Number of processes
_serv1 = System services demand
_serv2 = IMAP and POP3 services
_serv3 = SMTP service