Difference between revisions of "Network Device Drivers"

From NetXMS Wiki
Jump to navigation Jump to search
(Added list of drivers)
Line 1: Line 1:
Driver is a code in C that tells NetXMS what kind of device should be added.
Network device driver is a special kind of server module which handles device specifics for SNMP devices (for example, retrieving VLAN information in most cases is vendor or device specific). Drivers are written in C++.


= Driver Selection for Device =
= Driver Selection for Device =
Line 5: Line 5:
Driver selects the device type in two steps. On first step, server pass device information to each driver’s '''isPotentialDevice''' method. This method should return 0 if driver cannot support this device or priority in range 1 - 255 if device can be potentially supported. On second step, server calls method '''isDeviceSupported''' for each driver which responds positively on first step, going from highest priority drivers to lowest priority drivers. First driver responding with '''true''' is selected as driver for the device. If no drivers were selected, built-in generic driver will be used.
Driver selects the device type in two steps. On first step, server pass device information to each driver’s '''isPotentialDevice''' method. This method should return 0 if driver cannot support this device or priority in range 1 - 255 if device can be potentially supported. On second step, server calls method '''isDeviceSupported''' for each driver which responds positively on first step, going from highest priority drivers to lowest priority drivers. First driver responding with '''true''' is selected as driver for the device. If no drivers were selected, built-in generic driver will be used.


== List of Drivers ==
== Standard Drivers ==


* Baystack (OID: .1.3.6.1.4.1.45.3)
The following drivers comes with NetXMS by default:
 
* BAYSTACK (OID: .1.3.6.1.4.1.45.3)
* CATALYST-2900XL (OID: .1.3.6.1.4.1.9.1. plus one of: 170, 171, 183, 184, 217, 218, 219, 220, 221, 246, 247, 248, 323, 324, 325, 359, 369, 370, 427, 428, 429, 430, 472, 480, 482, 483, 484, 488, 489, 508, 551, 559, 560)
* CATALYST-2900XL (OID: .1.3.6.1.4.1.9.1. plus one of: 170, 171, 183, 184, 217, 218, 219, 220, 221, 246, 247, 248, 323, 324, 325, 359, 369, 370, 427, 428, 429, 430, 472, 480, 482, 483, 484, 488, 489, 508, 551, 559, 560)
* CATALYST-GENERIC (OID: .1.3.6.1.4.1.9.1. and successful SNMP GET for .1.3.6.1.4.1.9.5.1.2.14.0)
* CATALYST-GENERIC (OID: .1.3.6.1.4.1.9.1. and successful SNMP GET for .1.3.6.1.4.1.9.5.1.2.14.0)

Revision as of 22:40, 19 December 2012

Network device driver is a special kind of server module which handles device specifics for SNMP devices (for example, retrieving VLAN information in most cases is vendor or device specific). Drivers are written in C++.

Driver Selection for Device

Driver selects the device type in two steps. On first step, server pass device information to each driver’s isPotentialDevice method. This method should return 0 if driver cannot support this device or priority in range 1 - 255 if device can be potentially supported. On second step, server calls method isDeviceSupported for each driver which responds positively on first step, going from highest priority drivers to lowest priority drivers. First driver responding with true is selected as driver for the device. If no drivers were selected, built-in generic driver will be used.

Standard Drivers

The following drivers comes with NetXMS by default:

  • BAYSTACK (OID: .1.3.6.1.4.1.45.3)
  • CATALYST-2900XL (OID: .1.3.6.1.4.1.9.1. plus one of: 170, 171, 183, 184, 217, 218, 219, 220, 221, 246, 247, 248, 323, 324, 325, 359, 369, 370, 427, 428, 429, 430, 472, 480, 482, 483, 484, 488, 489, 508, 551, 559, 560)
  • CATALYST-GENERIC (OID: .1.3.6.1.4.1.9.1. and successful SNMP GET for .1.3.6.1.4.1.9.5.1.2.14.0)
  • CISCO-ESW
  • DELL-PWC (OID: .1.3.6.1.4.1.674.10895)
  • ERS8000 (OID: .1.3.6.1.4.1.2272)
  • NETSCREEN (OID: .1.3.6.1.4.1.3224.1)
  • PROCURVE (OID: .1.3.6.1.4.1.11.2.3.7.11)