Hi,

 

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

 

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

 

snmpwalk -v1 -Os -c  public myaixbox interface

ifNumber.0 = INTEGER: 0

 

The ifconfig of my aix box returns

en0: flags=5e080863,80<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>

        inet 132.216.65.199 netmask 0xffffffe0 broadcast 132.216.65.223

lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT>

        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255

        inet6 ::1/0

         tcp_sendspace 65536 tcp_recvspace 65536

 

 

Also, when I attempt to compile net-snmp with

 

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

 

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

 

 

Thanks.

Zongyan

 

Reply via email to