[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-discuss
Subject:    RE: [opennms-discuss] Correctly Discovering Interfaces
From:       John Blake <jblake () arsenaldigital ! com>
Date:       2005-04-27 2:16:07
Message-ID: 3A95F9EF0FA64649B3204EB074D10578025574 () arsenalex1 ! arsenal ! local
[Download RAW message or body]

Is this a unix box?

If ya do a "ifconfig -a" what do ya get?

 

 John

  _____  

From: Dylan Hansen [mailto:dhansen@h2st.com] 
Sent: Tuesday, April 26, 2005 4:49 PM
To: opennms-discuss@lists.sourceforge.net
Subject: Re: [opennms-discuss] Correctly Discovering Interfaces

 

Hi John, thanks again for your reply. 

 

Actually one of the first things I tried was to restart the snmpd service,
and that didn't help me out. After restarting snmpd, I see no changes in the
ifIndex table by doing an snmpwalk. 

 

Thank you for your suggestion, and others are appreciated! 

 

Dylan Hansen 

 

On 26-Apr-05, at 12:16 PM, John Blake wrote: 

 

Restart the snmpd on the problem node. 

 

  

 

From: Dylan Hansen [mailto:dhansen@h2st.com] 

Sent: Tuesday, April 26, 2005 3:05 PM 

To: opennms-discuss@lists.sourceforge.net 

Subject: Re: [opennms-discuss] Correctly Discovering Interfaces 

 

  

 

Hi John (and all), thank you for your reply. 

 

  

 

For the node that was correctly discovered, both of it's IP addresses are in
the database. I can do a search for either of the IPs and the proper node is
returned. 

 

  

 

Search results for the correctly discovered node:       

 

Nodes and their Interfaces 

 

* database2 

 

o 192.168.254.11 

 

o 192.168.253.11 

 

1 Nodes, 2 Interfaces 

 

  

 

However, when I do a search for the incorrectly discovered node, only one of
the interfaces is returned. 

 

  

 

Search results for the incorrectly discovered node: 

 

Nodes and their Interfaces 

 

* database1 

 

o 192.168.253.10 

 

1 Nodes, 1 Interfaces 

 

  

 

This has lead me to believe that it's an error in the capabilities check
(which is why I posted my capsd.log file). After I did some more
investigating, I did notice something that might be causing my problem. In
the capsd.log, I noticed this: 

 

  

 

2005-04-25 11:14:09,085 DEBUG [Capsd Suspect Pool-fiber0]
CapsdConfigFactory: isInterfaceInDB: attempting to lookup interface
192.168.253.10 in the database. 

 

2005-04-25 11:14:09,086 DEBUG [Capsd Suspect Pool-fiber0]
SuspectEventProcessor: getExistingNodeEntry: checking for current target:
/192.168.253.10 

 

2005-04-25 11:14:09,086 DEBUG [Capsd Suspect Pool-fiber0]
SuspectEventProcessor: getExistingNodeEntry: number of interfaces retrieved
for ifIndex 1 is: 1 

 

2005-04-25 11:14:09,086 DEBUG [Capsd Suspect Pool-fiber0]
SuspectEventProcessor: getExistingNodeEntry: number of interfaces retrieved
for ifIndex 2 is: 0 

 

2005-04-25 11:14:09,086 DEBUG [Capsd Suspect Pool-fiber0]
SuspectEventProcessor: getExistingNodeEntry: number of interfaces retrieved
for ifIndex 3 is: 0 

 

  

 

It looks like it's doing a check in the database for a previous instance of
this interface, and it's perhaps finding something that is already existing?
I find this strange, because I've done a "Delete Node" from the admin menu
to remove this node from the database before rescanning it. As well, I have
manually gone through the database and deleted entries related to this
interface and this node. I will try this again, but I believe I have removed
everything. 

 

  

 

What I also find interesting is that it only checks for interfaces on
ifIndex 1-3. After looking at the results on my snmpwalk: 

 

  

 

IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1 

 

IP-MIB::ipAdEntIfIndex.192.168.253.10 = INTEGER: 5 

 

IP-MIB::ipAdEntIfIndex.192.168.254.10 = INTEGER: 4 

 

  

 

An snmpwalk shows that the two interfaces have an ifIndex of 4 and 5. Also
in my snmpwalk: 

 

  

 

IF-MIB::ifIndex.1 = INTEGER: 1 

 

IF-MIB::ifIndex.2 = INTEGER: 2 

 

IF-MIB::ifIndex.3 = INTEGER: 3 

 

  

 

So the IF-MIB tree reports a different ifIndex list than the IP-MIB tree.
Which tree does OpenNMS use to gather interface data? If it uses the IP-MIB
tree, then it seems to be only scanning the first 3 ifIndex entries, and
completely missing 4 and 5. Could someone give me a brief explanation on the
details of this process? 

 

  

 

Thank you very much for your time! 

 

  

 

Dylan Hansen 


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:st1="urn:schemas-microsoft-com:office:smarttags" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Is this a unix box?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If ya do a &#8220;ifconfig &#8211;a&#8221;
what do ya get?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;John<o:p></o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Dylan Hansen
[mailto:dhansen@h2st.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, April 26, 2005 4:49
PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName \
w:st="on">opennms-discuss@lists.sourceforge.net</st1:PersonName><br> <b><span \
style='font-weight:bold'>Subject:</span></b> Re: [opennms-discuss] Correctly \
Discovering Interfaces</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi John,
thanks again for your reply. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Actually
one of the first things I tried was to restart the snmpd service, and that
didn't help me out. After restarting snmpd, I see no changes in the ifIndex
table by doing an snmpwalk. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Thank you
for your suggestion, and others are appreciated! <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Dylan
Hansen <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>On
26-Apr-05, at 12:16 PM, John Blake wrote: <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face=Arial><span style='font-size:12.0pt;font-family:Arial'>Restart
the snmpd on the problem node.</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face=Arial><span \
style='font-size:12.0pt;font-family:Arial'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span \
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><b><font size=3 face="Times New Roman"><span style='font-size:12.0pt;
font-weight:bold'>From:</span></font></b> Dylan Hansen
[mailto:dhansen@h2st.com] <o:p></o:p></p>

<p><b><font size=3 face="Times New Roman"><span style='font-size:12.0pt;
font-weight:bold'>Sent:</span></font></b> Tuesday, April 26, 2005 3:05 PM \
<o:p></o:p></p>

<p><b><font size=3 face="Times New Roman"><span style='font-size:12.0pt;
font-weight:bold'>To:</span></font></b> <st1:PersonName \
w:st="on">opennms-discuss@lists.sourceforge.net</st1:PersonName> <o:p></o:p></p>

<p><b><font size=3 face="Times New Roman"><span style='font-size:12.0pt;
font-weight:bold'>Subject:</span></font></b> Re: [opennms-discuss] Correctly
Discovering Interfaces <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>Hi John
(and all), thank you for your reply.</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>For the
node that was correctly discovered, both of it's IP addresses are in the
database. I can do a search for either of the IPs and the proper node is
returned.</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>Search results for the correctly discovered \
node:</span></font></i><font size=5><span style='font-size:18.0pt'> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>Nodes and
their Interfaces</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>*
database2</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>o
192.168.254.11</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>o
192.168.253.11</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>1 Nodes,
2 Interfaces</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>However,
when I do a search for the incorrectly discovered node, only one of the
interfaces is returned.</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>Search results for the incorrectly discovered \
node:</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>Nodes and
their Interfaces</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>* \
database1</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>o
192.168.253.10</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>1 Nodes,
1 Interfaces</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>This has
lead me to believe that it's an error in the capabilities check (which is why I
posted my capsd.log file). After I did some more investigating, I did notice
something that might be causing my problem. In the capsd.log, I noticed \
this:</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>2005-04-25 11:14:09,085 DEBUG [Capsd Suspect Pool-fiber0]
CapsdConfigFactory: isInterfaceInDB: attempting to lookup interface
192.168.253.10 in the database.</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>2005-04-25 11:14:09,086 DEBUG [Capsd Suspect Pool-fiber0]
SuspectEventProcessor: getExistingNodeEntry: checking for current target:
/192.168.253.10</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>2005-04-25 11:14:09,086 DEBUG [Capsd Suspect Pool-fiber0]
SuspectEventProcessor: getExistingNodeEntry: number of interfaces retrieved for
ifIndex 1 is: 1</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>2005-04-25 11:14:09,086 DEBUG [Capsd Suspect Pool-fiber0]
SuspectEventProcessor: getExistingNodeEntry: number of interfaces retrieved for
ifIndex 2 is: 0</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>2005-04-25 11:14:09,086 DEBUG [Capsd Suspect Pool-fiber0]
SuspectEventProcessor: getExistingNodeEntry: number of interfaces retrieved for
ifIndex 3 is: 0</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>It looks
like it's doing a check in the database for a previous instance of this
interface, and it's perhaps finding something that is already existing? I find
this strange, because I've done a &quot;Delete Node&quot; from the admin menu
to remove this node from the database before rescanning it. As well, I have
manually gone through the database and deleted entries related to this
interface and this node. I will try this again, but I believe I have removed
everything.</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>What I
also find interesting is that it only checks for interfaces on ifIndex 1-3.
After looking at the results on my<i><span style='font-style:italic'> \
snmpwalk</span></i>:</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1</span></font></i>
<o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>IP-MIB::ipAdEntIfIndex.192.168.253.10 = INTEGER: \
5</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>IP-MIB::ipAdEntIfIndex.192.168.254.10 = INTEGER: \
4</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>An<i><span
style='font-style:italic'> snmpwalk</span></i> shows that the two interfaces
have an ifIndex of 4 and 5. Also in my<i><span style='font-style:italic'>
snmpwalk</span></i>:</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>IF-MIB::ifIndex.1 = INTEGER: 1</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>IF-MIB::ifIndex.2 = INTEGER: 2</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><i><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-style:italic'>IF-MIB::ifIndex.3 = INTEGER: 3</span></font></i> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>So the
IF-MIB tree reports a different ifIndex list than the IP-MIB tree. Which tree
does OpenNMS use to gather interface data? If it uses the IP-MIB tree, then it
seems to be only scanning the first 3 ifIndex entries, and completely missing 4
and 5. Could someone give me a brief explanation on the details of this
process?</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>Thank you
very much for your time!</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span \
style='font-size:18.0pt'>&nbsp;</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=5 face="Times New Roman"><span style='font-size:18.0pt'>Dylan
Hansen</span></font> <o:p></o:p></p>

</div>

</body>

</html>


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic