Index: opennms/etc/datacollection-config.xml =================================================================== RCS file: /cvsroot/opennms/opennms/etc/datacollection-config.xml,v retrieving revision 1.27 diff -u -r1.27 datacollection-config.xml --- opennms/etc/datacollection-config.xml 21 Jan 2005 15:10:37 -0000 1.27 +++ opennms/etc/datacollection-config.xml 6 Feb 2005 19:36:02 -0000 @@ -14,9 +14,13 @@ + + + + @@ -369,9 +373,13 @@ - - - + + + + + + + Index: opennms/etc/snmp-graph.properties =================================================================== RCS file: /cvsroot/opennms/opennms/etc/snmp-graph.properties,v retrieving revision 1.27 diff -u -r1.27 snmp-graph.properties --- opennms/etc/snmp-graph.properties 31 Jan 2005 19:27:54 -0000 1.27 +++ opennms/etc/snmp-graph.properties 6 Feb 2005 19:31:24 -0000 @@ -24,6 +24,9 @@ # In order to get a report (defined below) to be automatically generated # its name must be included in the "reports" variable. +# NOTE: Because of the large format of the netsnmp.memStats report it +# has been placed before netsnmp.cpuStats so that it looks better. +# # NOTE: Because of the large format of the netsnmp.cpuStats report, it # has been placed last so that it looks better. Everything else # should be in alphabetical order. @@ -60,6 +63,7 @@ sinf.availmem, sinf.mempool, sinf.paging, sinf.processes, sinf.sysmem, \ sun.cpuTime, sun.diskxfer, sun.interrupts, sun.packets, sun.paging, sun.procs, \ sun.swap, sun.swapping, \ +netsnmp.memStats, \ netsnmp.cpuStats # values available to prefab reports: @@ -1524,6 +1528,38 @@ AREA:cpuUse100#FF0000 \ LINE1:float15#000000 +report.netsnmp.memStats.name=System Memory Stats +report.netsnmp.memStats.columns=memAvailSwap,memTotalReal,memBuffer,memCached,memShared +report.netsnmp.memStats.type=node +report.netsnmp.memStats.command=--title="System Memory Stats" \ + --width 565 \ + --height 200 \ + -l 0 \ + DEF:memavailswap={rrd1}:memAvailSwap:AVERAGE \ + DEF:memtotalreal={rrd2}:memTotalReal:AVERAGE \ + DEF:membuffer={rrd3}:memBuffer:AVERAGE \ + DEF:memcached={rrd4}:memCached:AVERAGE \ + DEF:memshared={rrd5}:memShared:AVERAGE \ + LINE2:memavailswap#ff0000:"Total Swap " \ + GPRINT:memavailswap:AVERAGE:" Avg \\: %8.2lf %s" \ + GPRINT:memavailswap:MIN:"Min \\: %8.2lf %s" \ + GPRINT:memavailswap:MAX:"Max \\: %8.2lf %s\\n" \ + LINE2:memtotalreal#0000ff:"Total Real Mem" \ + GPRINT:memtotalreal:AVERAGE:" Avg \\: %8.2lf %s" \ + GPRINT:memtotalreal:MIN:"Min \\: %8.2lf %s" \ + GPRINT:memtotalreal:MAX:"Max \\: %8.2lf %s\\n" \ + AREA:membuffer#00aa00:"IO Buff Ram " \ + GPRINT:membuffer:AVERAGE:" Avg \\: %8.2lf %s" \ + GPRINT:membuffer:MIN:"Min \\: %8.2lf %s" \ + GPRINT:membuffer:MAX:"Max \\: %8.2lf %s\\n" \ + STACK:memcached#00ffff:"Filesystem Cache" \ + GPRINT:memcached:AVERAGE:"Avg \\: %8.2lf %s" \ + GPRINT:memcached:MIN:"Min \\: %8.2lf %s" \ + GPRINT:memcached:MAX:"Max \\: %8.2lf %s\\n" \ + LINE2:memshared#000a44:"Shared Mem " \ + GPRINT:memshared:AVERAGE:" Avg \\: %8.2lf %s" \ + GPRINT:memshared:MIN:"Min \\: %8.2lf %s" \ + GPRINT:memshared:MAX:"Max \\: %8.2lf %s\\n" report.netsnmp.diskroot.name=Disk Space on / report.netsnmp.diskroot.columns=ns-disk-root-tot, ns-disk-root-used