{ name = "cpumem"; filename = "sysinfo/sysinfo.rrd"; interval = 120; parser = "cpu_mem"; image = ( { rrd_database = ""; filename = "sysinfo/images/cpu_daily.png"; width = 720; height = 480; timestart = "end-1d"; timeend = "now"; imageformat = "PNG"; options = ( "--alt-autoscale-max", "--lower-limit", "0", "--vertical-label", "CPU Tics" ); text_lead = 0; text = ( "DEF:us=sysinfo/sysinfo.rrd:User:AVERAGE", "DEF:ni=sysinfo/sysinfo.rrd:Nice:AVERAGE", "DEF:sy=sysinfo/sysinfo.rrd:Sys:AVERAGE", "DEF:id=sysinfo/sysinfo.rrd:Idle:AVERAGE", "DEF:wa=sysinfo/sysinfo.rrd:Wait:AVERAGE", "DEF:in=sysinfo/sysinfo.rrd:IRQ:AVERAGE", "DEF:so=sysinfo/sysinfo.rrd:SoftIRQ:AVERAGE", "COMMENT:\\n", "COMMENT: ", "COMMENT: MIN MAX AVG Last\\n", "COMMENT: ", "AREA:sy#ff0000:System ", "GPRINT:sy:MIN: % 8.2lf ", "GPRINT:sy:MAX: % 8.2lf ", "GPRINT:sy:AVERAGE: % 8.2lf ", "GPRINT:sy:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:us#0000ff:User ", "GPRINT:us:MIN: % 8.2lf ", "GPRINT:us:MAX: % 8.2lf ", "GPRINT:us:AVERAGE: % 8.2lf ", "GPRINT:us:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:ni#00ff00:Nice ", "GPRINT:ni:MIN: % 8.2lf ", "GPRINT:ni:MAX: % 8.2lf ", "GPRINT:ni:AVERAGE: % 8.2lf ", "GPRINT:ni:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:id#ffffff:Idle ", "GPRINT:id:MIN: % 8.2lf ", "GPRINT:id:MAX: % 8.2lf ", "GPRINT:id:AVERAGE: % 8.2lf ", "GPRINT:id:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:wa#ff00ff:IO wait ", "GPRINT:wa:MIN: % 8.2lf ", "GPRINT:wa:MAX: % 8.2lf ", "GPRINT:wa:AVERAGE: % 8.2lf ", "GPRINT:wa:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:in#ffff00:IRQ ", "GPRINT:in:MIN: % 8.2lf ", "GPRINT:in:MAX: % 8.2lf ", "GPRINT:in:AVERAGE: % 8.2lf ", "GPRINT:in:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:so#00ffff:Soft IRQ ", "GPRINT:so:MIN: % 8.2lf ", "GPRINT:so:MAX: % 8.2lf ", "GPRINT:so:AVERAGE: % 8.2lf ", "GPRINT:so:LAST: % 8.2lf \\n", "COMMENT: \\n" ); }, { filename = "sysinfo/images/cpu_weekly.png"; timestart = "end-1w"; }, { filename = "sysinfo/images/cpu_monthly.png"; timestart = "end-1m"; }, { filename = "sysinfo/images/cpu_yearly.png"; timestart = "end-1y"; }, { filename = "sysinfo/images/mem_daily.png"; timestart = "end-1d"; options = ( "--alt-autoscale-max", "--lower-limit", "0", "--vertical-label", "Mem usage (MB)", "--units-exponent", "0", "--base", "1024" ); text = ( "DEF:fr=sysinfo/sysinfo.rrd:Free:AVERAGE", "DEF:bu=sysinfo/sysinfo.rrd:Buffers:AVERAGE", "DEF:ca=sysinfo/sysinfo.rrd:Cached:AVERAGE", "DEF:an=sysinfo/sysinfo.rrd:Anon:AVERAGE", "DEF:sl=sysinfo/sysinfo.rrd:Slab:AVERAGE", "DEF:ta=sysinfo/sysinfo.rrd:Tables:AVERAGE", "DEF:ot=sysinfo/sysinfo.rrd:Other:AVERAGE", "DEF:sw=sysinfo/sysinfo.rrd:Swap:AVERAGE", "COMMENT:\\n", "COMMENT: ", "COMMENT: MIN MAX AVG Last\\n", "COMMENT: ", "AREA:bu#ffff00:Buffers ", "GPRINT:bu:MIN: % 8.2lf ", "GPRINT:bu:MAX: % 8.2lf ", "GPRINT:bu:AVERAGE: % 8.2lf ", "GPRINT:bu:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:an#000000:AnonPages ", "GPRINT:an:MIN: % 8.2lf ", "GPRINT:an:MAX: % 8.2lf ", "GPRINT:an:AVERAGE: % 8.2lf ", "GPRINT:an:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:ca#00ff00:Cached ", "GPRINT:ca:MIN: % 8.2lf ", "GPRINT:ca:MAX: % 8.2lf ", "GPRINT:ca:AVERAGE: % 8.2lf ", "GPRINT:ca:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:fr#ffffff:Free ", "GPRINT:fr:MIN: % 8.2lf ", "GPRINT:fr:MAX: % 8.2lf ", "GPRINT:fr:AVERAGE: % 8.2lf ", "GPRINT:fr:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:sl#00ffff:Slab ", "GPRINT:sl:MIN: % 8.2lf ", "GPRINT:sl:MAX: % 8.2lf ", "GPRINT:sl:AVERAGE: % 8.2lf ", "GPRINT:sl:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:ta#0000ff:PageTables ", "GPRINT:ta:MIN: % 8.2lf ", "GPRINT:ta:MAX: % 8.2lf ", "GPRINT:ta:AVERAGE: % 8.2lf ", "GPRINT:ta:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:ot#a0a0a0:Other ", "GPRINT:ot:MIN: % 8.2lf ", "GPRINT:ot:MAX: % 8.2lf ", "GPRINT:ot:AVERAGE: % 8.2lf ", "GPRINT:ot:LAST: % 8.2lf \\n", "COMMENT: ", "STACK:sw#ff0000:Swap ", "GPRINT:sw:MIN: % 8.2lf ", "GPRINT:sw:MAX: % 8.2lf ", "GPRINT:sw:AVERAGE: % 8.2lf ", "GPRINT:sw:LAST: % 8.2lf \\n", "COMMENT: \\n" ); }, { filename = "sysinfo/images/mem_weekly.png"; timestart = "end-1w"; }, { filename = "sysinfo/images/mem_monthly.png"; timestart = "end-1m"; }, { filename = "sysinfo/images/mem_yearly.png"; timestart = "end-1y"; } ); sources = ( { type = "COUNTER"; name = "User"; heartbeat = 240; min = 0.0; max = 1200.0; }, { type = "COUNTER"; name = "Nice"; }, { type = "COUNTER"; name = "Sys"; }, { type = "COUNTER"; name = "Idle"; }, { type = "COUNTER"; name = "Wait"; }, { type = "COUNTER"; name = "IRQ"; }, { type = "COUNTER"; name = "SoftIRQ"; }, { type = "GAUGE"; name = "Free"; max = 32768.0; }, { type = "GAUGE"; name = "Buffers"; }, { type = "GAUGE"; name = "Cached"; }, { type = "GAUGE"; name = "Active"; }, { type = "GAUGE"; name = "Inactive"; }, { type = "GAUGE"; name = "SwapFree"; }, { type = "GAUGE"; name = "Anon"; }, { type = "GAUGE"; name = "Slab"; }, { type = "GAUGE"; name = "Tables"; }, { type = "GAUGE"; name = "Other"; }, { type = "GAUGE"; name = "Swap"; } ); archives = ( { type = "AVERAGE"; xff = 0.5; steps = 1; rows = 720; }, { type = "AVERAGE"; steps = 7; }, { type = "AVERAGE"; steps = 31; }, { type = "AVERAGE"; steps = 365; }, { type = "MIN"; steps = 1; }, { type = "MIN"; steps = 7; }, { type = "MIN"; steps = 31; }, { type = "MIN"; steps = 365; }, { type = "MAX"; steps = 1; }, { type = "MAX"; steps = 7; }, { type = "MAX"; steps = 31; }, { type = "MAX"; steps = 365; } ); }, { name = "network"; filename = "sysinfo/network.rrd"; interval = 120; parser = "netstats"; parser_data = ( "eth0", "eth1" ); image = ( { rrd_database = ""; filename = "sysinfo/images/eth0_daily.png"; width = 720; height = 200; timestart = "end-1d"; timeend = "now"; imageformat = "PNG"; options = ( "--alt-autoscale-max", "--vertical-label", "Bytes", "--lower-limit", "0" ); text_lead = 0; text = ( "DEF:rxb=sysinfo/network.rrd:eth0rxb:AVERAGE", "DEF:txb=sysinfo/network.rrd:eth0txb:AVERAGE", "COMMENT:\\n", "COMMENT: ", "COMMENT: MIN MAX AVG Last\\n", "COMMENT: ", "LINE1:rxb#0000FF:eth0 receive ", "GPRINT:rxb:MIN: % 3.2lf %sB", "GPRINT:rxb:MAX: % 3.2lf %sB", "GPRINT:rxb:AVERAGE: % 3.2lf %sB", "GPRINT:rxb:LAST: % 3.2lf %sB\\n", "COMMENT: ", "LINE1:txb#00FF00:eth0 transmit ", "GPRINT:txb:MIN: % 3.2lf %sB", "GPRINT:txb:MAX: % 3.2lf %sB", "GPRINT:txb:AVERAGE: % 3.2lf %sB", "GPRINT:txb:LAST: % 3.2lf %sB\\n", "COMMENT: \\n" ); }, { filename = "sysinfo/images/eth0_weekly.png"; timestart = "end-1w"; }, { filename = "sysinfo/images/eth0_monthly.png"; timestart = "end-1m"; }, { filename = "sysinfo/images/eth0_yearly.png"; timestart = "end-1y"; }, { filename = "sysinfo/images/eth1_daily.png"; timestart = "end-1d"; text = ( "DEF:rxb=sysinfo/network.rrd:eth1rxb:AVERAGE", "DEF:txb=sysinfo/network.rrd:eth1txb:AVERAGE", "COMMENT:\\n", "COMMENT: ", "COMMENT: MIN MAX AVG Last\\n", "COMMENT: ", "LINE1:rxb#0000FF:eth1 receive ", "GPRINT:rxb:MIN: % 3.2lf %sB", "GPRINT:rxb:MAX: % 3.2lf %sB", "GPRINT:rxb:AVERAGE: % 3.2lf %sB", "GPRINT:rxb:LAST: % 3.2lf %sB\\n", "COMMENT: ", "LINE1:txb#00FF00:eth1 transmit ", "GPRINT:txb:MIN: % 3.2lf %sB", "GPRINT:txb:MAX: % 3.2lf %sB", "GPRINT:txb:AVERAGE: % 3.2lf %sB", "GPRINT:txb:LAST: % 3.2lf %sB\\n", "COMMENT: \\n" ); }, { filename = "sysinfo/images/eth1_weekly.png"; timestart = "end-1w"; }, { filename = "sysinfo/images/eth1_monthly.png"; timestart = "end-1m"; }, { filename = "sysinfo/images/eth1_yearly.png"; timestart = "end-1y"; } ); sources = ( { type = "COUNTER"; name = "eth0rxb"; heartbeat = 240; min = 0.0; max = 1.2e+11; }, { type = "COUNTER"; name = "eth0rxp"; }, { type = "COUNTER"; name = "eth0txb"; }, { type = "COUNTER"; name = "eth0txp"; }, { type = "COUNTER"; name = "eth1rxb"; }, { type = "COUNTER"; name = "eth1rxp"; }, { type = "COUNTER"; name = "eth1txb"; }, { type = "COUNTER"; name = "eth1txp"; } ); archives = ( { type = "AVERAGE"; xff = 0.5; steps = 1; rows = 720; }, { type = "AVERAGE"; steps = 7; }, { type = "AVERAGE"; steps = 31; }, { type = "AVERAGE"; steps = 365; }, { type = "MIN"; steps = 1; }, { type = "MIN"; steps = 7; }, { type = "MIN"; steps = 31; }, { type = "MIN"; steps = 365; }, { type = "MAX"; steps = 1; }, { type = "MAX"; steps = 7; }, { type = "MAX"; steps = 31; }, { type = "MAX"; steps = 365; } ); }