> I guess Net-SNMP determines all the Host Resources MIB information based on unix commands like "df" and then parses this output and populates the tables accordingly? No that would be ridiculously expensive in machine resources.
Have you considered looking at the source code to actually figure out how net-snmp works? http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net-snmp/ Host Resources MIB is here. http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net-snmp/agent /mibgroup/host/ hr_storage is here http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net-snmp/agent /mibgroup/host/hr_storage.c?view=markup Think statfs and statvfs among other things. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
