views:

294

answers:

2

Hii, I want to make my own snmp server and agent.with my own MIB and OID's. how can i do it??and where to start??

And if i want to use windows SNMP service and extend it and insert my own OID's into its MIB then ,is it possible??.n if yes,how can i do this??

+1  A: 

If you ever start implementing any standardized protocol, the first step is to read the standards defining it. In case of SNMPv3. the relevant standards are

RFC:s

The good (and bad) thing about RFC's is that they usually very clearly state what you MUST, SHOULD, MUST NOT, SHOULD NOT and MAY do in your implemention.

Kimvais
+3  A: 

There is an excellent open-source implementation for the .NET framework called SharpSnmpLib. It can implement a normal SNMP server, and it allows you to load your own custom MIBS.

A couple of tips:

  • You can find existing MIB's at oidview or the Cisco Mib Browser
  • Avoid v3 and the RFC's that belong to it (in fact, I'd avoid the RFC's at all, they're confusing and cover many areas that were not adopted)
  • Test early and often with machines as close to the production setup as you can
Andomar
Can i make my own MIB and provide my own OID's and their values??..Can i use this library for commercial purpose??.
Divya mohan Singh
The library is LGPLed, so you can use in commercial projects. The samples, such as the agent/server reference design is covered by MIT license.
Lex Li
i have found a library SnmpSharpNet http://www.snmpsharpnet.com/Can i use it commercially??.it is licensed under LGPL.
Divya mohan Singh
One more think Is it possible to implement everything ie. create my own MIB ,OID's etc with this library??..thanx
Divya mohan Singh