From: Schwimmer, E. E *H. <EE...@hs...> - 2006-05-23 18:43:32
|
Since they are non numeric, they aren't sorted, since that causes some "non-numeric value in sort" problems, though. However, you might want to try this: Assuming you are running 0.2.2, try changing line 2071 of dm_tests.pm from: @table_leaves =3D keys %{$oids->{$pri}{'val'}}; to: @table_leaves =3D sort keys %{$oids->{$pri}{'val'}}; Let me know if that makes it better. -Eric > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Aiello, Steve (GE, Corporate, consultant) > Sent: Tuesday, May 23, 2006 9:22 AM > To: dev...@li... > Subject: RE: [Devmon] TABLE: Order of data shown >=20 > So my issues stems from the fact that my repeating data=20 > primary alias is > returning "1.1, 1.2, 1.3 ... 2.1, 2.2, 2.3 ..." , and I think=20 > devmon can > only handle when the return data return from primary repeater is > "1,2,3,4,5". Is this correct ? >=20 > > -----Original Message----- > > From: dev...@li...=20 > > [mailto:dev...@li...] On Behalf=20 > > Of Aiello, Steve (GE, Corporate, consultant) > > Sent: Friday, May 19, 2006 4:30 PM > > To: dev...@li... > > Subject: RE: [Devmon] TABLE: Order of data shown > >=20 > >=20 > > Using the snmpwalk tool on .1.3.6.1.4.1.232.2.2.4.5.1.2 I=20 > > see: SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.1.1 =3D INTEGER: 1=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.1.2 =3D INTEGER: 2=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.1.3 =3D INTEGER: 3=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.1.4 =3D INTEGER: 4=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.1.5 =3D INTEGER: 5=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.1.6 =3D INTEGER: 6=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.1.7 =3D INTEGER: 7=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.1.8 =3D INTEGER: 8=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.2.1 =3D INTEGER: 1=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.2.2 =3D INTEGER: 2=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.2.3 =3D INTEGER: 3=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.2.4 =3D INTEGER: 4=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.2.5 =3D INTEGER: 5=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.2.6 =3D INTEGER: 6=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.2.7 =3D INTEGER: 7=20 > > SNMPv2-SMI::enterprises.232.2.2.4.5.1.2.2.8 =3D INTEGER: 8=20 > > (truncated, you get the jist) > >=20 > > My report looks like this tho: > > Memory: > > ID Board Type Size Speed Technology ECCStatus > > 8 1 DIMM 0 0 Synchronous NonECC > > 6 5 DIMM 0 0 Synchronous NonECC > > 8 5 DIMM 0 0 Synchronous NonECC > > 5 3 DIMM 0 0 Synchronous NonECC > > 7 3 DIMM 0 0 Synchronous NonECC > > 2 2 DIMM 524288 133 Synchronous NonECC > > 3 2 DIMM 2097152 133 Synchronous NonECC > > 2 5 DIMM 524288 133 Synchronous NonECC > > 4 5 DIMM 2097152 133 Synchronous NonECC > > 7 1 DIMM 0 0 Synchronous NonECC > > 1 4 DIMM 524288 133 Synchronous NonECC > > (truncated too) > >=20 > >=20 > >=20 > > Oh wait I think I see my problem... when walking on the oid=20 > > I am getting more that one node (i.e. .1 .2 .3 .4 .5) I am=20 > > getting .1.1 .1.2 .1.3 ...... .2.1 .2.2 .2.3 ...... More=20 > > like I need to nest a table in a table.... > >=20 > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...] On Behalf=20 > > > Of Schwimmer, Eric E *HS > > > Sent: Friday, May 19, 2006 4:13 PM > > > To: dev...@li... > > > Subject: RE: [Devmon] TABLE: Order of data shown > > >=20 > > >=20 > > >=20 > > > Typically the order is dependent on the primary oid's leaves, > > > which are sorted in numerically ascending order. Could you give > > > me an example of the table data and how it is being sorted? > > >=20 > > > -Eric > > >=20 > > > > -----Original Message----- > > > > From: dev...@li... > > > > [mailto:dev...@li...] On Behalf > > > > Of Aiello, Steve (GE, Corporate, consultant) > > > > Sent: Friday, May 19, 2006 10:02 AM > > > > To: dev...@li... > > > > Subject: [Devmon] TABLE: Order of data shown > > > >=20 > > > > Hello, > > > >=20 > > > > Is there anyway to control the order of data in a TABLE ? I had=20 > > > > thought that the order in wich the SNMP device returned=20 > the data,=20 > > > > was the order > > > > that devmon displayed it. In one of my tables I am getting=20 > > > > the data back > > > > in a rather wierd, mixed up order. > > > >=20 > > > > > -----Original Message----- > > > > > From: dev...@li... > > > > > [mailto:dev...@li...] On Behalf > > > > > Of Schwimmer, Eric E *HS > > > > > Sent: Thursday, May 18, 2006 1:35 PM > > > > > To: dev...@li... > > > > > Subject: [Devmon] Devmon v0.2.2 released > > > > >=20 > > > > >=20 > > > > >=20 > > > > > Up on the sourceforge project page now; various bugfixes. > > > > >=20 > > > > > Here's the relevant portion of the changelog: > > > > >=20 > > > > > Devmon v0.2.2 :: Released 05/18/2006 > > > > >=20 > > > > > Changed: > > > > > - Fixed cisco templates that had an uneccesary ifSpeed entry > > > > > in the oids file (which was causing the ifSpeed SPEED > > > transform > > > > > to behave erratically). > > > > > - Fixed the TSWITCH transform so Devmon recognizes it=20 > > correctly. > > > > > - Implemented a workaround for snmp oids that contain > > > > > extended information in the OID variable (i.e.=20 > Windows DHCP > > > > > server embeds the subnet address in the SNMP OID). > > > > > This should get rid of any 'xxx is non-numeric in > > > sort' errors. > > > > > - Fixed the MATH transform so that doesnt misinterpret > > > > > some numbers as a divide by zero condition and=20 > returning 0. > > > > >=20 > > > > > -Eric Schwimmer > > > > > Network Engineer > > > > > UVA HSCS Network Engineering > > > > >=20 > > > > >=20 > > > > > ------------------------------------------------------- > > > > > Using Tomcat but need to do more? Need to support web=20 > services,=20 > > > > > security? Get stuff done quickly with pre-integrated=20 > > technology to=20 > > > > > make your job easier Download IBM WebSphere=20 > Application Server=20 > > > > > v.1.0.1 based on Apache Geronimo > > > > >=20 > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642 > > > > > _______________________________________________ > > > > > Devmon-support mailing list=20 > Dev...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > > >=20 > > > >=20 > > > >=20 > > > > ------------------------------------------------------- > > > > Using Tomcat but need to do more? Need to support web services,=20 > > > > security? Get stuff done quickly with pre-integrated=20 > > technology to=20 > > > > make your job easier > > > > Download IBM WebSphere Application Server v.1.0.1 based on=20 > > > > Apache Geronimo > > > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642 > > > > _______________________________________________ > > > > Devmon-support mailing list > > > > Dev...@li... > > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web=20 > > > services, security? > > > Get stuff done quickly with pre-integrated technology to make=20 > > > your job easier > > > Download IBM WebSphere Application Server v.1.0.1 based on=20 > > > Apache Geronimo > > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642 > > > _______________________________________________ > > > Devmon-support mailing list > > > Dev...@li... > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web=20 > > services, security? > > Get stuff done quickly with pre-integrated technology to make=20 > > your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642 > > _______________________________________________ > > Devmon-support mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/devmon-support > >=20 >=20 >=20 > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support >=20 |