On Fri, Aug 16, 2013 at 12:46:00AM -0300, Gabriel Durante wrote:
> My  problem now is, I can't set some data types, like counter64...(snmpset
> don't support this).

Per section 7.1.6 of RFC 2578 (SMIv2), counters are read-only. :
7.1.6. Counter32
7.1.10. Counter64
[...]
The value of the MAX-ACCESS clause for objects with a SYNTAX clause
value of Counter32 is either "read-only" or "accessible-for-notify".

> I have to write this type of data with an agentX sub agent directly ?

You have to cheat somehow - if they really are counters :-)
You are not supposed to be able te set a counter.

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to