-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve #1181 and reduce the get_facts heavy workload
Primarily resolving #1181, switching to querying the MemorySummary from the Operational block, rather than AdminOperational for XR 7+. At the same time, I'm updating the RPC request from ``get_facts`` to reduce the amount of data received from the device; from a VM it's probably not a lot being received, but from an actual production device there are walls of XML to be processed. This should therefore significantly improve the facts gathering and ``get_environment`` too.
- Loading branch information
1 parent
a84793b
commit 3db3ff0
Showing
17 changed files
with
79,311 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
27,047 changes: 27,047 additions & 0 deletions
27,047
..._Naming______________rack_0__rack___Naming__SlotTable__Slot__Naming__slot_0__slot___N.txt
Large diffs are not rendered by default.
Oops, something went wrong.
27,047 changes: 27,047 additions & 0 deletions
27,047
..._Naming______________rack_0__rack___Naming__SlotTable__Slot__Naming__slot_1__slot___N.txt
Large diffs are not rendered by default.
Oops, something went wrong.
2,803 changes: 2,803 additions & 0 deletions
2,803
..._Naming______________rack_0__rack___Naming__SlotTable__Slot__Naming__slot_FT0__slot__.txt
Large diffs are not rendered by default.
Oops, something went wrong.
2,803 changes: 2,803 additions & 0 deletions
2,803
..._Naming______________rack_0__rack___Naming__SlotTable__Slot__Naming__slot_FT1__slot__.txt
Large diffs are not rendered by default.
Oops, something went wrong.
285 changes: 285 additions & 0 deletions
285
..._Naming______________rack_0__rack___Naming__SlotTable__Slot__Naming__slot_PM0__slot__.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,285 @@ | ||
<?xml version="1.0"?> | ||
<Response MajorVersion="1" MinorVersion="0"> | ||
<Get> | ||
<AdminOperational> | ||
<EnvironmentalMonitoring MajorVersion="1" MinorVersion="1"> | ||
<RackTable MajorVersion="0" MinorVersion="0"> | ||
<Rack> | ||
<Naming> | ||
<rack>0</rack> | ||
</Naming> | ||
<SlotTable> | ||
<Slot> | ||
<Naming> | ||
<slot>PM0</slot> | ||
</Naming> | ||
<ModuleTable> | ||
<Module> | ||
<Naming> | ||
<Module>host</Module> | ||
</Naming> | ||
<SensorTypeTable> | ||
<SensorType> | ||
<Naming> | ||
<Type>volt</Type> | ||
</Naming> | ||
<SensorNameTable> | ||
<SensorName> | ||
<Naming> | ||
<Name>host__VOLT</Name> | ||
</Naming> | ||
<ValueBrief>55520</ValueBrief> | ||
<ValueDetailed> | ||
<FieldValidityBitmap>3071</FieldValidityBitmap> | ||
<DeviceDescription>voltVOLT</DeviceDescription> | ||
<Units>mV</Units> | ||
<DeviceId>0</DeviceId> | ||
<Value>55520</Value> | ||
<AlarmType>0</AlarmType> | ||
<DataType>4</DataType> | ||
<Scale>8</Scale> | ||
<Precision>0</Precision> | ||
<Status>1</Status> | ||
<AgeTimeStamp>0</AgeTimeStamp> | ||
<UpdateRate>0</UpdateRate> | ||
</ValueDetailed> | ||
<ThresholdTable> | ||
<Threshold> | ||
<Naming> | ||
<Type>minor_lo</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>10</ThresholdSeverity> | ||
<ThresholdRelation>2</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
<Threshold> | ||
<Naming> | ||
<Type>minor_hi</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>10</ThresholdSeverity> | ||
<ThresholdRelation>4</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
<Threshold> | ||
<Naming> | ||
<Type>major_lo</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>20</ThresholdSeverity> | ||
<ThresholdRelation>2</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
<Threshold> | ||
<Naming> | ||
<Type>major_hi</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>20</ThresholdSeverity> | ||
<ThresholdRelation>4</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
<Threshold> | ||
<Naming> | ||
<Type>critical_lo</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>30</ThresholdSeverity> | ||
<ThresholdRelation>2</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
<Threshold> | ||
<Naming> | ||
<Type>critical_hi</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>30</ThresholdSeverity> | ||
<ThresholdRelation>3</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
</ThresholdTable> | ||
</SensorName> | ||
</SensorNameTable> | ||
</SensorType> | ||
<SensorType> | ||
<Naming> | ||
<Type>pwrs</Type> | ||
</Naming> | ||
<SensorNameTable> | ||
<SensorName> | ||
<Naming> | ||
<Name>host__PM</Name> | ||
</Naming> | ||
<ValueBrief>3000</ValueBrief> | ||
<ValueDetailed> | ||
<FieldValidityBitmap>3071</FieldValidityBitmap> | ||
<DeviceDescription>pwrsPM</DeviceDescription> | ||
<DeviceId>0</DeviceId> | ||
<Value>3000</Value> | ||
<AlarmType>0</AlarmType> | ||
<DataType>6</DataType> | ||
<Scale>9</Scale> | ||
<Precision>0</Precision> | ||
<Status>1</Status> | ||
<AgeTimeStamp>0</AgeTimeStamp> | ||
<UpdateRate>0</UpdateRate> | ||
</ValueDetailed> | ||
</SensorName> | ||
</SensorNameTable> | ||
</SensorType> | ||
<SensorType> | ||
<Naming> | ||
<Type>curr</Type> | ||
</Naming> | ||
<SensorNameTable> | ||
<SensorName> | ||
<Naming> | ||
<Name>host__CURR</Name> | ||
</Naming> | ||
<ValueBrief>8074</ValueBrief> | ||
<ValueDetailed> | ||
<FieldValidityBitmap>3071</FieldValidityBitmap> | ||
<DeviceDescription>currCURR</DeviceDescription> | ||
<Units>mA</Units> | ||
<DeviceId>0</DeviceId> | ||
<Value>8074</Value> | ||
<AlarmType>0</AlarmType> | ||
<DataType>5</DataType> | ||
<Scale>8</Scale> | ||
<Precision>0</Precision> | ||
<Status>1</Status> | ||
<AgeTimeStamp>0</AgeTimeStamp> | ||
<UpdateRate>0</UpdateRate> | ||
</ValueDetailed> | ||
<ThresholdTable> | ||
<Threshold> | ||
<Naming> | ||
<Type>minor_lo</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>10</ThresholdSeverity> | ||
<ThresholdRelation>2</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
<Threshold> | ||
<Naming> | ||
<Type>minor_hi</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>10</ThresholdSeverity> | ||
<ThresholdRelation>4</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
<Threshold> | ||
<Naming> | ||
<Type>major_lo</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>20</ThresholdSeverity> | ||
<ThresholdRelation>2</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
<Threshold> | ||
<Naming> | ||
<Type>major_hi</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>20</ThresholdSeverity> | ||
<ThresholdRelation>4</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
<Threshold> | ||
<Naming> | ||
<Type>critical_lo</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>30</ThresholdSeverity> | ||
<ThresholdRelation>2</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
<Threshold> | ||
<Naming> | ||
<Type>critical_hi</Type> | ||
</Naming> | ||
<ValueBrief>-32768</ValueBrief> | ||
<Trap>true</Trap> | ||
<ValueDetailed> | ||
<ThresholdSeverity>30</ThresholdSeverity> | ||
<ThresholdRelation>3</ThresholdRelation> | ||
<ThresholdValue>4294934528</ThresholdValue> | ||
<ThresholdEvaluation>false</ThresholdEvaluation> | ||
<ThresholdNotificationEnabled>true</ThresholdNotificationEnabled> | ||
</ValueDetailed> | ||
</Threshold> | ||
</ThresholdTable> | ||
</SensorName> | ||
</SensorNameTable> | ||
</SensorType> | ||
</SensorTypeTable> | ||
</Module> | ||
</ModuleTable> | ||
</Slot> | ||
</SlotTable> | ||
</Rack> | ||
</RackTable> | ||
</EnvironmentalMonitoring> | ||
</AdminOperational> | ||
</Get> | ||
<ResultSummary ErrorCount="0"/> | ||
</Response> |
Oops, something went wrong.