# Dynamo SNMP MIB Interface for Cricket # Michael Han, Taos Mountain, for Springstreet 1/2001 # http://www.mikehan.com/sysadmin/cricket-dynamo.html # # See $DYNAMO_HOME/src/snmp/Dynamo3Mib.mib for further information # about the OIDs supported by Dynamo, and their significance Target --default-- snmp-community = "public" snmp-host = "%host%" snmp-port = "8870" target-type = dynamo short-desc = "%host% %drp%" # Specific server targets can be collected using something like: # # target hostname-drpID # drp = "drpID" # host = "hostname" # These are all the OIDs that seemed potentially interesting to me # from a performance perspective # XXX # Sorry, just in case ATG decides that I shouldn't be publishing material # lifted from their sources... Just grab the above-referenced MIB from your # Dynamo install and rekey the OIDs... It's a PITA, but unless I think ATG # won't bug me, sorry. datasource sysTotalMem ds-source = snmp://%snmp%/sysTotalMem rrd-ds-type = GAUGE datasource sysFreeMem ds-source = snmp://%snmp%/sysFreeMem rrd-ds-type = GAUGE datasource stCreatedSessionCnt ds-source = snmp://%snmp%/stCreatedSessionCnt rrd-ds-type = COUNTER datasource stValidSessionCnt ds-source = snmp://%snmp%/stValidSessionCnt rrd-ds-type = COUNTER datasource stRestoredSessionCnt ds-source = snmp://%snmp%/stRestoredSessionCnt rrd-ds-type = COUNTER datasource drpTotalReqsServed ds-source = snmp://%snmp%/drpTotalReqsServed rrd-ds-type = COUNTER datasource drpTotalReqTime ds-source = snmp://%snmp%/drpTotalReqTime rrd-ds-type = GAUGE datasource drpAvgReqTime ds-source = snmp://%snmp%/drpAvgReqTime rrd-ds-type = GAUGE datasource dbMinConn ds-source = snmp://%snmp%/dbMinConn rrd-ds-type = GAUGE datasource dbMaxConn ds-source = snmp://%snmp%/dbMaxConn rrd-ds-type = GAUGE datasource dbMaxFreeConn ds-source = snmp://%snmp%/dbMaxFreeConn rrd-ds-type = GAUGE datasource dbConnOut ds-source = snmp://%snmp%/dbConnOut rrd-ds-type = GAUGE datasource dbFreeResources ds-source = snmp://%snmp%/dbFreeResources rrd-ds-type = GAUGE datasource dbTotalResources ds-source = snmp://%snmp%/dbTotalResources rrd-ds-type = GAUGE targetType dynamo ds = "sysFreeMem, sysTotalMem, drpTotalReqsServed, stCreatedSessionCnt, drpAvgReqTime" view = "JVM Heap: sysFreeMem sysTotalMem, Requests: drpTotalReqsServed stCreatedSessionCnt, Processing Time: drpAvgReqTime" graph sysTotalMem color = "blue" bytes = 1 draw-as = LINE1 units = "Bytes total" graph sysFreeMem color = "dark-green" bytes = 1 draw-as = AREA units = "Bytes free" graph drpTotalReqsServed color = "blue" draw-as = LINE1 units = "requests" # N.B. Set this to a reasonable number. Restarting Dynamo will # result in what appears to be a HUGE spike in your request # rate, totally obliterating the visual significance of your # normal data. y-max = 10 y-min = 0 graph stValidSessionCnt color = "red" draw-as = LINE1 units = "sessions" graph stCreatedSessionCnt color = "dark-green" draw-as = AREA units = "new sessions" # N.B. Set this to a reasonable number. Restarting Dynamo will # result in what appears to be a HUGE spike in your request # rate, totally obliterating the visual significance of your # normal data. y-max = 10 y-min = 0 graph drpTotalReqTime color = "blue" draw-as = LINE1 units = "total time" graph drpAvgReqTime color = "blue" draw-as = LINE1 units = "average time" scale = 1000,/ # XXX # Database connection pool statistics can only be retrieved if you collect # from the default pool, or if you enable collection of your non-default # connection pool. This is documented in the Dynamo Deployment Guide, Chapter # 6, "Dynamo System Console" section. graph dbTotalResources color = "blue" draw-as = LINE1 units = "connections" graph dbFreeResources color = "red" draw-as = LINE1 units = "connections" graph dbConnOut color = "dark-green" draw-as = AREA units = "connections"