[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-coders
Subject:    Re: how to set data to network devices? Thanks!
From:       Dave Shield <D.T.Shield () csc ! liv ! ac ! uk>
Date:       2005-10-28 8:36:13
Message-ID: 1130488573.9237.32.camel () daves ! staff ! csc ! liv ! ac ! uk
[Download RAW message or body]

On Fri, 2005-10-28 at 13:50 +0800, livia xie wrote:
> After  the agent receives the msgs from NMS, how can it set the datas
> to devices?

It depends on the device.


>  Can I define ioctl functions in my device drivers and call the
> functions in the msg process routines?

Yes - that's certainly one common approach.


> How about get data from devices?

Once again, it depends on the device.
You need to look at the documented APIs for the devices in question.

As far as the agent is concerned, it doesn't matter *how* you
retrieve (or update) the management information - that's purely
between you (as MIB implementor) and the developers of the device
driver.


Dave


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic