logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
james.w.troy  
#1 Posted : Tuesday, November 18, 2014 9:20:01 PM(UTC)
Rank: Newbie

Posts: 2

Hello Franz -

Thank you for creating the System Scripting Runtime. We derive great value from it.

We are attempting to retrieve OID .1.3.6.1.2.1.25.2.3.1.5 (hrStorageSize in the Host Resources MIB).

In some cases, the value in that OID is greater than 2,147,483,647 (on a Solaris system, verified with a MIB browser).

In that case, the "get" method fails with error 60. Is there any way to get around this ?

Thank you.


James Troy

franzk  
#2 Posted : Tuesday, November 18, 2014 9:54:07 PM(UTC)
Rank: Administration

Posts: 220
Location: Vienna, Austria

Hi Troy,

>Thank you for creating the System Scripting Runtime. We derive great value from it.

always great to hear ...

>n some cases, the value in that OID is greater than 2,147,483,647 (on a Solaris system, verified with a MIB browser).
>In that case, the "get" method fails with error 60.

Error 60 indicates an error reported by the underlying SNMP layer of Windows, probably caused by the fact that the maximum allowed value of this OID is 2147483647, at least according to its definition in RFC 2790:

hrStorageSize OBJECT-TYPE
SYNTAX Integer32 (0..2147483647)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The size of the storage represented by this entry, in
units of hrStorageAllocationUnits. This object is
writable to allow remote configuration of the size of
the storage area in those cases where such an
operation makes sense and is possible on the
underlying system. For example, the amount of main
memory allocated to a buffer pool might be modified or
the amount of disk space allocated to virtual memory
might be modified."
::= { hrStorageEntry 5 }


>Is there any way to get around this ?

I'm sorry, but no, because the error is caused by the SNMP layer of Windows.


-Franz





james.w.troy  
#3 Posted : Tuesday, November 18, 2014 11:15:59 PM(UTC)
Rank: Newbie

Posts: 2

Franz -

Thank you very much for your prompt reply.

Sincerely,

James Troy
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2017, Yet Another Forum.NET
This page was generated in 0.084 seconds.