get_environment for Junos
This commit is contained in:
1 parent
d57dc51700
commit
dd1fc24c8d
1 file changed
+39
@@ -113,3 +113,42 @@ junos_iface_counter_view:
|
||||
fields_txerrs:
|
||||
tx_errors: { output-errors: int }
|
||||
tx_discards: { output-drops: int }
|
||||
|
||||
junos_enviroment_table:
|
||||
rpc: get-environment-information
|
||||
args:
|
||||
item: environment-item
|
||||
key: name
|
||||
view: junos_enviroment_view
|
||||
|
||||
junos_enviroment_view:
|
||||
fields:
|
||||
class: class
|
||||
status: status
|
||||
temperature: { temperature/@celsius: int }
|
||||
|
||||
junos_routing_engine_table:
|
||||
rpc: get-route-engine-information
|
||||
args:
|
||||
item: route-engine
|
||||
key: slot
|
||||
view: junos_routing_engine_view
|
||||
|
||||
junos_routing_engine_view:
|
||||
fields:
|
||||
cpu-idle: { cpu-idle: int }
|
||||
memory-dram-size: { memory-dram-size: int }
|
||||
memory-buffer-utilization : { memory-buffer-utilization: int }
|
||||
|
||||
junos_temperature_thresholds:
|
||||
rpc: get-temperature-threshold-information
|
||||
args:
|
||||
item: temperature-threshold
|
||||
key: name
|
||||
view: junos_temperature_thresholds_view
|
||||
|
||||
junos_temperature_thresholds_view:
|
||||
fields:
|
||||
name: name
|
||||
yellow-alarm: { yellow-alarm: int }
|
||||
red-alarm: { red-alarm: int }
|
||||
Reference in new issue
Block a user