Re: Why free space not shown while doing snmpwalk to HOST-RESOURCES-MIB::hrStorage

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Thu, 2005-12-08 at 10:03 +0000, John Joseph wrote:

>  I got the parameters like "hrStorageSize”,“hrStorageUsed” 
>  But I did not see any parameter showing free space on storage 
>  I would like to know why this result of free space is not shown

Because it's not necessary.
If you know how big a particular storage area is,
and how much is currently being used, it's trivial
to determine how much space is left.

What is the point in defining yet another MIB object,
which requires additional effort to implement and support,
and would generate additional (unnecessary) network traffic?

The only advantage is that it saves you from making a
simple subtraction.   Don't be so lazy!  :-)


It was one of the very early SNMP design principles,
to try and avoid modelling redundant information.
That's what you're seeing here.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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.