Re: snmpget fails on my second agent.

This is a discussion on Re: snmpget fails on my second agent. within the SNMP Coders forums, part of the Networking and Network Related category; On 7/27/05, raviraj@sasken.com <raviraj@sasken.com> wrote: >=20 > Hi, >=20 > ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-27-2005
aakansha rajvi
 
Posts: n/a
Default Re: snmpget fails on my second agent.

On 7/27/05, raviraj@sasken.com <raviraj@sasken.com> wrote:
>=20
> Hi,
>=20
> I am running 2 snmpd agents in a single linux machine for my project
> purpose. I am using configuration files snmpd.conf from from
> /etc/snmp/snmp.conf for the first agent with default port (161) and
> snmp.conf from my home directory for the second agent with port number
> (5050).
> The second agent is invoked with the command
> /usr/sbin/snmpd -c <homedir>/snmp.conf udp:5050
>=20
> For version 3, the user name is hellouser and the passphrase is hellopass=

..
>=20
> When I execute the snmpget command for the first agent i.e for one with
> default port it works fine.
> i.e for the snmpget like
> "snmpget -v 3 -u hellouser -l authNoPriv -a MD5 -A hellopass localhost
> system.sysName.0"
> I get response.
>=20
> But it fails for the second agent with 5050 port.
> i.e for the snmpget like
> "snmpget -v 3 -u hellouser -l authNoPriv -a MD5 -A hellopass localhost
> system.sysName.0"
> fails saying "unknown user".
>=20

=20
Hope here you've to give snmpget request with port number 5050.
ie., localhost:5050
=20
> Why this happens? Can you please help me with this.
>=20
> Thanks in advance.
>=20
> Regards,
> RSR
>=20
>=20
>=20
>=20
> "SASKEN RATED THE BEST EMPLOYER IN THE COUNTRY by the BUSINESS TODAY Merc=

er Survey 2004"
>=20
>=20
> SASKEN BUSINESS DISCLAIMER
> This message may contain confidential, proprietary or legally Privileged =

information. In case you are not the original intended Recipient of the mes=
sage, you must not, directly or indirectly, use, Disclose, distribute, prin=
t, or copy any part of this message and you are requested to delete it and =
inform the sender. Any views expressed in this message are those of the ind=
ividual sender unless otherwise stated. Nothing contained in this message s=
hall be construed as an offer or acceptance of any offer by Sasken Communic=
ation Technologies Limited ("Sasken") unless sent with that express intent =
and with due authority of Sasken. Sasken has taken enough precautions to pr=
event the spread of viruses. However the company accepts no liability for a=
ny damage caused by any virus transmitted by this email
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=3D7477&al...492&op=3Dclic=

k
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/...et-snmp-coders
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:36 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0