Re: About HOST-RESOURCES-MIB Support on Darwin8

"Steven Gong" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all,
Sorry that I need to read the README more carefully. But now I use the
configure options mentioned in README.osX and get compile errors:
mibgroup/host/hr_network.c: In function 'Save_HR_Network_Info':
error: invalid use of undefined type 'struct ifnet'
which is mentioned in
http://archives.devshed.com/forums/networking-100/5-4-hr-network-c-build-failure-on-os-x-2141024.html

I added more mib to disable "host/hr_network" and still got the link error:
/usr/bin/ld: Undefined symbols:
_CFDictionaryAddValue
_CFDictionaryGetValue
_CFNumberGetValue
_CFRelease
_CFStringGetCString
_CFStringGetSystemEncoding
_IOIteratorNext
_IOMasterPort
_IOObjectConformsTo
_IOObjectRelease
_IORegistryEntryCreateCFProperties
_IORegistryEntryGetParentEntry
_IOServiceGetMatchingServices
_IOServiceMatching
___CFConstantStringClassReference
_kCFAllocatorDefault
_kCFBooleanTrue
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make: *** [subdirs] Error 1

Is this a known issue of net-snmp on osx when resource mibs are enabled? How
can I workaround the network mibs issue as I only need to monitor memory and
process via resource mibs? Thanks a lot!

On Wed, Jul 16, 2008 at 11:32 PM, Steven Gong <[email protected]> wrote:

> Hi all,
> I compiled and installed a fresh net-snmp 5.4.1.2 on Darwin8 with
> configure --without-kmem-usage and after running snmpd with a proper
> snmpd.conf file I can get many objects fine except that HOST-RESOURCES-MIB
> (.1.3.6.1.2.1.25) is missing. The snmpd.conf contains the line to show all
> with:
> view    systemview    included   .1
> So all OIDs are expected to appear.
>
> The kernel version is 8.11.1. Does anybody know why this happens? Thank
> you a lot!
>
> --
> Best Regards
> Steven Gong
>
> InfraRed5 Red5 Consultant: http://www.infrared5.com, [email protected]
>
> Red5 Developer: http://osflash.org/red5,
> http://jira.red5.org/confluence/display/~steven/Home<http://jira.red5.org/confluence/display/%7Esteven/Home>
>
> Javaflash Project Founder and Maintainer: http://osflash.org/javaflash
>



-- 
Best Regards
Steven Gong

InfraRed5 Red5 Consultant: http://www.infrared5.com, [email protected]

Red5 Developer: http://osflash.org/red5,
http://jira.red5.org/confluence/display/~steven/Home

Javaflash Project Founder and Maintainer: http://osflash.org/javaflash

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.