Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8862955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:51:19+00:00 2026-06-14T15:51:19+00:00

Recently we were making MIB files for NMS system, while doing so I came

  • 0

Recently we were making MIB files for NMS system, while doing so I came across that after deploying the MIBs on Linux machine to query it I need to add 101.1 at the end, where as for standard Linux mibs only .0 needs to be appended. I am not able to understand this that why my value is returned in 101.1 and not .0.

For example when I do this with linux MIBs I get the value

snmpget -v 2c -c public localhost 1.3.6.1.2.1.1.3.0
SNMPv2-MIB::sysUpTime.0 = Timeticks: (105543) 0:17:35.43

But for my mib to work I need to append 101.1

snmpwalk -v 2c localhost -c public .1.3.6.1.4.1.****.1.2.3.101.1 
SNMPv2-SMI::enterprises.****.1.2.3.101.1 = STRING: "388 MB"

When I do a walk with my MIB I get the following .

snmpwalk -v 2c localhost -c public .1.3.6.1.4.1.****.1.2.3

SNMPv2-SMI::enterprises.****.1.2.3.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.****.1.2.3.2.1 = STRING: "getSystemMemoryUsage.sh"
SNMPv2-SMI::enterprises.****.1.2.3.3.1 = STRING:
"/opt/nagios/plugins/fetch_scripts/System/getSystemMemoryUsage.sh"
SNMPv2-SMI::enterprises.****.1.2.3.100.1 = INTEGER: 0
SNMPv2-SMI::enterprises.****.1.2.3.101.1 = STRING: "388 MB"
SNMPv2-SMI::enterprises.****.1.2.3.102.1 = INTEGER: 0
SNMPv2-SMI::enterprises.****.1.2.3.103.1 = ""

Can any one advice why such behavior in our MIB and what needs to be done so that my MIB behave like Linux Mibs where I just add .0 at the end and get the value.
The OBJECT TYPE is scalar for all .

Thanking you all in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:51:20+00:00Added an answer on June 14, 2026 at 3:51 pm

    The MIB nomenclature supports data represented as table’s rows and non-tabular scalars. Data which are presented as scalars are accessed by using OID.0 index. The “.0” part indicates access to scalar object – single object instance in the system. The tables contain columns (each column represent some kind of data) and rows (each row represent a table instance – some kind of entity which does support that table).

    In your example, you try to access some table in your Enterprise MIB. This table contain an index (there may be single or multiple indexed MIB tables). To determine first available index in that table you can start with snmpgetnext command in following way:

    snmpgetnext -v2c -c public localhost .1.3.6.1.4.1.****.1.2.3
    

    or

    snmpgetnext -v2c -c public localhost .1.3.6.1.4.1.****.1.2.3.0
    

    or

    snmpgetnext -v2c -c public localhost .1.3.6.1.4.1.****.1.2.3.0.0
    

    As you can see all of the above commands give you first existing row instance by updating two last OID parts (.0.0). These two OIDs don’t have to be specified explicitly, therefore you may use only one null-index (.0) or even don’t have to specify them at all.

    To understand how these table’s indexes are described you need to refer to your Enterprise MIB – find table described by this OID: .1.3.6.1.4.1.**.1.2.3 and learn about indexing scheme and what does these indexes represent. Well-written MIB should contain this information.

    Interpretation may be following:

    • *.1.1 = 1 – data column with id=1 for entity index 1
    • *.2.1 = “getSystemMemoryUsage.sh” – data column with id=2 for entity index 1 representing script name (STRING syntax)
    • *.3.1 = “/opt/nagios/plugins/fetch_scripts/System/getSystemMemoryUsage.sh” – data column with id=3 for entity index 1 representing full script’s path (STRING syntax)
    • *.100.1 = 0 – data column with id=100 for entity index 1 representing some INTEGER value
      and so on…

    Column indexing (.1, .2, .3, .100, .101 …) may contain gaps if MIB designers expect to add some columns in future between .3 and .100. or simply entity index 1 does not support these columns (if they are defined in MIB). It is allowed to skip empty columns.

    If you would like to read about differences between scalar and columnar objects, please refer to i.e. RFC1212.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently started making simple 2D games, and came across a dilemma - to
Recently I am making a system monitoring tool. For that I need a class
I've just recently started programming for the iPhone and I'm making an application that
I am recently considering making an application that uses h2 database as its main
I was recently making a very simple application that just printed matrix-effect out to
I've recently tried making an inventory system in allegro 5, where I draw a
I recently finished the basics of a game that I'm making and I was
I recently read that making a class singleton makes it impossible to mock the
I have recently started making an Android app that requires a list of 20
I started making my app last year, but have recently had that HOLY ****

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.