This is a multi-part message in MIME format.

------_=_NextPart_001_01C66EE3.CF55BC0B
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

=20

I have compiled and installed net-snmp-5.3.0.1 on my aix 5.2 box.=20

=20

I can get some MIBII values from it. But snmpwalk interface returns
nothing.

=20

snmpwalk -v1 -Os -c public myaixbox interface

ifNumber.0 =3D INTEGER: 0

=20

The ifconfig of my aix box returns

en0:
flags=3D5e080863,80 U
PRT,64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>

inet x.x.x.x netmask 0xffffffe0 broadcast x.x.x.x

lo0:
flags=3De08084b 4
BIT>

inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255

inet6 ::1/0

tcp_sendspace 65536 tcp_recvspace 65536

=20

=20

Also, when I attempt to compile net-snmp with

=20

../configure --host=3D"powerpc-ibm-aix5.2.0.0" --disable-shared
--with-mib-modules=3D"host disman/event-mib smux" =
--prefix=3D"/opt/freeware"

=20

I got this error message:

host/hr_swrun.c: In function 'var_hrswrun':

host/hr_swrun.c:935: error: 'struct proc' has no member named 'p_stat'

host/hr_swrun.c:1085: error: 'struct proc' has no member named 'p_utime'

host/hr_swrun.c:1086: error: 'struct proc' has no member named 'p_utime'

host/hr_swrun.c:1087: error: 'struct proc' has no member named 'p_stime'

host/hr_swrun.c:1088: error: 'struct proc' has no member named 'p_stime'

host/hr_swrun.c: In function 'Get_Next_HR_SWRun':

host/hr_swrun.c:1406: error: 'struct proc' has no member named 'p_stat'

host/hr_swrun.c: In function 'count_processes':

host/hr_swrun.c:1437: error: 'struct proc' has no member named 'p_stat'

make[2]: *** [host/hr_swrun.lo] Error 1

=20

=20

=20

Thanks.

Zongyan

=20


------_=_NextPart_001_01C66EE3.CF55BC0B
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

=3D"urn:schemas-microsoft-comfficeffice" =
xmlns:w=3D"urn:schemas-microsoft-comffice:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









style=3D'font-size:10.0pt;
font-family:Arial'>Hi,>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>I have compiled and installed net-snmp-5.3.0.1 on my =
aix 5.2
box. >>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>I can get some MIBII values from it. But snmpwalk =
interface
returns nothing.>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>snmpwalk -v1 -Os -c  public myaixbox =
interface>>



style=3D'font-size:10.0pt;
font-family:Arial'>ifNumber.0 =3D INTEGER: =
0>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>The ifconfig of my aix box =
returns>>



style=3D'font-size:10.0pt;
font-family:Arial'>en0:
flags=3D5e080863,80<UP,BROADCAST,NOTRAILERS,RUNNIN G,SIMPLEX,MULTICAST,=
GROUPRT,64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>>>

>

style=3D'font-size:10.0pt;
font-family:Arial'>        inet color=3Dnavy>x.x.x.x
netmask =
0xffffffe0
broadcast style=3D'color:navy'>x.x.x.x>>



style=3D'font-size:10.0pt;
font-family:Arial'>lo0:
flags=3De08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMP LEX,MULTICAST,GROUPR=
T,64BIT>>>



style=3D'font-size:10.0pt;
font-family:Arial'>        inet =
127.0.0.1
netmask 0xff000000 broadcast =
127.255.255.255>>



style=3D'font-size:10.0pt;
font-family:Arial'>        inet6 =
::1/0>>



style=3D'font-size:10.0pt;
font-family:Arial'>        
tcp_sendspace 65536 tcp_recvspace 65536>>



style=3D'font-size:10.0pt;
font-family:Arial'> >>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>Also, when I attempt to compile net-snmp =
with>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>./configure =
--host=3D"powerpc-ibm-aix5.2.0.0"
--disable-shared --with-mib-modules=3D"host disman/event-mib =
smux"
--prefix=3D"/opt/freeware">>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>I got this error =
message:>>



style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c: In function =
'var_hrswrun':>>



style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:935: error: 'struct proc' has no =
member
named 'p_stat'>>



style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1085: error: 'struct proc' has no =
member
named 'p_utime'>>



style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1086: error: 'struct proc' has no =
member
named 'p_utime'>>



style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1087: error: 'struct proc' has no =
member
named 'p_stime'>>



style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1088: error: 'struct proc' has no =
member
named 'p_stime'>>



style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c: In function =
'Get_Next_HR_SWRun':>>



style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1406: error: 'struct proc' has no =
member
named 'p_stat'>>



style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c: In function =
'count_processes':>>



style=3D'font-size:10.0pt;
font-family:Arial'>host/hr_swrun.c:1437: error: 'struct proc' has no =
member
named 'p_stat'>>



style=3D'font-size:10.0pt;
font-family:Arial'>make[2]: *** [host/hr_swrun.lo] Error =
1>>



style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>>



style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>>



style=3D'font-size:10.0pt;
font-family:Arial'>>



style=3D'font-size:10.0pt;
font-family:Arial'>Thanks.>>



style=3D'font-size:10.0pt;
font-family:Arial'>Zongyan>>



style=3D'font-size:10.0pt;
font-family:Arial'>>









------_=_NextPart_001_01C66EE3.CF55BC0B--


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders