From: Guðmundur Ö. I. <Gud...@la...> - 2008-04-29 11:45:21
|
Hi everyone, I've decided to subscribe to this list and start off by sharing my minescule work with you. Here are definitions for BGP and OSPF monitoring on Cisco routers BGP message TABLE: Local Address|Neighbor Address|Neighbor Router AS|Admin State|Neighbor State|Last Error {bgpPeerLocalAddr}:{bgpPeerLocalPort}|{bgpPeerRemoteAddr}:{bgpPeerRemotePort}|{bgpPeerRemoteAs}|{bgpPeerAdminStatus_T.color}{bgpPeerAdminStatus_T}|{bgpPeerState_T.color}{bgpPeerState_T}|{bgpPeerLastError_T} oids bgpPeerAdminStatus : .1.3.6.1.2.1.15.3.1.3 : branch bgpPeerState : .1.3.6.1.2.1.15.3.1.2 : branch bgpPeerLocalAddr : .1.3.6.1.2.1.15.3.1.5 : branch bgpPeerLocalPort : .1.3.6.1.2.1.15.3.1.6 : branch bgpPeerRemoteAddr : .1.3.6.1.2.1.15.3.1.7 : branch bgpPeerRemotePort : .1.3.6.1.2.1.15.3.1.8 : branch bgpPeerRemoteAs : .1.3.6.1.2.1.15.3.1.9 : branch bgpPeerLastError : .1.3.6.1.2.1.15.3.1.14 : branch thresholds bgpPeerAdminStatus_T : green : stop,start bgpPeerState_T : green : established bgpPeerState_T : yellow : active,opensent,openconfirm bgpPeerState_T : red : idle, connect transforms bgpPeerAdminStatus_T : SWITCH : {bgpPeerAdminStatus} 1=stop,2=start bgpPeerState_T : SWITCH : {bgpPeerState} 1=idle,2=connect,3=active,4=opensent,5=openconfirm,6=established bgpPeerLastError_T : UNPACK : {bgpPeerLastError} CCCC OSPF message OSPF Admin State is : {ospfStatus.color}{ospfStatus} TABLE: Neighbor Address|Neighbor Address Less Index|Neighbor Router ID|Neighbor State|Neighbor Events |Neighbor Retransmission Queue {ospfNbrIpAddr}|{ospfNbrAddressLessIndex}|{ospfNbrRtrId}|{ospfNbrState_T.color}{ospfNbrState_T}|{ospfNbrEvents}|{ospfNbrLSRetransQLen} oids ospfAdminStat : .1.3.6.1.2.1.14.1.2.0 : leaf ospfNbrIpAddr : .1.3.6.1.2.1.14.10.1.1 : branch ospfNbrAddressLessIndex : .1.3.6.1.2.1.14.10.1.2 : branch ospfNbrRtrId : .1.3.6.1.2.1.14.10.1.3 : branch ospfNbrState : .1.3.6.1.2.1.14.10.1.6 : branch ospfNbrEvents : .1.3.6.1.2.1.14.10.1.7 : branch ospfNbrLSRetransQLen : .1.3.6.1.2.1.14.10.1.8 : branch thresholds ospfStatus : yellow : disabled ospfStatus : green : enabled ospfNbrState_T : yellow : init,attempt,exchangeStart,loading ospfNbrState_T : red : down ospfNbrState_T : green : twoWay,exchange,full transforms ospfStatus : SWITCH : {ospfAdminStat} 1=enabled,2=disabled ospfNbrState_T : SWITCH : {ospfNbrState} 1=down,2=attempt,3=init,4=twoWay,5=exchangeStart,6=exchange,7=loading,8=full 10 Gigabit Ethernet support Add the following to your oids file ifHighSpeed : .1.3.6.1.2.1.31.1.1.1.15 : branch And this to your transforms file ifHighSpeed_T : MATH : {ifHighSpeed} x 1000000 ifHighSpeed_V : SPEED : {ifHighSpeed_T} And change the table in the message file to reflect this <b>Interface error rates:</b> Input load: yellow={ifInLoad.thresh:yellow}%, red={ifInLoad.thresh:red}% Output load: yellow={ifOutLoad.thresh:yellow}%, red={ifOutLoad.thresh:red}% TABLE:rrd(DS:ds0:ifInOctets:COUNTER; DS:ds1:ifOutOctets:COUNTER) Ifc name|Ifc Speed (Mbps)|Rate in (load %)|Rate out (load %) {ifName}{ifAliasBox}|{ifHighSpeed_V}|{ifInLoad.color}{ifInSpeed} ({ifInLoad}%){ifInLoad.errors}|{ifOutLoad.color}{ifOutSpeed} ({ifOutLoad}%){ifOutLoad.errors} ___________________________________________ Guðmundur Örn Ingvarsson Landsbankinn Global Unix Infrastructure Engineer Core Systems IT - CS IT Sími / Tel.: (+354) 410 6730 Farsími / Mobile: (+354) 820 5074 Fax: (+354) 410 3032 gud...@la...<mailto:gud...@la...> www.landsbanki.is<http://www.landsbanki.is/> Fyrirvari/Disclaimer http://www.landsbanki.is/disclaimer |