Forget my last post. Myopennms version is:
Java Version: 1.4.2_08 Sun Microsystems Inc.
Java Virtual Machine: 1.4.2_08-b03 Sun Microsystems Inc.
Post by Ville LeinonenHi,
I try to get bgp routes for my opennms, but there is some litle
problems. Opennms wont create rrd-file.
Everything else is ok juniper
eg. /var/opennms/rrd/snmp/6/juniperBufferFpc0.rrd is exists, so opennms
recognize my routers. Can someone give me a hint what is wrong?
getNextPdu: adding object id to
pdu: .1.3.6.1.4.1.2636.5.1.1.2.6.2.1.8.1.1.1
getNextPdu: adding object id to
pdu: .1.3.6.1.4.1.2636.5.1.1.2.6.2.1.7.1.1.1
getNextPdu: adding object id to
pdu: .1.3.6.1.4.1.2636.5.1.1.2.6.2.1.8.0.1.1
getNextPdu: adding object id to
pdu: .1.3.6.1.4.1.2636.5.1.1.2.6.2.1.7.0.1.1
snmpReceivedPDU: current oid name,value
pair: .1.3.6.1.4.1.2636.5.1.1.2.6.2.1.9.0.1.1 : 19143
snmpReceivedPDU: current oid name,value
pair: .1.3.6.1.4.1.2636.5.1.1.2.6.2.1.8.0.1.1 : 143958
2005-07-21 07:58:03,526 DEBUG [CollectdScheduler-50 Pool-fiber49]
SnmpCollector: updateRRDs: Skipping update, no data retrieved for
nodeId: 10 datasource: juniperBgp1Rec
2005-07-21 07:58:03,526 DEBUG [CollectdScheduler-50 Pool-fiber49]
SnmpCollector: updateRRDs: Skipping update, no data retrieved for
nodeId: 10 datasource: juniperBgp2Act
2005-07-21 07:58:03,526 DEBUG [CollectdScheduler-50 Pool-fiber49]
SnmpCollector: updateRRDs: Skipping update, no data retrieved for
nodeId: 10 datasource: juniperBgp2Rec
2005-07-21 07:58:30,947 DEBUG [CollectdScheduler-50 Pool-fiber49]
SnmpCollector: updateRRDs: Skipping update, no data retrieved for
nodeId: 6 datasource: juniperBgp1Act
2005-07-21 07:58:30,947 DEBUG [CollectdScheduler-50 Pool-fiber49]
SnmpCollector: updateRRDs: Skipping update, no data retrieved for
nodeId: 6 datasource: juniperBgp1Rec
2005-07-21 07:58:30,947 DEBUG [CollectdScheduler-50 Pool-fiber49]
SnmpCollector: updateRRDs: Skipping update, no data retrieved for
nodeId: 6 datasource: juniperBgp2Act
2005-07-21 07:58:30,947 DEBUG [CollectdScheduler-50 Pool-fiber49]
SnmpCollector: updateRRDs: Skipping update, no data retrieved for
nodeId: 6 datasource: juniperBgp2Rec
My datacollection-config.xml
<!-- Juniper MIBs -->
<group name = "juniper-router" ifType = "ignore">
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.8.6.1.0" instance="0"
alias="juniperCpuFeb" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.8.7.1.0" instance="0"
alias="juniperCpuFpc0" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.8.7.2.0" instance="0"
alias="juniperCpuFpc1" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.8.9.1.0" instance="0"
alias="juniperCpuRe" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.7.6.1.0" instance="0"
alias="juniperTempFeb" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.7.7.1.0" instance="0"
alias="juniperTempFpc0" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.7.7.2.0" instance="0"
alias="juniperTempFpc1" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.7.9.1.0" instance="0"
alias="juniperTempRe" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.11.6.1.0" instance="0"
alias="juniperBufferFeb" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.11.7.1.0" instance="0"
alias="juniperBufferFpc0" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.3.1.13.1.11.7.2.0" instance="0"
alias="juniperBufferFpc1" type="gauge32"/>
</group>
<!-- Juniper MIBs BGP -->
<group name = "juniper-router-bgp" ifType = "ignore">
<mibObj oid=".1.3.6.1.4.1.2636.5.1.1.2.6.2.1.8.1.1.1" instance="0"
alias="juniperBgp1Act" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.5.1.1.2.6.2.1.7.1.1.1" instance="0"
alias="juniperBgp1Rec" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.5.1.1.2.6.2.1.8.0.1.1" instance="0"
alias="juniperBgp2Act" type="gauge32"/>
<mibObj oid=".1.3.6.1.4.1.2636.5.1.1.2.6.2.1.7.0.1.1" instance="0"
alias="juniperBgp2Rec" type="gauge32"/>
</group>
<systemDef name = "Juniper Routers">
<sysoidMask>.1.3.6.1.4.1.2636.1.</sysoidMask>
<collect>
<includeGroup>juniper-router</includeGroup>
<includeGroup>juniper-router-bgp</includeGroup>
</collect>
</systemDef>
My snmp-graph.properties
report.juniper.bgpact.name=BGP (Juniper)
report.juniper.bgpact.columns=juniperBgp1Act,juniperBgp2Act
report.juniper.bgpact.type=node
report.juniper.temp.command=--title="Curren Active BGP Routes" \
DEF:val1={rrd1}:juniperBgp1Act:AVERAGE \
DEF:val2={rrd2}:juniperBgp2Act:AVERAGE \
LINE2:val1#0000ff:"BGP Peer 1 " \
GPRINT:val1:AVERAGE:" Avg \\: %8.2lf %s" \
GPRINT:val1:MIN:"Min \\: %8.2lf %s" \
GPRINT:val1:MAX:"Max \\: %8.2lf %s\\n" \
LINE2:val2#ff0000:"BGP Peer 2" \
GPRINT:val2:AVERAGE:" Avg \\: %8.2lf %s" \
GPRINT:val2:MIN:"Min \\: %8.2lf %s" \
GPRINT:val2:MAX:"Max \\: %8.2lf %s\\n" \
Best regards,
Ville Leinonen
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/opennms-discuss