Re: SNMP get querry for table with display string as index

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 25/07/07, [email protected] <[email protected]> wrote:
> snmpget -r 0 -t 1000  -v2c -c AdminAdmin 192.168.221.176
> maxAlarmDefReportMode.\"LOSS OF
> SIGNAL\".1.3.6.1.4.1.637.74.1.1.5.1.1.1.4
>
> But it is failing.

Try escaping the spaces as well:

    snmpget .... maxAlarmDefReportMode.\"LOSS\ OF\ SIGNAL\" ......


> We don't require to sent length of OID because it is defined as IMPLIED
>  in MIB.

In which case, you should be using

    snmpget .... maxAlarmDefReportMode.\'LOSS\ OF\ SIGNAL\'  ......

(with single quotes) instead.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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.