Re: SNMPGET specifying the community name

Irvs <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks Tarun.

I can't seem to make it work, executing this command [snmpget -v2c -c
"sample community" 10.10.10.9 enterprises] does not give me the right return
value.

Do you guys have an idea where in the source code can I find the part where
it reads the community name value for evaluation?

Thanks a lot!

Irvs

On Wed, Jan 6, 2010 at 12:36 PM, Tarun Wadhwa <[email protected]>wrote:

> Hello Irvs,
>
> You could try enclosing the community name in quotes " " . That should work
>
>
> -Tarun
>
> On Wed, Jan 6, 2010 at 8:30 AM, Irvs <[email protected]> wrote:
>
>> Hello guys!
>>
>> Is it possible to have the value of the community string containing
>> spaces? I am used to using the default community value which is 'public' but
>> I just recently found out that it can be set into something different other
>> than the 'public' string. But, I am having problem with querying(using
>> snmpget) when the community name contains spaces(or more than 1 string).
>> How do you query this one?
>>
>> Thanks a lot guys!
>>
>> -Irvs
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> 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
>>
>>
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

_______________________________________________
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.