This is a discussion on Help! net-snmp 5.3 on Aix 5.2 within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C66EE0.A3791B49 Content-Type: text/plain; charset="us-ascii&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------_=_NextPart_001_01C66EE0.A3791B49 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<UP,BROADCAST,NOTRAILERS,RUNNIN G,SIMPLEX,MULTICAST,GRO= U PRT,64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN> inet 132.216.65.199 netmask 0xffffffe0 broadcast 132.216.65.223 lo0: flags=3De08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMP LEX,MULTICAST,GROUPRT,6= 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 Thanks. Zongyan =20 ------_=_NextPart_001_01C66EE0.A3791B49 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = 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. <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I can get some MIBII values from it. But snmpwalk = interface returns nothing.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>snmpwalk -v1 -Os -c public myaixbox = interface<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>ifNumber.0 =3D INTEGER: = 0<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>The ifconfig of my aix box = returns<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>en0: flags=3D5e080863,80<UP,BROADCAST,NOTRAILERS,RUN NING,SIMPLEX,MULTICAST,= GROUPRT,64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN><o:p> </o:p></span></font></p= > <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> inet 132.216.65.199 netmask 0xffffffe0 broadcast = 132.216.65.223<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>lo0: flags=3De08084b<UP,BROADCAST,LOOPBACK,RUNNING,S IMPLEX,MULTICAST,GROUPR= T,64BIT><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> inet = 127.0.0.1 netmask 0xff000000 broadcast = 127.255.255.255<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> inet6 = ::1/0<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> tcp_sendspace 65536 tcp_recvspace 65536<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'> <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Also, when I attempt to compile net-snmp = with<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = 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"<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I got this error = message:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>host/hr_swrun.c: In function = 'var_hrswrun':<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>host/hr_swrun.c:935: error: 'struct proc' has no = member named 'p_stat'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>host/hr_swrun.c:1085: error: 'struct proc' has no = member named 'p_utime'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>host/hr_swrun.c:1086: error: 'struct proc' has no = member named 'p_utime'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>host/hr_swrun.c:1087: error: 'struct proc' has no = member named 'p_stime'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>host/hr_swrun.c:1088: error: 'struct proc' has no = member named 'p_stime'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>host/hr_swrun.c: In function = 'Get_Next_HR_SWRun':<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>host/hr_swrun.c:1406: error: 'struct proc' has no = member named 'p_stat'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>host/hr_swrun.c: In function = 'count_processes':<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>host/hr_swrun.c:1437: error: 'struct proc' has no = member named 'p_stat'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>make[2]: *** [host/hr_swrun.lo] Error = 1<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Zongyan<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> </div> </body> </html> ------_=_NextPart_001_01C66EE0.A3791B49-- ------------------------------------------------------- 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 |