How the SNMP read(differentiate) the different indexes in the OID ?

"Kumar Sanjay-XJD784" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
 

Hi All,

Consider there is snmp table having 4 index and a row-status field  of
type read-create.....

 

I have given the SNMP set request on this object .

 

How the SNMP read(differentiate) the different indexes in the OID ?

 

For example,  there is an snmp object
"ipCidrRouteStatus.192.168.1.0.255.255.255.0.0.192.168.1.1" having 4
indexes

1.       Ip address:192.168.1.0 

2.       Networkmask: 255.255.255.0

3.       Integet: 0

4.       Gateway: 192.168.1.1

 

How net-snmp code find out this object having  4 indexes ?

 

Is there any net-snmp function available(Or similar which I can modify
and use) which will separate out the different Indexes

 

Number of Index can anything (more than 2), Also Index type can also be
varied ?

 

For example I will pass the OID comprises the indexes and function will
return the OID and Indexes at least space separated  string or something
similar

 

Input: ipCidrRouteStatus.192.168.1.0.255.255.255.0.0.192.168.1.1

Output: ipCidrRouteStatus     192.168.1.0        255.255.255.0       0
192.168.1.1 (or similar )

 

 

Any Idea will be welcome

 

Thanks,

Sanjay

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.