An Azure service that is used to provision Windows and Linux virtual machines.
Hello Nikhil Singh
The OIDs you are querying are correct and standards‑based for Linux systems running Debian or Ubuntu. They belong to the HOST‑RESOURCES‑MIB (RFC 2790) and are supported by the Net‑SNMP agent used on these operating systems.
However, the behavior you are observing is expected and is related to the default SNMP agent configuration, not to an issue with the OIDs themselves.
On Debian and Ubuntu systems, the SNMP daemon (snmpd) is installed with a restricted default configuration. By design, only a limited subset of MIB objects is exposed out‑of‑the‑box. As a result:
- Uptime OIDs (for example,
hrSystemUptime) are available by default and can be successfully queried. - Storage, CPU, and memory metrics—which reside under
hrStorageTable,hrProcessorTable, and related objects—are not exposed unless explicitly enabled. - Storage metrics under
.1.3.6.1.2.1.25.2.3are tabular OIDs, which require proper table access and indexing; they cannot be reliably retrieved using a simple SNMP GET. - Many third‑party monitoring tools fail to retrieve these values unless the SNMP agent’s view permissions and MIB support are expanded accordingly.
This is a common and documented behavior for Net‑SNMP on Debian‑based distributions and does not indicate a defect in the operating system or SNMP implementation.
The inability to retrieve storage, CPU, and memory metrics is expected behavior on Debian and Ubuntu systems and is not caused by incorrect OIDs. By default, the Net‑SNMP agent restricts access to extended and tabular MIBs for security reasons, exposing only a limited set of scalar objects such as uptime. As a result, HOST‑RESOURCES‑MIB and UCD‑SNMP‑MIB metrics are not returned unless explicitly enabled, which is a documented and standard configuration behavior on these platforms.
Can you please update us if the action plan provided was helpful?
Should there be any follow-up questions or concerns, please let us know and we shall try to address them.
If these answer your question, click "Upvote" and click "Accept Answer" which may be beneficial to other community members reading this thread.
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.