Difference between revisions of "Network Device Drivers"

no edit summary
(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)
683

edits