Network discovery service configuration template
The following network discovery configuration template is provided (in json format).
Network discovery configuration template
An example configuration file is included here:
ASM_HOME/data/netdisco-observer/ExampleCommonconfig.json
{
"configId":"default-netdisco",
"username":"username",
"password":"4ihmyEBH6pETt14yIxcQ9w==",
"disco_status_retry_delay_s":20,
"connect_read_timeout_ms":500000,
"discovery_profile":"N/A",
"scopes":[
{
"type":"Subnet",
"address":"172.20.120.0/255.255.248.0",
"protocol":"IPV4"
}
],
"seeds":[
{
"address":"172.20.120.0/255.255.248.0",
"timeout":250,
"retries":1
}
],
"snmppasswords":[
{
"communitystring":"4ihmyEBH6pETt14yIxcQ9w==",
"address":"172.20.120.0/255.255.248.0",
"snmpversion":"V2",
"snmpv3":{
"securityname":"shades",
"authpassword":"4ihmyEBH6pETt14yIxcQ9w==",
"privtype":"des",
"privpassword":"4ihmyEBH6pETt14yIxcQ9w==",
"level":"authPriv",
"authType":"sha1"
},
"snmpport":161,
"timeout":3000,
"retries":3
}
],
"accessListType":null,
"anchors":null,
"gateways":null,
"telnetaccess":[
{
"address":"172.20.120.0/255.255.255.255",
"usernameprompt":"^[[:space:]]*[][A-Za-z0-9()+&<@ /:~._-]+[$%>#][[:space:]]*$",
"username":"priv1usr",
"passwordprompt":"^[[:space:]]*[][A-Za-z0-9()+&<@ /:~._-]+[$%>#][[:space:]]*$",
"password":"4ihmyEBH6pETt14yIxcQ9w==",
"consoleprompt":"^[[:space:]]*[][A-Za-z0-9()+&<@ /:~._-]+[$%>#][[:space:]]*$",
"accessport":23,
"timeout":1000,
"usessh":false,
"advanced":
{
"command":"pwd",
"passwordprompt":"^[[:space:]]*[][A-Za-z0-9()+&<@ /:~._-]+[$%>#][[:space:]]*$",
"password":"4ihmyEBH6pETt14yIxcQ9w==",
"consoleprompt":"^[[:space:]]*[][A-Za-z0-9()+&<@ /:~._-]+[$%>#][[:space:]]*$",
"selectedcommands":[
"ls",
"pwd"
]
}
}
],
"dns":[
{
"servicename":"google",
"system":false,
"domainsuffix":".com",
"iptoname":[
{
"ip":"172.20.120.0",
"name":"ibm"
}
]
}
],
"collector":[
{
"collectorid":"AlcatelSAM-IE",
"collectortype":"Alcatel5620SamCollector",
"httpaccess":{
"url":"http://alcatelsam-host:27080/",
"username":"username",
"password":"4ihmyEBH6pETt14yIxcQ9w==",
"md5password":"4ihmyEBH6pETt14yIxcQ9w==",
"token":"4ihmyEBH6pETt14yIxcQ9w=="
}
}
]
}
Collector sample
The following example code depicts a possible collector deployment with sample values.
The target EMS is running on host nasm-net-disco-collectorsim.host.example.com via HTTP port 27080, and will be accessed using the supplied username and password.
The scope is set to null, meaning all devices are accepted. If you configure a scope, you must ensure that your EMS devices are included.
You must supply the password in encrypted form.
{
"configId":"default-netdisco",
"username":"username",
"password":"4ihmyEBH6pETt14yIxcQ9w==",
"disco_status_retry_delay_s":20,
"connect_read_timeout_ms":50000,
"discovery_profile":"N/A",
"scopes":null,
"seeds":null,
"snmppasswords":null,
"accessListType":null,
"telnetaccess":null,
"dns":null,
"collector":[
{
"collectorid":"AlcatelSAM-IE",
"collectortype":"Alcatel5620SamCollector",
"httpaccess":{
"url":"http://alcatelsam-host:27080/",
"username":"username",
"password":"4ihmyEBH6pETt14yIxcQ9w==",
"md5password":"4ihmyEBH6pETt14yIxcQ9w==",
"token":"4ihmyEBH6pETt14yIxcQ9w=="
}
}
]
}