# Configuration values: step = 30 #directory = /tmp/rrdtest directory = /var/lib/rrdcollect # System statistics: file:///proc/stat "cpu %d %d %d %d %d %d %d" stat.rrd:cpu_user,cpu_nice,cpu_system,cpu_idle,cpu_iowait,cpu_irq,cpu_softirq "ctxt %u" stat.rrd:ctxt "page %u %u" stat.rrd:page_in,page_out "processes %u" stat.rrd:processes "swap %u %u" stat.rrd:swap_in,swap_out # Memory usage: file:///proc/meminfo "MemTotal: %d" meminfo.rrd:MemTotal "MemFree: %d" meminfo.rrd:MemFree "Buffers: %d" meminfo.rrd:Buffers "Cached: %d" meminfo.rrd:Cached "SwapCached: %d" meminfo.rrd:SwapCached "Active: %d" meminfo.rrd:Active "Inactive: %d" meminfo.rrd:Inactive "HighTotal: %d" meminfo.rrd:HighTotal "HighFree: %d" meminfo.rrd:HighFree "LowTotal: %d" meminfo.rrd:LowTotal "LowFree: %d" meminfo.rrd:LowFree "SwapTotal: %d" meminfo.rrd:SwapTotal "SwapFree: %d" meminfo.rrd:SwapFree "Dirty: %d" meminfo.rrd:Dirty "Writeback: %d" meminfo.rrd:Writeback "Mapped: %d" meminfo.rrd:Mapped "Slab: %d" meminfo.rrd:Slab "CommitLimit: %d" meminfo.rrd:CommitLimit "Committed_AS: %d" meminfo.rrd:Committed_AS "PageTables: %d" meminfo.rrd:PageTables "VmallocTotal: %d" meminfo.rrd:VmallocTotal "VmallocUsed: %d" meminfo.rrd:VmallocUsed "VmallocChunk: %d" meminfo.rrd:VmallocChunk # rt_cache file:///proc/net/stat/rt_cache 2:"%x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x" rt_cache_cpu01.rrd:entries,in_hit,in_slow_tot,in_slow_mc,in_no_route,in_brd,in_martian_dst,in_martian_src,out_hit,out_slow_tot,out_slow_mc,gc_total,gc_ignored,gc_goal_mis,gc_dst_overflow,in_hlist_search,out_hlist_search 3:"%x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x" rt_cache_cpu02.rrd:entries,in_hit,in_slow_tot,in_slow_mc,in_no_route,in_brd,in_martian_dst,in_martian_src,out_hit,out_slow_tot,out_slow_mc,gc_total,gc_ignored,gc_goal_mis,gc_dst_overflow,in_hlist_search,out_hlist_search 4:"%x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x" rt_cache_cpu03.rrd:entries,in_hit,in_slow_tot,in_slow_mc,in_no_route,in_brd,in_martian_dst,in_martian_src,out_hit,out_slow_tot,out_slow_mc,gc_total,gc_ignored,gc_goal_mis,gc_dst_overflow,in_hlist_search,out_hlist_search 5:"%x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x" rt_cache_cpu04.rrd:entries,in_hit,in_slow_tot,in_slow_mc,in_no_route,in_brd,in_martian_dst,in_martian_src,out_hit,out_slow_tot,out_slow_mc,gc_total,gc_ignored,gc_goal_mis,gc_dst_overflow,in_hlist_search,out_hlist_search # ip_conntrack file:///proc/net/stat/ip_conntrack 2:"%x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x" ip_conntrack_cpu01.rrd:entries,searched,found,new,invalid,ignore,delete,delete_list,insert,insert_failed,drop,early_drop,icmp_error,expect_new,expect_create,expect_delete 3:"%x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x" ip_conntrack_cpu02.rrd:entries,searched,found,new,invalid,ignore,delete,delete_list,insert,insert_failed,drop,early_drop,icmp_error,expect_new,expect_create,expect_delete 4:"%x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x" ip_conntrack_cpu03.rrd:entries,searched,found,new,invalid,ignore,delete,delete_list,insert,insert_failed,drop,early_drop,icmp_error,expect_new,expect_create,expect_delete 5:"%x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x" ip_conntrack_cpu04.rrd:entries,searched,found,new,invalid,ignore,delete,delete_list,insert,insert_failed,drop,early_drop,icmp_error,expect_new,expect_create,expect_delete # arp_cache file:///proc/net/stat/arp_cache 2:"%x %x %x %x %x %x %x %x %x %x %x" arp_cache_cpu01.rrd:entries,allocs,destroys,hash_grows,lookups,hits,res_failed,rcv_probes_mcast,rcv_probes_ucast,periodic_gc_runs,forced_gc_runs 3:"%x %x %x %x %x %x %x %x %x %x %x" arp_cache_cpu02.rrd:entries,allocs,destroys,hash_grows,lookups,hits,res_failed,rcv_probes_mcast,rcv_probes_ucast,periodic_gc_runs,forced_gc_runs 4:"%x %x %x %x %x %x %x %x %x %x %x" arp_cache_cpu03.rrd:entries,allocs,destroys,hash_grows,lookups,hits,res_failed,rcv_probes_mcast,rcv_probes_ucast,periodic_gc_runs,forced_gc_runs 5:"%x %x %x %x %x %x %x %x %x %x %x" arp_cache_cpu04.rrd:entries,allocs,destroys,hash_grows,lookups,hits,res_failed,rcv_probes_mcast,rcv_probes_ucast,periodic_gc_runs,forced_gc_runs # Net: statistics file:///proc/net/dev " eth0:%d %d %*d %*d %*d %*d %*d %*d %d %d" eth0.rrd:bytes_in,pkts_in,bytes_out,pkts_out " eth1:%d %d %*d %*d %*d %*d %*d %*d %d %d" eth1.rrd:bytes_in,pkts_in,bytes_out,pkts_out # softnet_stat file:///proc/net/softnet_stat 1:"%x %x %x %*x %*x %*x %*x %*x %x" softnet_stat_cpu01.rrd:total,dropped,time_squeeze,cpu_collision 2:"%x %x %x %*x %*x %*x %*x %*x %x" softnet_stat_cpu02.rrd:total,dropped,time_squeeze,cpu_collision 3:"%x %x %x %*x %*x %*x %*x %*x %x" softnet_stat_cpu03.rrd:total,dropped,time_squeeze,cpu_collision 4:"%x %x %x %*x %*x %*x %*x %*x %x" softnet_stat_cpu04.rrd:total,dropped,time_squeeze,cpu_collision # Interrupts file:///proc/interrupts #"%*d: %d %d IO-APIC-fasteoi eth0" interrupts.rrd:eth0_cpu01,eth0_cpu02 #"%*d: %d %d IO-APIC-fasteoi eth1" interrupts.rrd:eth1_cpu01,eth1_cpu02 "NMI: %d %d" interrupts.rrd:NMI_cpu01,NMI_cpu02 "LOC: %d %d" interrupts.rrd:LOC_cpu01,LOC_cpu02 "RES: %d %d" interrupts.rrd:RES_cpu01,RES_cpu02 "CAL: %d %d" interrupts.rrd:CAL_cpu01,CAL_cpu02 "TLB: %d %d" interrupts.rrd:TLB_cpu01,TLB_cpu02