Re: multiple snmpget on tables

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

i mean issuing a series of individual GET requests
for entries within a single table with 1 row and 8 presented columns.

I get differen results between series of individual GET requests
for entries within a single table and single GET requests on same entries within the table.

When I send the following
snmpget -c public 192.168.10.146 inspektor.3.3.1.1.0x8801  inspektor.3.3.1.2.0x8801 inspektor.3.3.1.3.0x8801 inspektor.3.3.1.4.0x8801 inspektor.3.3.1.5.0x8801 inspektor.3.3.1.6.0x8801 inspektor.3.3.1.7.0x8801 inspektor.3.3.1.8.0x8801 
I receive the following.
INDUSOL-MODULAR-INSPEKTOR-MIB::1.34817 = STRING: "Module 1" 
INDUSOL-MODULAR-INSPEKTOR-MIB::2.34817 = INTEGER: 136
INDUSOL-MODULAR-INSPEKTOR-MIB::3.34817 = No Such Instance currently exists at this OID
INDUSOL-MODULAR-INSPEKTOR-MIB::4.34817 = No Such Instance currently exists at this OID
INDUSOL-MODULAR-INSPEKTOR-MIB::5.34817 = INTEGER: 0
INDUSOL-MODULAR-INSPEKTOR-MIB::6.34817 = Timeticks: (0) 0:00:00.00
INDUSOL-MODULAR-INSPEKTOR-MIB::7.34817 = No Such Instance currently exists at this OID
INDUSOL-MODULAR-INSPEKTOR-MIB::8.34817 = INTEGER: 1

Column 1 presents the value of column 7 and the values of column 3, 4 and 7 should present a specific string. 
If i add a additional GET request inspektor.3.3.1.9.0x8801 to the series, snmpd crash with segmentation fault. Column 9 does not provided by the table.

When I enter the command with individual oid requests the values return correctly.  

snmpget -c public 192.168.10.146 inspektor.3.3.1.1.0x8801
INDUSOL-MODULAR-INSPEKTOR-MIB::1.34817 = STRING: "v1.36"
snmpget -c public 192.168.10.146 inspektor.3.3.1.2.0x8801
INDUSOL-MODULAR-INSPEKTOR-MIB::2.34817 = INTEGER: 136
snmpget -c public 192.168.10.146 inspektor.3.3.1.3.0x8801
INDUSOL-MODULAR-INSPEKTOR-MIB::3.34817 = STRING: "Description Module DP"
snmpget -c public 192.168.10.146 inspektor.3.3.1.4.0x8801
INDUSOL-MODULAR-INSPEKTOR-MIB::4.34817 = STRING: "88"
snmpget -c public 192.168.10.146 inspektor.3.3.1.5.0x8801
INDUSOL-MODULAR-INSPEKTOR-MIB::5.34817 = INTEGER: 0
snmpget -c public 192.168.10.146 inspektor.3.3.1.6.0x8801
INDUSOL-MODULAR-INSPEKTOR-MIB::6.34817 = Timeticks: (0) 0:00:00.00
snmpget -c public 192.168.10.146 inspektor.3.3.1.7.0x8801
INDUSOL-MODULAR-INSPEKTOR-MIB::7.34817 = STRING: "Module 1"
snmpget -c public 192.168.10.146 inspektor.3.3.1.8.0x8801
INDUSOL-MODULAR-INSPEKTOR-MIB::8.34817 = INTEGER: 1
snmpget -c public 192.168.10.146 inspektor.3.3.1.9.0x8801
INDUSOL-MODULAR-INSPEKTOR-MIB::moduleParamEntry.9.34817 = No Such Object available on this agent at this OID

Norman



> On 16 March 2011 12:13,  <[email protected]> wrote:
> > i have some problems with multiple snmpget requests on a table.
> 
> What exactly do you mean by "multiple snmpget requests"?
> 
> Do you mean issuing a series of individual GET requests
> for entries within a single table?
> Or issuing a single GET requests listing multiple instances
> within a single table?
> Or either of these covering instances from more than one table?
> Or something else?
> 
> 
> > Is it possible to do multible snmpget requests on tables?
> 
> Yes
> (To all of the above)
> 
> What sort of problems are you seeing?
> 
> Dave
> 

-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
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.