On 14 July 2012 17:15, Reno, Sheppy <sheppy.r...@ellucian.com> wrote:
> Due to net-snmp not returning data relating to reserved space on volumes we
> have decided to implement a change that will return hrStorageSize as used +
> available.

> Any ideas as to how to get the pass to work properly against hrStorageSize?

Quite honestly, I'd be inclined not to tackle it that way.
Instead, why not look at tweaking the code to amend the value
that's being returned?

You don't say which version of the agent you're using, or what O/S
you are using,  but have a look at
    agent/mibgroup/host/hr_filesys.c

(or possibly mibgroup/hardware/filesys/)


That would also avoid your second problem:
> My second question is how does net-snmp determine the index values for
> volumes?… I also took a look at an strace of snmpget but wasn’t able to see
> where the index was being pulled from.

That's handled by the agent (not snmpget)

Dave

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

Reply via email to