snmpget fails on my second agent.

This is a discussion on snmpget fails on my second agent. within the SNMP Coders forums, part of the Networking and Network Related category; Hi, I am running 2 snmpd agents in a single linux machine for my project purpose. I am using configuration ...


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
raviraj@sasken.com
 
Posts: n/a
Default snmpget fails on my second agent.


Hi,

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

For version 3, the user name is hellouser and the passphrase is hellopass.

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.

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:5050 system.sysName.0"
fails saying "unknown user".

Why this happens? Can you please help me with this.

Thanks in advance.

Regards,
RSR




"SASKEN RATED THE BEST EMPLOYER IN THE COUNTRY by the BUSINESS TODAY Mercer Survey 2004"


SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, 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 individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email


-------------------------------------------------------
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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 07:27 PM.


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