{
"dat": {
"id": 3,
"name": "Arista BGP",
"note": "",
"device_type": "",
"brand": "",
"models": null,
"config": "[[instances]]\ninterval_times = 1\nagents = [\"{{.Schema}}://{{.IP}}:{{.Port}}\"]\ntimeout = \"{{.Timeout}}s\"\nversion = {{.Version}}\n\n{{.Auth}}\n[[instances.table]]\nname = \"arista_bgp\"\nindex_as_tag = true\n\n[[instances.table.field]]\noid = \".1.3.6.1.4.1.30065.4.1.1.2.1.3\"\nname = \"local_addr\"\nconversion = \"ipaddr\"\nis_tag = true\n\n[[instances.table.field]]\noid = \".1.3.6.1.4.1.30065.4.1.1.2.1.12\"\nname = \"admin_status\"\n\n[[instances.table.field]]\noid = \".1.3.6.1.4.1.30065.4.1.1.2.1.2\"\nname = \"addr_type\"\nis_tag = true\nsecondary_index_table = true\n\n[[instances.table.field]]\noid = \".1.3.6.1.4.1.30065.4.1.1.2.1.10\"\nname = \"peer_as\"\nis_tag = true\n\n[[instances.table.field]]\noid = \".1.3.6.1.4.1.30065.4.1.1.2.1.13\"\nname = \"peer_status\"\n\n[[instances.table.field]]\noid = \".1.3.6.1.4.1.30065.4.1.1.7.1.5\"\nname = \"peer_up_count\"\n\n[[instances.table.field]]\noid = \".1.3.6.1.4.1.30065.4.1.1.8.1.3\"\nname = \"receive_total_prefix\"\nsecondary_index_use = true\nsecondary_outer_join = true\n\n[[instances.table.field]]\noid = \".1.3.6.1.4.1.30065.4.1.1.8.1.4\"\nname = \"receive_active_prefix\"\nsecondary_index_use = true\nsecondary_outer_join = true\n\n[[instances.table.field]]\noid = \".1.3.6.1.4.1.30065.4.1.1.8.1.5\"\nname = \"send_total_prefix\"\nsecondary_index_use = true\nsecondary_outer_join = true\n\n[[instances.relabel_configs]]\nsource_labels = [\"index\"]\ntarget_label = \"peer_addr\"\n#separator = \"/\"\nregex = \"\\\\d+\\\\.\\\\d+\\\\.\\\\d+\\\\.(.*)\"\naction = \"replace\"\nreplacement = \"$1\"",
"create_at": 1583922300,
"create_by": "",
"update_at": 1583922300,
"update_by": "",
"threshold": null
},
"err": ""
}