This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
This adapter can be used to poll information from devices like printers, network devices, etc. using SNMP protocol.
- (McM1957) Fixed an error within io-package.json.
- (McM1957) The compatibility flag is now deprecated and will be removed in future releases. Please adapt config if required.
- (McM1957) SNMP V3 support has been added (#71)
- (McM1957) Support for IPv6 has been added (#138)
- (McM1957) Code has been cleaned as suggested by eslint
- (McM1957) Base modules have been upgraded to current versions
- (McM1957) Documentaion has been updates (en, de, ru)
- (McM1957) Validation of OID and device names has been enhanced, crash was reported by sentry (#169)
- (McM1957) Support for (IPv4) domainnames has been readded (#165)
- (McM1957) Devices without any active oid do no longer cause an fatal error but only log a warning (#155)
- (McM1957) Timervalues are now validated more strictly (#156, #164)
- (McM1957) Some crashes reported by sentry have been fixed (#167)
- (McM1957) external packages have been updated by dependabot
- (McM1957) HOTFIX: Parameter "community" has not been migrated when updating to version v2.x.x from previous releases. (#163)
- (McM1957) Documentation within README.md has been updated (#133)
- (McM1957) Some issues reported by sentry have been fixed (#151, #152)
- (McM1957) The functionality of option "optional" has been restored. (#147)
- (McM1957) HOTFIX - A system crash at SNMP v1 errors has been fixed (#145)
- (McM1957) A new option to control the number of OIDs within a single request has been added to avoid TOOBIG errors (#72)
- (McM1957) conversion of floatingpoint values has been corrected (#16)
- (McM1957) some external packages have been updated
- (McM1957) net-snmp has been upgraded to version 3.8.2
- (McM1957) Support for SNMP v2c has been added (#116)
- (McM1957) The quality marker of stateobjects will be used in case of error or timeout
- (McM1957) The OID marker 'Optional' has been implemented. This marker suppresses errors for OIDs which are not always available. (#116)
- (McM1957) Support for Counter64 OIDs has been added. (#57)
- (McM1957) The data returned by snmp communication will be logged with more details now.
- (McM1957) Compact mode has been enabled. (#20)
- (McM1957) Known restriction: currently only SNMP V1 and SNMP V2c are supported.
- (McM1957) Known restriction: OID attribute writeable is not yet implemented.
- (McM1957) Faulty handling of compatibility mode flag has been corrected (#135)
- (McM1957) Logging of errors for invalid OIDs corrected (#134)
- IMPORTANT: This release will change the configuration structures! Please backup your configuration before starting the installation. The Installation will try to convert the old configuration - but it is not guaranteed to succeed in all cases.
- (McM1957) Many parts of the code have been rewriten
- (McM1957) The adapter now uses the admin5 interface
- (McM1957) Timer values can now be set differently per device (#105)
- (McM1957) Changing the order of configuration entries does no longer destroy data (#15)
- (McM1957) Stateobjects for devices can now be named. The old behavior is available as an option.
- (McM1957) Known restriction: currently only SNMP V1 is supported.
- (McM1957) Known restriction: OID attributes optional and writeable are not yet implemented.
- IMPORTANT: This release will change the object structures!
- (McM1957) latency for update of info.connection has been reduced
- (McM1957) excessive error logging if target is unreachable hab been optimzed
- (McM1957) additional online object at ip base to indicate target is reachable has been added
- (McM1957) if OIDs specify different communities for one device a warning will be output
- (Apollon77) Sentry for crash reporting has been added
- (Marcolotti) Add documentation (de,en,ru)
- (Marcolotti) Add languages (de,en,ru)
- (Apollon77) Fix Object Type
- (Bluefox) Fixes
- (Bluefox) refactoring
- (Marcolotti) initial release
The adapter queries specified oids which are grouped within oid groups which in turn are assigned to devices. The configuration data is entered at several tabs:
Here you specify all oids to be queried by the adapter, one oid per line.
Parameter | Type | Description | Comment |
---|---|---|---|
active | boolean | if set to true, OID will be used | can be used to disable a single OID |
OID-Group | text | name of the OID group | will used to assign group to device |
OID-Name | text | name assigned to the OID | will used to name datapoint |
OID | text | oid string (1.2.3.4.) | oid string as specified by device vendor |
writeable | boolean | should be set to true if OID is writeable | reserved for future use |
optional | boolean | should be set to true if OID is optional | if set to true, no error will be raised if oid is unknown |
Here you specify which devices should be queried.
Parameter | Type | Description | Comment |
---|---|---|---|
active | boolean | if set to true, the device will be used | can be used to disable a single device |
Name | text | name of the device | will be used to create name of data points |
IP address | text | ip address (IPv4 or IPv6) with optional port number | NOTE: currently only IPv4 is supported |
OID-Group | text | OID group specified at tab IOD Groups | A OID group can be assigned to more than one device |
SNMP-Version | select | SNMP version to use | NOTE: SNMPv3 is not yet supported |
Community (v1, v2c) or Auth-ID (v3) | text | community for SNMP v1 or V2c, authorization group for SNMP v3 | NOTE: SNMPv3 is not yet supported |
timeout (sec) | number | processing timeout in seconds | |
retry (sec) | number | retry intervall in seconds | |
polling (sec) | number | poll intervall in seconds |
This tab contains SNMP V3 authorization information. Please note that SNMP V3 is not yet implemented.
Parameter | Type | Description | Comment |
---|
Here you specify some general options
Parameter | Type | Description | Comment |
---|---|---|---|
Packetsize | integer | maximum number of OIDs sent within a single request | reduce this value in case of TOOBIG errors |
Compatibility mode | boolean | if this option is activated, datapoint names are based on ip address | NOTE: outdated - do not use any longer. This flag will not work with IPv6 addresses. Might be removed in future releases. |
The MIT License (MIT)
Copyright (c) 2017-2022 Marcolotti [email protected], McM1957 [email protected], ioBroker Community Developers
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.