Anonymous_User Absent Member.
Absent Member.
1696 views

DHCPLeases script errors on Windows 2012 R2 dhcp server


I am getting the following error when I drop the AM 8.2 DHCPLeases
script on a Windows 2012 R2 dhcp server. The SNMP service is installed
and the community is configured on the server as well as in AM Security
Manager computers section. It appears that the OID number for this
object may have changed in Windows 2012? I've used a MIB browser
pointed at this server and cannot find that object either. Any idea if
there is an update to AM scripts to watch dhcp scopes on 2012 servers?

Failed to get OID=.1.3.6.1.4.1.311.1.3.2.1.1.1: errcode = 2, errmsg =
SNMP error 2, index 1 - Requested operation identified an unknown
variable

Thanks in advance.


--
bmduncan33
------------------------------------------------------------------------
bmduncan33's Profile: https://forums.netiq.com/member.php?userid=7599
View this thread: https://forums.netiq.com/showthread.php?t=52481

0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: DHCPLeases script errors on Windows 2012 R2 dhcp server

bmduncan33,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.netiq.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.netiq.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.netiq.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your NetIQ Forums Team
http://forums.netiq.com


0 Likes
Micro Focus Expert
Micro Focus Expert

Re: DHCPLeases script errors on Windows 2012 R2 dhcp server

bmduncan33 on %datetime% wrote:

>
>I am getting the following error when I drop the AM 8.2 DHCPLeases
>script on a Windows 2012 R2 dhcp server. The SNMP service is
>installed and the community is configured on the server as well as in
>AM Security Manager computers section. It appears that the OID
>number for this object may have changed in Windows 2012? I've used a
>MIB browser pointed at this server and cannot find that object
>either. Any idea if there is an update to AM scripts to watch dhcp
>scopes on 2012 servers?
>
>Failed to get OID=.1.3.6.1.4.1.311.1.3.2.1.1.1: errcode = 2, errmsg =
>SNMP error 2, index 1 - Requested operation identified an unknown
>variable
>
>Thanks in advance.



[I understand this an an old post; however, no response was provided
AND this appears in search engine results for same and similar issues -
as I stumbled across it while researching the same error message.]

This appears to be an environment issue with Windows Server 2012 as the
SNMP services seems a bit finicky in this version of the OS. Please
reference the following TechNet post:
https://social.technet.microsoft.com/forums/windowsserver/en-US/73c00321
-496a-4898-ad5b-5ceb909610c7/snmp-oid-to-get-dhcp-scopes-from-2012-serve
r

If you cannot read the proper OID values using a MIB Browser (i.e.,
SNMPWALK), you may have to uninstall the SNMP service, reboot, and
install the SNMP service again.

SNMPWALK can be downloaded from Syslog Watcher's website:
https://syslogwatcher.com/cmd-tools/snmp-walk/. Example command (you
may need to modify the command below to provide the desired information
you are seeking):

SnmpWalk.exe -r:host -c:community -os:1.3.6.1.4.1.311.1.3.2.1.1.3
-op:1.3.6.1.4.1.311.1.3.2.1.1.4

If Windows Firewall is enabled, you may experience issues. If so, you
can either open the appropriate port or if you are running the tool on
a local machine you can use –r:127.0.0.1.

--ebell
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.