Hi,
I have to create custom OID out of existing OIDs in an an SNMP agent.
Essentially it will be something like
value of Custom OID 1 = value of (Existing OID 1+ Exsisting OID 2 - Existing
OID 3)
happy# snmpwalk -v2c -cpublic localhost .1.3.6.1.4.1.99999.3.2.2.2.3.9.1.2
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.1.1 = Counter32: 0
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.1.2 = Counter32: 0
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.1.3 = Counter32: 31
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.1.4 = Counter32: 0
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.1.5 = Counter32: 0
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.2.1 = Counter32: 0
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.2.2 = Counter32: 0
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.2.3 = Counter32: 0
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.2.4 = Counter32: 0
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.2.5 = Counter32: 0
happy#
So from here I need to create a custom OID which will be
Value of Custom OID 1 = value of ( iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.1.3 +
iso.3.6.1.4.1.99999.3.2.2.2.3.9.1.2.2.3)
SNMP manager will poll the Custom OID 1
The device delivers SNMP functionality to Net-SNMP through AgentX subagents.
Can you give me some ideas as to how to do it ?
thanks,
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_1------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users