Cisco VPDN Sessions und Tunnel – OpenNMS Datacollection

Posted: 4th Januar 2012 by Thorben Hemmler in Cisco, OpenNMS

### datacollection.xml ###

<group  name=“cisco-vpdn“ ifType=“ignore“>
<mibObj oid=“.1.3.6.1.4.1.9.10.24.1.1.4.1.3″ instance=“2″ alias=“vpdnSessions“ type=“gauge“ />
<mibObj oid=“.1.3.6.1.4.1.9.10.24.1.1.4.1.2″ instance=“2″ alias=“vpdnTunnels“ type=“gauge“ />
</group>

<systemDef name=“Cisco Routers“>
<sysoidMask>.1.3.6.1.4.1.9.1.</sysoidMask>
<collect>
<includeGroup>cisco-memory</includeGroup>
<includeGroup>cisco-router</includeGroup>
<includeGroup>cisco-temperature</includeGroup>
<includeGroup>cisco-voltage</includeGroup>
<includeGroup>cisco-router-interface</includeGroup>
<includeGroup>cisco-vpdn</includeGroup>
</collect>
</systemDef>

### snmp-graph.properties ###

reports= cisco.vpdnsessions, cisco.vpdntunnels \

report.cisco.vpdnsessions.name=Cisco VPDN Sessions
report.cisco.vpdnsessions.columns=vpdnSessions
report.cisco.vpdnsessions.type=nodeSnmp
report.cisco.vpdnsessions.command=–title=“Cisco VPDN Sessions“ \
DEF:val1={rrd1}:vpdnSessions:AVERAGE \
DEF:minVal1={rrd1}:vpdnSessions:MIN \
DEF:maxVal1={rrd1}:vpdnSessions:MAX \
LINE2:val1#0000ff:“Cisco VPDN Sessions“ \
GPRINT:val1:AVERAGE:“ Avg  \\: %8.2lf %s“ \
GPRINT:val1:MIN:“Min  \\: %8.2lf %s“ \
GPRINT:val1:MAX:“Max  \\: %8.2lf %s\\n“

report.cisco.vpdntunnels.name=Cisco VPDN Tunnels
report.cisco.vpdntunnels.columns=vpdnTunnels
report.cisco.vpdntunnels.type=nodeSnmp
report.cisco.vpdntunnels.command=–title=“Cisco VPDN Tunnels“ \
DEF:val1={rrd1}:vpdnTunnels:AVERAGE \
DEF:minVal1={rrd1}:vpdnTunnels:MIN \
DEF:maxVal1={rrd1}:vpdnTunnels:MAX \
LINE2:val1#0000ff:“Cisco VPDN Tunnels“ \
GPRINT:val1:AVERAGE:“ Avg  \\: %8.2lf %s“ \
GPRINT:val1:MIN:“Min  \\: %8.2lf %s“ \
GPRINT:val1:MAX:“Max  \\: %8.2lf %s\\n“