Hi Dave,
*Thanks for your reply.*
Requirements of DESC MIB: MIB contains a table such as diTable
DESC MIB is designed to both monitor and manage.
*diTable* : MIB for this looks like
DiEntry ::= SEQUENCE
{
diDeviceId OCTET STRING,
diAlarmTime OCTET STRING,
diPinNo Unsigned32,
diPinValue Unsigned32
}
diPinNo vary from 1 to 24.
Here indexes to the table are: diDeviceId, diAlarmTime and diPinNo
*Please guide me on following things*
*
*
1) I want to create a diTable with 24 rows and i need to update
diPinValue depends
on some condition. How to do that?
2) How can i move to particular row and update diPinValue?
3) Whether SNMP agent updates the object values in the MIB table row or
appends a new row to the table?
*Thanks in Advance*
*Prashant Nirni*
On 21 November 2011 10:11, prashant n <[email protected]> wrote:
> Yes i used mib2c tool to implement the table. I used following command
to
> generate corresponding .c and .h files
> This command i gave in a current directory containing mib file as DESC-MIB
> env MIBS="+DESC-MIB" mib2c -c mib2c.create-dataset.conf diTable
OK - the 'create-dataset' configuration is primarily designed for
a table where the data is held completely within the SNMP agent.
i.e. the agent is the only thing that will ever be concerned with
this information.
Does that match the requirements of your MIB?
What is it that the DESC-MIB is designed to monitor/manage?
Dave
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders