fix agent discovery
This commit is contained in:
parent
4364d81416
commit
e9b13aa873
1 changed files with 14 additions and 0 deletions
|
|
@ -293,6 +293,20 @@ defmodule ToweropsWeb.AgentChannel do
|
|||
# ifXTable
|
||||
oids: ["1.3.6.1.2.1.31.1.1.1"]
|
||||
},
|
||||
# Sensor discovery - ENTITY-SENSOR-MIB (WALK)
|
||||
%SnmpQuery{
|
||||
query_type: :WALK,
|
||||
oids: [
|
||||
# ENTITY-SENSOR-MIB - sensor tables
|
||||
"1.3.6.1.2.1.99.1.1.1",
|
||||
# ENTITY-MIB - physical entity descriptions (needed for sensor names)
|
||||
"1.3.6.1.2.1.47.1.1.1.1.2",
|
||||
# entPhysicalName
|
||||
"1.3.6.1.2.1.47.1.1.1.1.7",
|
||||
# entPhysicalClass
|
||||
"1.3.6.1.2.1.47.1.1.1.1.5"
|
||||
]
|
||||
},
|
||||
# Vendor-specific MIBs (WALK)
|
||||
%SnmpQuery{
|
||||
query_type: :WALK,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue