Re: [patch] snmpd hrStorageSize negative values

2020-07-01 Thread Johan Huldtgren
On 2020-07-01 17:40, Martijn van Duren wrote: > On Wed, 2020-07-01 at 10:59 -0400, Johan Huldtgren wrote: > > hello, > > > > On 2017-11-27 10:31, Gerhard Roth wrote: > > > On Sat, 25 Nov 2017 11:42:07 -0700 Joel Knight > > > wrote: > > > > On Thu, Mar 9, 2017 at 10:02 PM, Joel Knight > > > >

Re: [patch] snmpd hrStorageSize negative values

2020-07-01 Thread Martijn van Duren
On Wed, 2020-07-01 at 10:59 -0400, Johan Huldtgren wrote: > hello, > > On 2017-11-27 10:31, Gerhard Roth wrote: > > On Sat, 25 Nov 2017 11:42:07 -0700 Joel Knight > > wrote: > > > On Thu, Mar 9, 2017 at 10:02 PM, Joel Knight > > > wrote: > > > > Hi. > > > > > > > > snmpd(8) uses unsigned

Re: [patch] snmpd hrStorageSize negative values

2020-07-01 Thread Johan Huldtgren
hello, On 2017-11-27 10:31, Gerhard Roth wrote: > On Sat, 25 Nov 2017 11:42:07 -0700 Joel Knight wrote: > > On Thu, Mar 9, 2017 at 10:02 PM, Joel Knight wrote: > > > Hi. > > > > > > snmpd(8) uses unsigned ints internally to represent the size and used > > > space of a file system. The

Re: [patch] snmpd hrStorageSize negative values

2017-11-27 Thread Gerhard Roth
On Sat, 25 Nov 2017 11:42:07 -0700 Joel Knight wrote: > On Thu, Mar 9, 2017 at 10:02 PM, Joel Knight wrote: > > Hi. > > > > snmpd(8) uses unsigned ints internally to represent the size and used > > space of a file system. The HOST-RESOURCES-MIB

Re: [patch] snmpd hrStorageSize negative values

2017-11-25 Thread Joel Knight
On Thu, Mar 9, 2017 at 10:02 PM, Joel Knight wrote: > Hi. > > snmpd(8) uses unsigned ints internally to represent the size and used > space of a file system. The HOST-RESOURCES-MIB defines the valid > values for those OIDs as 0..2147483647. With sufficiently large file >

[patch] snmpd hrStorageSize negative values

2017-03-10 Thread Joel Knight
Hi. snmpd(8) uses unsigned ints internally to represent the size and used space of a file system. The HOST-RESOURCES-MIB defines the valid values for those OIDs as 0..2147483647. With sufficiently large file systems, this can cause negative numbers to be returned for the size and used space OIDs.