in6_var.h AIX Make Errors
I was able to resolve a AIX 6.1 linker error and now during the 'make' I receive the following error: gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 -Uaix6 -Daix6=aix6 -c mibII/ip.c -DPIC -o mibII/.libs/ip.o In file included from /usr/include/sys/corral.h:25, from /usr/include/libperfstat.h:28, from mibII/ip.c:37: /usr/include/netinet/in6_var.h:65: error: array type has incomplete element type make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 2. Stop. IBM has a fix to add '#include ' before the #include statement. My question is what file would you add #include ' in ? Thanks in advance, Steve MetroHealth is an Academic Health Care System committed to Our Communities by Saving Lives, Restoring Health, Promoting Wellness, and providing Outstanding, Life-long Care Accessible to All. Visit us at http://www.metrohealth.org. See remarkable patient stories at thecomeback.org. Follow us on Facebook: http://www.facebook.com/MetroHealthCLE, Twitter: http://twitter.com/MetroHealthCLE, and YouTube:http://www.youtube.com/user/MetroHealthCLE. This email and all attachments that may have been included are intended only for the use of the party to whom/which the email is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the addressee or the employee or agent of the intended recipient, you are hereby notified that you are strictly prohibited from printing, storing, disseminating, distributing, or copying this communication. If you have received this notification in error, please contact the Director of Risk/Privacy Management at (216)778-5728. For a copy of our Notice of Privacy Practices, please visit: http://www.metrohealth.org/general/privacy.asp -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
net-snmp 5.4.4 AIX 6.1 Compile errors
Found this on the web. For others having AIX 6.1 compile errors it looks like a missing APAR. Will try the patch and recompile on Tuesday. http://www.perzl.org/aix/index.php?n=Main.GCCAssemblerError MetroHealth is an Academic Health Care System committed to Our Communities by Saving Lives, Restoring Health, Promoting Wellness, and providing Outstanding, Life-long Care Accessible to All. Visit us at http://www.metrohealth.org. See remarkable patient stories at thecomeback.org. Follow us on Facebook: http://www.facebook.com/MetroHealthCLE, Twitter: http://twitter.com/MetroHealthCLE, and YouTube:http://www.youtube.com/user/MetroHealthCLE. This email and all attachments that may have been included are intended only for the use of the party to whom/which the email is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the addressee or the employee or agent of the intended recipient, you are hereby notified that you are strictly prohibited from printing, storing, disseminating, distributing, or copying this communication. If you have received this notification in error, please contact the Director of Risk/Privacy Management at (216)778-5728. For a copy of our Notice of Privacy Practices, please visit: http://www.metrohealth.org/general/privacy.asp -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
net-snmp 5.4.4 AIX 6.1 Compile errors
When running the make command on AIX 6.1 for NET-SNMP 5.4.4 I receive the following errors. I was able to get the same version compiled successfully on AIX 5.3. Is this more of a AIX issue ? I found some hits about a linker error and potential missing patches but they were not very clear. Thanks in advance for any help. ld: 0711-596 SEVERE ERROR: Object .libs/mib.o An RLD for section 2 (.data) refers to symbol 4578, but the storage class of the symbol is not C_EXT or C_HIDEXT. ld: 0711-596 SEVERE ERROR: Object .libs/parse.o An RLD for section 2 (.data) refers to symbol 3483, but the storage class of the symbol is not C_EXT or C_HIDEXT. ld: 0711-596 SEVERE ERROR: Object .libs/parse.o An RLD for section 2 (.data) refers to symbol 3483, but the storage class of the symbol is not C_EXT or C_HIDEXT. ld: 0711-596 SEVERE ERROR: Object .libs/read_config.o An RLD for section 2 (.data) refers to symbol 1609, but the storage class of the symbol is not C_EXT or C_HIDEXT. ld: 0711-596 SEVERE ERROR: Object .libs/snmp_debug.o An RLD for section 2 (.data) refers to symbol 885, but the storage class of the symbol is not C_EXT or C_HIDEXT. ld: 0711-596 SEVERE ERROR: Object .libs/snmp_debug.o An RLD for section 2 (.data) refers to symbol 885, but the storage class of the symbol is not C_EXT or C_HIDEXT. ld: 0711-596 SEVERE ERROR: Object .libs/snmp_logging.o An RLD for section 2 (.data) refers to symbol 1190, but the storage class of the symbol is not C_EXT or C_HIDEXT. ld: 0711-596 SEVERE ERROR: Object .libs/fd_event_manager.o An RLD for section 2 (.data) refers to symbol 756, but the storage class of the symbol is not C_EXT or C_HIDEXT. ld: 0711-596 SEVERE ERROR: Object .libs/snmp_enum.o An RLD for section 2 (.data) refers to symbol 906, but the storage class of the symbol is not C_EXT or C_HIDEXT. ld: 0711-596 SEVERE ERROR: Object .libs/snmpCallbackDomain.o An RLD for section 2 (.data) refers to symbol 895, but the storage class of the symbol is not C_EXT or C_HIDEXT. collect2: ld returned 12 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. MetroHealth is an Academic Health Care System committed to Our Communities by Saving Lives, Restoring Health, Promoting Wellness, and providing Outstanding, Life-long Care Accessible to All. Visit us at http://www.metrohealth.org. See remarkable patient stories at thecomeback.org. Follow us on Facebook: http://www.facebook.com/MetroHealthCLE, Twitter: http://twitter.com/MetroHealthCLE, and YouTube:http://www.youtube.com/user/MetroHealthCLE. This email and all attachments that may have been included are intended only for the use of the party to whom/which the email is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the addressee or the employee or agent of the intended recipient, you are hereby notified that you are strictly prohibited from printing, storing, disseminating, distributing, or copying this communication. If you have received this notification in error, please contact the Director of Risk/Privacy Management at (216)778-5728. For a copy of our Notice of Privacy Practices, please visit: http://www.metrohealth.org/general/privacy.asp -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: NET-SNMP and AIX Storage Statistics
ING: /dev/hd4: less than 10% free (= 0%) UCD-SNMP-MIB::dskErrorMsg.2 = STRING: /dev/hd2: less than 10% free (= 0%) UCD-SNMP-MIB::dskErrorMsg.3 = STRING: /: less than 10% free (= 0%) UCD-SNMP-MIB::dskErrorMsg.4 = STRING: /usr: less than 10% free (= 0%) UCD-SNMP-MIB::laIndex.1 = INTEGER: 1 UCD-SNMP-MIB::laIndex.2 = INTEGER: 2 UCD-SNMP-MIB::laIndex.3 = INTEGER: 3 UCD-SNMP-MIB::laNames.1 = STRING: Load-1 UCD-SNMP-MIB::laNames.2 = STRING: Load-5 UCD-SNMP-MIB::laNames.3 = STRING: Load-15 UCD-SNMP-MIB::laLoad.1 = STRING: 0.00 UCD-SNMP-MIB::laLoad.2 = STRING: 0.00 UCD-SNMP-MIB::laLoad.3 = STRING: 0.00 UCD-SNMP-MIB::laConfig.1 = STRING: 12.00 UCD-SNMP-MIB::laConfig.2 = STRING: 12.00 UCD-SNMP-MIB::laConfig.3 = STRING: 12.00 UCD-SNMP-MIB::laLoadInt.1 = INTEGER: 0 UCD-SNMP-MIB::laLoadInt.2 = INTEGER: 0 UCD-SNMP-MIB::laLoadInt.3 = INTEGER: 0 UCD-SNMP-MIB::laLoadFloat.1 = Opaque: Float: 0.00 UCD-SNMP-MIB::laLoadFloat.2 = Opaque: Float: 0.00 UCD-SNMP-MIB::laLoadFloat.3 = Opaque: Float: 0.002014 UCD-SNMP-MIB::laErrorFlag.1 = INTEGER: noError(0) UCD-SNMP-MIB::laErrorFlag.2 = INTEGER: noError(0) UCD-SNMP-MIB::laErrorFlag.3 = INTEGER: noError(0) UCD-SNMP-MIB::laErrMessage.1 = STRING: UCD-SNMP-MIB::laErrMessage.2 = STRING: UCD-SNMP-MIB::laErrMessage.3 = STRING: UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1 UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0 kB UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0 kB UCD-SNMP-MIB::ssIOSent.0 = INTEGER: 5 blocks/s UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 14 blocks/s UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 8 interrupts/s UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 61 switches/s UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 99 UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 97612 UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 183002 UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 23954591 UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 112574 UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 70428 UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 0 UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 1096626 UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 3403920 UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 1878324 UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 18044278 UCD-SNMP-MIB::ssCpuRawSoftIRQ.0 = Counter32: 0 UCD-SNMP-MIB::ssRawSwapIn.0 = Counter32: 0 UCD-SNMP-MIB::ssRawSwapOut.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawSteal.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawGuest.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawGuestNice.0 = Counter32: 0 UCD-DLMOD-MIB::dlmodNextIndex.0 = INTEGER: 1 UCD-SNMP-MIB::logMatchMaxEntries.0 = INTEGER: 250 UCD-SNMP-MIB::versionIndex.0 = INTEGER: 1 UCD-SNMP-MIB::versionTag.0 = STRING: 5.7.1 UCD-SNMP-MIB::versionDate.0 = STRING: $Date$ UCD-SNMP-MIB::versionCDate.0 = STRING: Fri Apr 13 08:02:24 2012 UCD-SNMP-MIB::versionIdent.0 = STRING: $Id$ UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: '--disable-shared' '--without -kmem-usage' '--with-default-snmp-version=2' UCD-SNMP-MIB::versionClearCache.0 = INTEGER: 0 UCD-SNMP-MIB::versionUpdateConfig.0 = INTEGER: 0 UCD-SNMP-MIB::versionRestartAgent.0 = INTEGER: 0 UCD-SNMP-MIB::versionSavePersistentData.0 = INTEGER: 0 UCD-SNMP-MIB::versionDoDebugging.0 = INTEGER: 0 UCD-SNMP-MIB::snmperrIndex.0 = INTEGER: 0 UCD-SNMP-MIB::snmperrNames.0 = STRING: snmp UCD-SNMP-MIB::snmperrErrorFlag.0 = INTEGER: noError(0) UCD-SNMP-MIB::snmperrErrMessage.0 = STRING: >>> Dave Shield 4/13/2012 5:35 AM >>> On 12 April 2012 17:30, Stephen Grecni wrote: > I installed net-snmp 5.7.1 on AIX 5.3. (Thanks for the compile help). When I > run the command snmpwalk -v2c -c private hostname dsk I do not get anything > returned for the UCD-SNMP-MIB::dis** fields. Two possibilities spring to mind: - either the agent is not configured to allow access to these objects, - or the agent does not provide this information under AIX You can check the first by seeing what else you can see under the 'ucd-snmp' tree. If the output of snmpwalk -v2c -c private hostname ucdavis is essentially empty when querying the AIX agent, then the first is the most likely cause. Check the access control settings in the agent. If the output is broadly similar for both AIX and Linux agents, but with individual chunks missing under AIX, then it's more likely to be due to the agent implementation code (which is highly OS-specific) Given that you've compiled the agent yourself, it's reasonably simple to determine what modules are being used. Please list the contents of 'agent/mibgroup/ucd-snmp' and look at the object files (.o/.lo). I would expect to see either disk.o *or* disk_hw.o Which is present? If it's disk_hw.o, then please list 'agent/mibgroup/hardware/fsys' as well. Which .o file
Re: NET-SNMP and AIX Storage Statistics
I also noticed in the config.log the following messages: # cat config.log | grep disk configure:16216: checking sys/diskio.h usability conftest.c:117:24: error: sys/diskio.h: No such file or directory | #include configure:16216: checking sys/diskio.h presence conftest.c:84:24: error: sys/diskio.h: No such file or directory | #include configure:16216: checking for sys/diskio.h configure:16527: checking for sys/disklabel.h conftest.c:130:27: error: sys/disklabel.h: No such file or directory | #include ac_cv_header_sys_diskio_h=no ac_cv_header_sys_disklabel_h=no Is that an issue ? Thanks, Steve >>> Dave Shield 4/13/2012 5:35 AM >>> On 12 April 2012 17:30, Stephen Grecni wrote: > I installed net-snmp 5.7.1 on AIX 5.3. (Thanks for the compile help). When I > run the command snmpwalk -v2c -c private hostname dsk I do not get anything > returned for the UCD-SNMP-MIB::dis** fields. Two possibilities spring to mind: - either the agent is not configured to allow access to these objects, - or the agent does not provide this information under AIX You can check the first by seeing what else you can see under the 'ucd-snmp' tree. If the output of snmpwalk -v2c -c private hostname ucdavis is essentially empty when querying the AIX agent, then the first is the most likely cause. Check the access control settings in the agent. If the output is broadly similar for both AIX and Linux agents, but with individual chunks missing under AIX, then it's more likely to be due to the agent implementation code (which is highly OS-specific) Given that you've compiled the agent yourself, it's reasonably simple to determine what modules are being used. Please list the contents of 'agent/mibgroup/ucd-snmp' and look at the object files (.o/.lo). I would expect to see either disk.o *or* disk_hw.o Which is present? If it's disk_hw.o, then please list 'agent/mibgroup/hardware/fsys' as well. Which .o files are present there? > is there documentation on configuring > net-snmp on AIX or is it the same as other OS versions ? It's essentially the same across all OS's. The main difference is with what code is present, and hence which MIB modules are implemented on particular OS's. Given that AIX is an environment that (AFAIK) none of the core developers have access to, this may well be one of the weaker systems. Dave MetroHealth is an Academic Health Care System committed to Our Communities by Saving Lives, Restoring Health, Promoting Wellness, and providing Outstanding, Life-long Care Accessible to All. Visit us at http://www.metrohealth.org. See remarkable patient stories at thecomeback.org. Follow us on Facebook: http://www.facebook.com/MetroHealthCLE, Twitter: http://twitter.com/MetroHealthCLE, and YouTube:http://www.youtube.com/user/MetroHealthCLE. This email and all attachments that may have been included are intended only for the use of the party to whom/which the email is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the addressee or the employee or agent of the intended recipient, you are hereby notified that you are strictly prohibited from printing, storing, disseminating, distributing, or copying this communication. If you have received this notification in error, please contact the Director of Risk/Privacy Management at (216)778-5728. For a copy of our Notice of Privacy Practices, please visit: http://www.metrohealth.org/general/privacy.asp -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
NET-SNMP and AIX Storage Statistics
I installed net-snmp 5.7.1 on AIX 5.3. (Thanks for the compile help). When I run the command snmpwalk -v2c -c private hostname dsk I do not get anything returned for the UCD-SNMP-MIB::dis** fields. I can run the same command on a Linux host and it returns the expected values. I tried the following in the snmpd.conf. #includeAllDisks 10% disk /dev/hd4 10% disk /dev/hd2 10% #disk /dev/hd9var 10% #disk /dev/hd3 10% #disk /dev/hd1 10% #disk /dev/local_lv 10% #disk /proc 10% #disk /dev/hd1 10% disk / 10% disk /usr 10% #disk /var 10% #disk /tmp 10% #disk /home 10% #disk /usr/local 10% #disk /proc 10% #disk /opt 10% If I comment it all out and un-comment includeAllDisks The includeAllDisks fails with error: UCD-SNMP-MIB::dskTable = No Such Object available on this agent at this OID When I ran the configure and make did I overlook anything or am I missing something for AIX ? Am I missing something simple and is there documentation on configuring net-snmp on AIX or is it the same as other OS versions ? Thanks in advance Steve MetroHealth is an Academic Health Care System committed to Our Communities by Saving Lives, Restoring Health, Promoting Wellness, and providing Outstanding, Life-long Care Accessible to All. Visit us at http://www.metrohealth.org. See remarkable patient stories at thecomeback.org. Follow us on Facebook: http://www.facebook.com/MetroHealthCLE, Twitter: http://twitter.com/MetroHealthCLE, and YouTube:http://www.youtube.com/user/MetroHealthCLE. This email and all attachments that may have been included are intended only for the use of the party to whom/which the email is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the addressee or the employee or agent of the intended recipient, you are hereby notified that you are strictly prohibited from printing, storing, disseminating, distributing, or copying this communication. If you have received this notification in error, please contact the Director of Risk/Privacy Management at (216)778-5728. For a copy of our Notice of Privacy Practices, please visit: http://www.metrohealth.org/general/privacy.asp -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: net-snmp install on AIX 5.3
The suggestion about commenting out the line worked. Thank you for taking a look and helping out. Steve MetroHealth is an Academic Health Care System committed to Our Communities by Saving Lives, Restoring Health, Promoting Wellness, and providing Outstanding, Life-long Care Accessible to All. Visit us at http://www.metrohealth.org. See remarkable patient stories at thecomeback.org. Follow us on Facebook: http://www.facebook.com/MetroHealthCLE, Twitter: http://twitter.com/MetroHealthCLE, and YouTube:http://www.youtube.com/user/MetroHealthCLE. This email and all attachments that may have been included are intended only for the use of the party to whom/which the email is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the addressee or the employee or agent of the intended recipient, you are hereby notified that you are strictly prohibited from printing, storing, disseminating, distributing, or copying this communication. If you have received this notification in error, please contact the Director of Risk/Privacy Management at (216)778-5728. For a copy of our Notice of Privacy Practices, please visit: http://www.metrohealth.org/general/privacy.asp -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users