[ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

On 21/02/2008, Nirav Shah <[EMAIL PROTECTED]> wrote:
> Hello Mr Dave.
>    Firstly thank you for replying. It definitely has given me an idea to go
> forward.
>   I want to know, if there is a way i can port an entire SNMP system onto
> Win CE without bothering about creating an agent or MIB.

What do you mean by an "entire SNMP system" ?

If you want to make SNMP queries *from* the WinCE system,
(i.e. using the PDA as a management console), then you should
be able to get away with porting the library and client-side apps.
   This should be relatively straighforward.

If you want to make SNMP queries *to* the WinCE system
(i.e. retrieve information from the PDA), then you will need to
port the agent, since this is what answers such SNMP queries.
   Again, porting the basic agent framework should be reasonably
straightforward - the difficulties tend to arise when it comes to
implementing particular MIBs.

> Also if you can tell me if the Net-snmp is Hardware specific
> i.e. if there are cards which do not support some (agents/MIBs),
> did be helpful.

Yes - an SNMP agent (in particular the various MIB modules)
are incredible hardware and O/S specific.    Most of the code
is shared and O/S independent (which is why I've described
porting this as "relatively straighforward").   But one of the tasks
of an agent is to retrieve information from the underlying system.
   How to do this depends very much on the exact configuration
of the local system - what O/S it's running, what hardware it has,
and what APIs are provided to talk to that hardware.

  This SNMP<->underlying system interface is by far the
trickiest part of the process.  Which is why we are increasingly
separating this code out into separate files.   Compare the
tangle of code in the old mibII/ifTable implementation, with the
somewhat cleaner structure of the if-mib/data_access files,
for an example.


  Remember, you only have to implement the MIB modules that
you'll actually want to query.   If you're not interested in something,
then you can omit the MIBs that relate to it.
   But yes - this is likely to be very O/S and hardware specific.
Take it slowly, one step at a time.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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

Reply via email to