[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    SNMP GET/GET NEXT failed to execute.
From:       Nirmalraj DURAI <nirmalraj.durai () al-enterprise ! com>
Date:       2018-03-01 10:38:54
Message-ID: DB6PR0802MB234401D234FC49D4485EAE0FA9C60 () DB6PR0802MB2344 ! eurprd08 ! prod ! outlook ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

We have installed and configuring Net-SNMP V3 in windows box. We are facing issues in \
executing commands. Initially, we are getting authorization error and after adding \
the "authuser" log,execute <AdminSNMP> the authorization error was resolved.

But, now we are getting different error.

C:\8770\bin>snmpget -v 3 -n "" -a SHA -A AdminSNMP -x AES -X AdminSNMP -l authPr
iv -u AdminSNMP  172.19.50.82 sysDescr.0
netsnmp_assert s != (-1) failed ..\..\snmplib\transports\snmpUDPBaseDomain.c:494

SNMPv2-MIB::sysDescr.0 = No Such Object available on this agent at this OID

C:\8770\bin>snmpget -v 3 -n "" -a SHA -A AdminSNMP -x AES -X AdminSNMP -l authPr
iv -u AdminSNMP  172.19.50.82 sysDescr.0
netsnmp_assert s != (-1) failed ..\..\snmplib\transports\snmpUDPBaseDomain.c:494

SNMPv2-MIB::sysDescr.0 = No Such Object available on this agent at this OID

System Info:
OS: Windows 2008
Net-SNMP version : 5.7.3 (Source downloaded and built on our environment)
OpenSSL: 1.0.2n

Attached the snmpd.conf for your reference.
Can't able to identify the issue.

Please let us know you suggestion.
Regards,
Nirmalraj Durai


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:PMingLiU;
	panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@PMingLiU";
	panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi, <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">We have installed and configuring Net-SNMP V3 in windows box. We \
are facing issues in executing commands.<o:p></o:p></p> <p \
class="MsoNormal">Initially, we are getting authorization error and after adding the \
&#8220;authuser&#8221; log,execute &lt;AdminSNMP&gt; the authorization error was \
resolved.<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">But, now we are getting different error.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span \
style="background:yellow;mso-highlight:yellow">C:\8770\bin&gt;snmpget -v 3 -n \
&quot;&quot; -a SHA -A AdminSNMP -x AES -X AdminSNMP -l authPr<o:p></o:p></span></p> \
<p class="MsoNormal"><span style="background:yellow;mso-highlight:yellow">iv -u \
AdminSNMP&nbsp; 172.19.50.82 sysDescr.0<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="background:yellow;mso-highlight:yellow">netsnmp_assert \
s != (-1) failed ..\..\snmplib\transports\snmpUDPBaseDomain.c:494<o:p></o:p></span></p>
 <p class="MsoNormal"><span \
style="background:yellow;mso-highlight:yellow"><o:p>&nbsp;</o:p></span></p> <p \
class="MsoNormal"><span \
style="background:yellow;mso-highlight:yellow">SNMPv2-MIB::sysDescr.0 = No Such \
Object available on this agent at this OID<o:p></o:p></span></p> <p \
class="MsoNormal"><span \
style="background:yellow;mso-highlight:yellow"><o:p>&nbsp;</o:p></span></p> <p \
class="MsoNormal"><span \
style="background:yellow;mso-highlight:yellow">C:\8770\bin&gt;snmpget -v 3 -n \
&quot;&quot; -a SHA -A AdminSNMP -x AES -X AdminSNMP -l authPr<o:p></o:p></span></p> \
<p class="MsoNormal"><span style="background:yellow;mso-highlight:yellow">iv -u \
AdminSNMP&nbsp; 172.19.50.82 sysDescr.0<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="background:yellow;mso-highlight:yellow">netsnmp_assert \
s != (-1) failed ..\..\snmplib\transports\snmpUDPBaseDomain.c:494<o:p></o:p></span></p>
 <p class="MsoNormal"><span \
style="background:yellow;mso-highlight:yellow"><o:p>&nbsp;</o:p></span></p> <p \
class="MsoNormal"><span \
style="background:yellow;mso-highlight:yellow">SNMPv2-MIB::sysDescr.0 = No Such \
Object available on this agent at this OID</span><o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">System \
Info:<o:p></o:p></p> <p class="MsoNormal">OS: Windows 2008<o:p></o:p></p>
<p class="MsoNormal">Net-SNMP version : 5.7.3 (Source downloaded and built on our \
environment)<o:p></o:p></p> <p class="MsoNormal">OpenSSL: 1.0.2n <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Attached the snmpd.conf for your reference.<o:p></o:p></p>
<p class="MsoNormal">Can&#8217;t able to identify the issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Please let us know you suggestion.<o:p></o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Nirmalraj Durai<o:p></o:p></p>
</div>
</body>
</html>


["snmpd.conf" (application/octet-stream)]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic