The purpose of "load_discovery_ranges" callback is to initiate device discovery by setting up the specified IP address ranges.
Use the following json format
[ {
"ip": "hostname | ipv6address | ipv4_octet_1.ipv4_octet_2.ipv4_octet_3.ipv4_octet_4 | range_start - range_end",
"label": "label",
"version": "snmpv1 | snmpv2c | snmpv3",
"description": "description",
"port": "port",
"community": "community",
"userName": "userName",
"authType": "AUTH_PRIV | AUTH_NO_PRIV | NO_AUTH_NO_PRIV",
"authProtocol": "MD5 | SHA",
"authKey": "authKey",
"privProtocol": "DES | 3-DES | AES-128 | AES-192 | AES-256 | AES-192-With3DESKeyExtension | AES-256-With3DESKeyExtension",
"privKey": "privKey"
} ]
Eg: -
[{
"ip": "10.1.1.1-5",
"label": "label",
"description": "description",
"version": "snmpv1",
"port": "161",
"community": "public"
}]
Release : 9.0.2
Component : UIM - SNMPCOLLECTOR
looking for an explanation and example for "load_discovery_ranges" callback
The purpose of "load_discovery_ranges" callback is to initiate device discovery by setting up the specified IP address ranges.
Use the following json format
[ {
"ip": "hostname | ipv6address | ipv4_octet_1.ipv4_octet_2.ipv4_octet_3.ipv4_octet_4 | range_start - range_end",
"label": "label",
"version": "snmpv1 | snmpv2c | snmpv3",
"description": "description",
"port": "port",
"community": "community",
"userName": "userName",
"authType": "AUTH_PRIV | AUTH_NO_PRIV | NO_AUTH_NO_PRIV",
"authProtocol": "MD5 | SHA",
"authKey": "authKey",
"privProtocol": "DES | 3-DES | AES-128 | AES-192 | AES-256 | AES-192-With3DESKeyExtension | AES-256-With3DESKeyExtension",
"privKey": "privKey"
} ]
Eg: -
[{
"ip": "10.1.1.1-5",
"label": "label",
"description": "description",
"version": "snmpv1",
"port": "161",
"community": "public"
}]