> Source: [sk158852](https://support.checkpoint.com/results/sk/sk158852)

# sk158852 - SNMP query for disk space returns negative value or does not return any value at all

| Property | Value |
|----------|-------|
| Solution ID | sk158852 |
| Date Created | 2019-07-21 |
| Last Modified | 2020-03-09 |
| Technical Level | Advanced |
| Products | Security Gateway, Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20, R82.20 |
| OS | Gaia |

## Symptoms

- * **Note:** This issue was fixed in Check Point release R80.40( and above) which use net-snmp package version 5.8.
* SNMP query of available disk space on a filesystem returns an error  

  Example for /var/log:

  ```
  [Expert@System:0]# snmpwalk -v3 -l authNoPriv -u snmptest -a MD5 -A snmptest123 192.168.1.10 1.3.6.1.2.1.25.2.3.1.5.33
  HOST-RESOURCES-MIB::hrStorageDescr.33 = No Such Instance currently exists at this OID
  ```

  <br />

  Looking in /var/log/snmpd.log shows:   
  `[...]
  /var/log: Value too large for defined data type`

  <br />

* SNMP query of available disk space on a filesystem returns a negative value


  Example for /var/log:  

  ```
  
  [Expert@System:0]# snmpwalk -v3 -l authNoPriv -u admin -a MD5 -A AdminAdmin 192.168.1.10 1.3.6.1.2.1.25.2.3.1.5.33
  HOST-RESOURCES-MIB::hrStorageSize.33 = INTEGER: -805828109
  ```

  <br />

## Cause

Check Point Gaia releases R77 - R80.30 use 3rd party net-snmp package version 5.4.2.1, that uses a 32 bit integer to represent the disk space and available disk space on a filesystem.

32 bit integer is too small of a value for modern filesystems, so often disk space in */var/log* is greater, then can be represented using 32 bit.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
