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

# sk168992 - Unable to get correct hmem values for SNMP OID .1.3.6.1.4.1.2620.1.1.26.1.11

| Property | Value |
|----------|-------|
| Solution ID | sk168992 |
| Date Created | 2020-08-31 |
| Last Modified | 2021-10-23 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- SNMP OIDs for hmem values do not show properly

## Cause

Kernel is not processing SNMP query for hmem used bytes properly  

hmem values for the following SNMP OIDs do not show properly:  

.1.3.6.1.4.1.2620.1.1.26.1.11  
.1.3.6.1.4.1.2620.1.1.26.1.12  

The following are snmpwalk sample outputs for these SNMP OIDs:  

`[Expert@FW:0]# snmpwalk -v2c -c public localhost .1.3.6.1.4.1.2620.1.1.26.1.11`  
`SNMPv2-SMI::enterprises.2620.1.1.26.1.11.0 = Gauge32: 0`  

`[Expert@FW:0]# snmpwalk -v2c -c public localhost .1.3.6.1.4.1.2620.1.1.26.1.12`  
`SNMPv2-SMI::enterprises.2620.1.1.26.1.12.0 = Gauge32: 0`  

The proper output should look something like the following:  

`[Expert@FW:0]# snmpwalk -v2c -c public localhost .1.3.6.1.4.1.2620.1.1.26.1.11`  
`SNMPv2-SMI::enterprises.2620.1.1.26.1.11.0 = Gauge32: 21874488`  

`[Expert@FW:0]# snmpwalk -v2c -c public localhost .1.3.6.1.4.1.2620.1.1.26.1.12`  
`SNMPv2-SMI::enterprises.2620.1.1.26.1.12.0 = Gauge32: 6356`

## Solution

By default some HMEM statistics are not displayed in snmp.

<br />

In order to view or get those statistics using snmp a fix is provided.  
The fix is included in:

* [Jumbo Hotfix Accumulator for R81](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk170114) starting from Take 34
* [Jumbo Hotfix Accumulator for R80.40](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk165456) starting from Take 119
* [Jumbo Hotfix Accumulator for R80.30](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk153152) starting from Take 237
* [Jumbo Hotfix Accumulator for R80.20](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk137592) starting from Take 202
* [Jumbo Hotfix Accumulator for R80.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk116380) starting from Take 290

If you choose not to upgrade, Check Point can supply a **Hotfix** . [Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk168597).

A new registry value was provided *PSTAT_V_HMEM* , which if enabled allow us to query HMEM statistics using *fw ctl pstat* or snmp queries.

Apply the following procedures after installing the Hotfix:

1. Run the following command in the security GW in order to enable the fix*:*   

   *cpprod_util CPPROD_SetValue FW1 PSTAT_V_HMEM 1 1 1*   

2. To disable run the following command:*cpprod_util CPPROD_SetValue FW1 PSTAT_V_HMEM 1 0 1*
3. After changing the registry value reboot the security GW.
4. Verify the output of following commands in expert mode (*snmpwalk* output should not display a value of zero):

`snmpwalk -v2c -c public localhost .1.3.6.1.4.1.2620.1.1.26.1.11`  
`snmpwalk -v2c -c public localhost .1.3.6.1.4.1.2620.1.1.26.1.12`

---

# 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
