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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |