The SNMP-Driver-Template is not a functional device driver. It is meant as a template which makes it easy to write a small SNMP device driver which simply polls / controls some parameters at the device.
To make use of this template, go into the 'drivers' directory if your sat-nms installation and make a copy of the 'SNMP-Driver-Template.device' file. To match the sat-nms naming conventions, the name of the new file should be Vendor-MyDevice.device or something similar (You may be unable to select your device driver in the device setup window if the file is not named correctly).
Edit the new file, the comment-header in the file contains some instructions how to adapt the driver file for your needs.
Device window pages
The following table shows which device window pages are available with this individual device type. Tool-bar functions not mentioned here are described at the general description of device windows .
--- Shows the defined parameters
--- The device info page.
--- The maintenance page. The configuration parameters described below are set at this page.Configuration parameters
At the maintenance page of the device window there are a couple of configuration parameters which must be set to make the software talk to the device.
parameter --- description
address --- The SNMP address specification for the device. The full address specification consists of the following fields:aaa.bbb.ccc.ddd:pppp read-community write-community
retries --- The number of communication retries which are made at application level. Should be 0 in most cases as the SNMP protocol already provides a retry-mechanism internally.
Variables defined by this device driver
| name | type | flags | range |
|---|---|---|---|
| info.driver | TEXT | R/O | StringRange R/O |
| lowLevel.cmd | TEXT | StringRange | |
| lowLevel.reply | TEXT | R/O | StringRange R/O |
| faults.99 | ALARM | R/O | AlarmFlagRange R/O (Communication) |
| faults.commstat | TEXT | R/O | StringRange R/O |
| info.type | TEXT | R/O | StringRange R/O |
| info.port | TEXT | R/O | StringRange R/O |
| info.frame | TEXT | R/O | StringRange R/O |
| param.1.val | TEXT | R/O | StringRange R/O |
| param.1.desc | TEXT | R/O | StringRange R/O |
| param.2.val | INTEGER | R/O | IntegerRange R/O (0 .. 0) |
| param.2.desc | TEXT | R/O | StringRange R/O |
| param.3.val | FLOAT | R/O | DoubleRange R/O (0.00 .. 0.00) |
| param.3.desc | TEXT | R/O | StringRange R/O |
| param.4.val | CHOICE | R/O | EnumRange R/O (VALUE-A VALUE-B VALUE-C VALUE-D) |
| param.4.desc | TEXT | R/O | StringRange R/O |
| param.5.val | BOOLEAN | R/O | BooleanRange R/O (true false) |
| param.5.desc | TEXT | R/O | StringRange R/O |
| param.6.val | TEXT | StringRange | |
| param.6.desc | TEXT | R/O | StringRange R/O |
| param.7.val | INTEGER | IntegerRange (0 .. 0) | |
| param.7.desc | TEXT | R/O | StringRange R/O |
| param.8.val | FLOAT | DoubleRange (0.00 .. 0.00) | |
| param.8.desc | TEXT | R/O | StringRange R/O |
| param.9.val | CHOICE | EnumRange (VALUE-A VALUE-B VALUE-C VALUE-D) | |
| param.9.desc | TEXT | R/O | StringRange R/O |
| param.10.val | BOOLEAN | BooleanRange (true false) | |
| param.10.desc | TEXT | R/O | StringRange R/O |