Problems with Net-SNMP Passing hrStorageSize
I attempted to get help on this from the Net-SNMP users email list, but received no response. Also, I'm sorry in advance if this should have been posted in a different section of the forum.
In order to workaround the issue of Net-SNMP volume data not taking reserved space into account I'm attempting to use a pass in snmpd.conf which will replace hrStorageSize with a calculated number that does take reserved space into account.
The problem I'm running into is that I get a seg fault upon restarting snmpd when I attempt to setup the pass at hrStorageSize:
pass .18.104.22.168.22.214.171.124.3.1.5 /root/snmptest.pl
If I try setting the pass for the entire hrStorage table or specifically for hrStorageSize.index, I am able to successfully start snmpd and also receive proper data when polling.
pass .126.96.36.199.188.8.131.52.3.1 /root/snmptest.pl
pass .184.108.40.206.220.127.116.11.18.104.22.168 /root/snmptest.pl
Unfortunately, this means that I either have to reinvent the wheel and completely rewrite the entire hrStorage table or include every possible index to be passed. I've tried using wildcards as well as the OID Name "HOST-RESOURCES-MIB::hrStorageSize" without success.
Anyone know as to why this would be failing to pass on hrStorageSize but not the others?
Thanks in advance,