Re: Problem with net-snmp, HOST-RESOURCES-MIB, solaris and zfs

Vladislav Simileac <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Daniel Werner <srml <at> gmx.ch> writes:

> 
> Hi 
> 
> I compiled net-snmp 5.7.1 without problems on Solaris 10. But 
> then I noticed that 
> snmpwalk -v2c -c public localhost HOST-RESOURCES-MIB::hrStorageDescr
> doesn't return any ZFS filesystems at all. 
> ..........................
> When I eliminated that while-loop to skip inactive entries, the 
> ZFS filesystems are listed correctly. But I don't understand why. 
> The flags on the ZFS filesystems are 0x04, NETSNMP_FS_FLAG_ACTIVE
> is 0x01. 
> 
> So what would be the correct way to solve that problem?
> 
> Regards
> Daniel

WOW! Great solution!
I had the same problem with 5.7.1 but with this modification I can list
ZFS-partitions on Solaris 10.

Thanks!

P.S.: Hope net-snmp community will patch next version...

BR,
Vladislav



------------------------------------------------------------------------------
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
[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.