<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RHAS 3 Update 1 on DL380 SNMP interface query issue in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180654#M87867</link>
    <description>I am truly an idiot. The HP version does *indeed* work just fine as I initially indicated. I realize now that I accidentally checked a different server when I posted the previous message. I am really sorry for the confusion if I didn't post this before you reading the last two posts.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help!</description>
    <pubDate>Tue, 03 Feb 2004 13:50:37 GMT</pubDate>
    <dc:creator>Todd Knauer</dc:creator>
    <dc:date>2004-02-03T13:50:37Z</dc:date>
    <item>
      <title>RHAS 3 Update 1 on DL380 SNMP interface query issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180648#M87861</link>
      <description>I just rebuilt a quad proc DL380 with RHAS 3 Update 1 (was previously running RHAS 2.1). We have 4 NICs on this machine, eth0 and eth1 are the onboard NC7781 Gigabit ports using the tg3 module. eth2 and eth3 show up as Intel Ethernet Pro 100s and they are using the e100 module. I am currently only using eth2 and eth3. eth0 and eth1 are not even plugged in or brought up.&lt;BR /&gt;&lt;BR /&gt;The problem is when I query them via SNMP. If I snmpwalk them to get the indexes, interface descriptions, and MAC addresses I get the correct information:&lt;BR /&gt;&lt;BR /&gt;Indexs:&lt;BR /&gt;$ snmpwalk -v 1 -c public myserver .1.3.6.1.2.1.2.2.1.1&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.1.3 = INTEGER: 3&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.1.4 = INTEGER: 4&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.1.5 = INTEGER: 5&lt;BR /&gt;&lt;BR /&gt;Descriptions:&lt;BR /&gt;$ snmpwalk -v 1 -c public myserver .1.3.6.1.2.1.2.2.1.2&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.2.1 = STRING: "lo"&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.2.2 = STRING: "eth0"&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.2.3 = STRING: "eth1"&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.2.4 = STRING: "eth2"&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.2.5 = STRING: "eth3"&lt;BR /&gt;&lt;BR /&gt;MAC Addresses:&lt;BR /&gt;$ snmpwalk -v 1 -c public myserver .1.3.6.1.2.1.2.2.1.6&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.6.1 = ""&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.6.2 = Hex-STRING: 00 0B CD 69 48 6B&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.6.3 = Hex-STRING: 00 0B CD 69 48 6A&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.6.4 = Hex-STRING: 00 0B CD 4B 10 9E&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.6.5 = Hex-STRING: 00 0B CD 4B 10 9F&lt;BR /&gt;&lt;BR /&gt;But when I query for the IP addresses associated with those interfaces I get this:&lt;BR /&gt;&lt;BR /&gt;IP Addresses:&lt;BR /&gt;$ snmpwalk -v 1 -c public myserver .1.3.6.1.2.1.4.20.1.2&lt;BR /&gt;iso.3.6.1.2.1.4.20.1.2.10.10.0.1 = INTEGER: 11&lt;BR /&gt;iso.3.6.1.2.1.4.20.1.2.10.10.1.1 = INTEGER: 10&lt;BR /&gt;iso.3.6.1.2.1.4.20.1.2.127.0.0.1 = INTEGER: 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now, in the above IP Address list the INTEGER that is returned should be the index of the interface that the IP address is assocated with. The 127.0.0.1 address does indeed match the lo interface which is index 1, but there is no interface at index 10 and index 11. The 10.10.0.1 address should show up as index 5 and the 10.10.1.1 address should show up as index 4. Any program that queries this server for this information will not be able to match the IP address to an interface. Simple examples of programs that will not get the correct IP address for the interfaces that are up would be (but not limited to) MRTG's cfgmaker script, or cacti snmp server graphing. In my case it is a home brew (work brew) web application. &lt;BR /&gt;&lt;BR /&gt;I don't have a problem with any other server but I don't have RHAS3UD1 on any other server. Does anyone else have this problem and better yet, does anyone know of a solution to this problem? Or should I file this as a bug report to Red Hat?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 02 Feb 2004 16:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180648#M87861</guid>
      <dc:creator>Todd Knauer</dc:creator>
      <dc:date>2004-02-02T16:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: RHAS 3 Update 1 on DL380 SNMP interface query issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180649#M87862</link>
      <description>I have implementing (battling) MRTG over the past two weeks so I did a snmpwalk -v 1 -c public myserver.1.3.6.1.2.1.4.20.1.2 on all my servers and they came back fine but I'm only using 1 or two NICS in each one. Even the one ES 3.0 server we have came back ok but that doesn't help you...&lt;BR /&gt;&lt;BR /&gt;Couple of sugguestions.. &lt;BR /&gt;&lt;BR /&gt;1) Uninstall the net-snmp-5.0.x package and install the ucd-snmp-4.2.x package from a AS 2.1 server..  &lt;BR /&gt;&lt;BR /&gt;2)You could write a script and have the proper value returned for a SNMP trap. I have done this for MRTG to return the used/total swap space on a server. &lt;BR /&gt;&lt;BR /&gt; In my snmpd.conf file, i have &lt;BR /&gt;&lt;BR /&gt;exec 1.3.6.1.4.1.500.101 swap /opt/misc/swap&lt;BR /&gt;&lt;BR /&gt;my /opt/misc/swap script looks like this &lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;stat1=`cat /proc/meminfo | grep SwapTotal: | cut -c16-22`&lt;BR /&gt;stat2=`cat /proc/meminfo | grep SwapFree: | cut -c16-22`&lt;BR /&gt;echo $stat1&lt;BR /&gt;echo $stat2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In my mrtg.cfg file, the target looks like this.  &lt;BR /&gt;Target[memory-dt3whdevcvs]: 1.3.6.1.4.1.5000.100.101.1&amp;amp;1.3.6.1.4.1.5000.100.101.2:Tr3cV6S8ioLP1@servername&lt;BR /&gt;&lt;BR /&gt;Your script would be something like&lt;BR /&gt;&lt;BR /&gt;cat /opt/sysconfig/network-scripts/ifcfg-eth0 | grep IPADDR | cut -c8-20&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps.. &lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 10:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180649#M87862</guid>
      <dc:creator>Don_89</dc:creator>
      <dc:date>2004-02-03T10:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: RHAS 3 Update 1 on DL380 SNMP interface query issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180650#M87863</link>
      <description>Thanks Don. I might try suggestion #1, and probably should have done that already. I have actually just now found a bug on Red Hat's web site that matches my problem and I have attached my post on Red Hat's bugzilla:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114413" target="_blank"&gt;https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114413&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'll let you know if downgrading the snmp fixes the problem. On another note, my Fedora Core 1 PC at home exhibits similar problems. It has a couple of non-standard interfaces like a VMware interface and an IR interface and it seems to screw up the indexing in a similar way. So now I am fairly confident that it is an snmpd issue.</description>
      <pubDate>Tue, 03 Feb 2004 10:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180650#M87863</guid>
      <dc:creator>Todd Knauer</dc:creator>
      <dc:date>2004-02-03T10:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: RHAS 3 Update 1 on DL380 SNMP interface query issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180651#M87864</link>
      <description>Please try our version of the SNMP stack.  Let me know if you still have issues and I will look into it.  You can download the packages from the following:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h18023.www1.hp.com/support/files/server/us/download/19125.html" target="_blank"&gt;http://h18023.www1.hp.com/support/files/server/us/download/19125.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 11:08:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180651#M87864</guid>
      <dc:creator>Bill Wood_3</dc:creator>
      <dc:date>2004-02-03T11:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: RHAS 3 Update 1 on DL380 SNMP interface query issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180652#M87865</link>
      <description>Yes sir, that one works as advertised (the HP version). I'll let Red Hat know in the bug report that you have a working copy (although it's not net-snmp v5 that comes with RHAS3). &lt;BR /&gt;&lt;BR /&gt;Thanks for the quick resolution!</description>
      <pubDate>Tue, 03 Feb 2004 11:37:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180652#M87865</guid>
      <dc:creator>Todd Knauer</dc:creator>
      <dc:date>2004-02-03T11:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: RHAS 3 Update 1 on DL380 SNMP interface query issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180653#M87866</link>
      <description>I take that back. There is still a problem. The interface names are showing up as eth0 and eth0 and they should show up as eth2 and eth3:&lt;BR /&gt;&lt;BR /&gt;$ snmpwalk -v 1 -c public myserver .1.3.6.1.2.1.2.2.1.1&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.1.3 = INTEGER: 3&lt;BR /&gt;&lt;BR /&gt;$ snmpwalk -v 1 -c public myserver .1.3.6.1.2.1.2.2.1.2&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.2.1 = STRING: "lo"&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.2.2 = STRING: "eth0"&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.2.3 = STRING: "eth1"&lt;BR /&gt;&lt;BR /&gt;$ snmpwalk -v 1 -c public myserver .1.3.6.1.2.1.2.2.1.6&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.6.1 = ""&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.6.2 = Hex-STRING: 00 0B CD 1B 4B 9A&lt;BR /&gt;iso.3.6.1.2.1.2.2.1.6.3 = Hex-STRING: 00 0B CD 1B 4D 12&lt;BR /&gt;&lt;BR /&gt;$ snmpwalk -v 1 -c public myserver .1.3.6.1.2.1.4.20.1.2&lt;BR /&gt;iso.3.6.1.2.1.4.20.1.2.10.10.249.195 = INTEGER: 3&lt;BR /&gt;iso.3.6.1.2.1.4.20.1.2.10.10.250.195 = INTEGER: 2&lt;BR /&gt;iso.3.6.1.2.1.4.20.1.2.127.0.0.1 = INTEGER: 1&lt;BR /&gt;&lt;BR /&gt;# /sbin/ifconfig&lt;BR /&gt;eth2      Link encap:Ethernet  HWaddr 00:0B:CD:4B:10:9E&lt;BR /&gt;          inet addr:10.49.191.2  Bcast:10.49.191.127  Mask:255.255.255.128&lt;BR /&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;BR /&gt;          RX packets:133703 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;          TX packets:10324 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;          collisions:0 txqueuelen:1000&lt;BR /&gt;          RX bytes:15673868 (14.9 Mb)  TX bytes:2229744 (2.1 Mb)&lt;BR /&gt;          Interrupt:11 Base address:0x4000 Memory:f7ff0000-f7ff0038&lt;BR /&gt;&lt;BR /&gt;eth3      Link encap:Ethernet  HWaddr 00:0B:CD:4B:10:9F&lt;BR /&gt;          inet addr:10.10.249.182  Bcast:10.10.249.255  Mask:255.255.255.0&lt;BR /&gt;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;BR /&gt;          RX packets:17612 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;          collisions:0 txqueuelen:1000&lt;BR /&gt;          RX bytes:1018615 (994.7 Kb)  TX bytes:756 (756.0 b)&lt;BR /&gt;          Interrupt:7 Base address:0x4040 Memory:f7df0000-f7df0038&lt;BR /&gt;&lt;BR /&gt;lo        Link encap:Local Loopback&lt;BR /&gt;          inet addr:127.0.0.1  Mask:255.0.0.0&lt;BR /&gt;          UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;BR /&gt;          RX packets:41081 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;          TX packets:41081 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;          collisions:0 txqueuelen:0&lt;BR /&gt;          RX bytes:33000035 (31.4 Mb)  TX bytes:33000035 (31.4 Mb)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But it's closer. Sorry about missing that!&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 11:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180653#M87866</guid>
      <dc:creator>Todd Knauer</dc:creator>
      <dc:date>2004-02-03T11:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: RHAS 3 Update 1 on DL380 SNMP interface query issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180654#M87867</link>
      <description>I am truly an idiot. The HP version does *indeed* work just fine as I initially indicated. I realize now that I accidentally checked a different server when I posted the previous message. I am really sorry for the confusion if I didn't post this before you reading the last two posts.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help!</description>
      <pubDate>Tue, 03 Feb 2004 13:50:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhas-3-update-1-on-dl380-snmp-interface-query-issue/m-p/3180654#M87867</guid>
      <dc:creator>Todd Knauer</dc:creator>
      <dc:date>2004-02-03T13:50:37Z</dc:date>
    </item>
  </channel>
</rss>

