From: Buchan M. <bg...@st...> - 2010-02-23 11:13:25
|
On Thursday, 11 February 2010 19:15:34 Root, Paul wrote: > I'm trying to work my first template, for a Sun UFS 7210 storage array. > > I grabbed the if_load from a cisco, and it comes up fine. > > However, when I try to get basically, a df listing, I only get the first > element. > > Here's my oids file: > > DiskDevice : .1.3.6.1.4.1.42.2.225.1.6.1.2 : branch > DiskName : .1.3.6.1.4.1.42.2.225.1.6.1.6 : branch > DiskRUsed : .1.3.6.1.4.1.42.2.225.1.6.1.11 : branch > DiskRFree : .1.3.6.1.4.1.42.2.225.1.6.1.10 : branch > DiskRSize : .1.3.6.1.4.1.42.2.225.1.6.1.12 : branch These OIDs seem to be from SUN-FM-MIB.mib, none of the usual places I've looked have the MIB. BTW, the more interesting parts of this MIB may be more trap-related ... Can you show the rest of the template? > Output of an snmpwalk shows: > SNMPv2-SMI::enterprises.42.2.225.1.6.1.2.1 = STRING: "pool-0/amanda/amanda" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.2.2 = STRING: > "pool-0/default/images.d" SNMPv2-SMI::enterprises.42.2.225.1.6.1.2.3 = > STRING: "pool-0/media/media" SNMPv2-SMI::enterprises.42.2.225.1.6.1.2.4 = > STRING: "pool-0/media/jump" SNMPv2-SMI::enterprises.42.2.225.1.6.1.2.5 = > STRING: "pool-0/ccm/archive" SNMPv2-SMI::enterprises.42.2.225.1.6.1.3.1 = > STRING: "pool-0" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.3.2 = STRING: "pool-0" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.3.3 = STRING: "pool-0" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.3.4 = STRING: "pool-0" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.3.5 = STRING: "pool-0" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.4.1 = STRING: "amanda" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.4.2 = STRING: "default" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.4.3 = STRING: "media" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.4.4 = STRING: "media" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.4.5 = STRING: "ccm" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.5.1 = STRING: "amanda" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.5.2 = STRING: "images.d" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.5.3 = STRING: "media" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.5.4 = STRING: "jump" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.5.5 = STRING: "archive" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.6.1 = STRING: "/export/amanda" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.6.2 = STRING: "/export/images.d" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.6.3 = STRING: "/export/media" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.6.4 = STRING: "/export/jump" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.6.5 = STRING: "/export/archive" > SNMPv2-SMI::enterprises.42.2.225.1.6.1.7.1 = Counter32: 8115 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.7.2 = Counter32: 7106 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.7.3 = Counter32: 7106 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.7.4 = Counter32: 7083 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.7.5 = Counter32: 7074 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.8.1 = Counter32: 1041 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.8.2 = Counter32: 32 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.8.3 = Counter32: 32 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.8.4 = Counter32: 9 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.8.5 = Counter32: 0 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.9.1 = Counter32: 7074 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.9.2 = Counter32: 7074 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.9.3 = Counter32: 7074 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.9.4 = Counter32: 7074 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.9.5 = Counter32: 7074 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.10.1 = Counter64: 8714247688224 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.10.2 = Counter64: 7630353711552 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.10.3 = Counter64: 7630722345792 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.10.4 = Counter64: 7605996498048 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.10.5 = Counter64: 7595802412224 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.11.1 = Counter64: 1118445328416 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.11.2 = Counter64: 34551351744 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.11.3 = Counter64: 34919985984 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.11.4 = Counter64: 10194138240 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.11.5 = Counter64: 52416 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.12.1 = Counter64: 7595802359808 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.12.2 = Counter64: 7595802359808 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.12.3 = Counter64: 7595802359808 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.12.4 = Counter64: 7595802359808 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.12.5 = Counter64: 7595802359808 > SNMPv2-SMI::enterprises.42.2.225.1.6.1.12.5 = No more variables left in > this MIB View (It is past the end of the MIB tree) This is a bit suspicious ^^^. Can you show the interesting parts of your snmpwalk command? > I used the linux-openwrt disk as a starting point. Well, I am using similar tests for other Unix hosts (see sun-sunos10/disk, ibm-aix5/disk in svn), and they work fine. > Why would I only get 1 device? Can you provide any debug logs from polling the device? Regards, Buchan |