You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to poll prometheus for the overall apparent wattage of ServerTech PDUs and other metrics that are gathered as well. Once I get one use case working it should be a cake-walk to propagate to others.
Currently, the default generated out put for polling the servertech is :
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to be able to poll prometheus for the overall apparent wattage of ServerTech PDUs and other metrics that are gathered as well. Once I get one use case working it should be a cake-walk to propagate to others.
Currently, the default generated out put for polling the servertech is :
TYPE st4InputCordApparentPower gauge
st4InputCordApparentPower{st4InputCordName="PDU-ATL1-S12C-0104-L1B",st4UnitName="PDU-ATL-S12C-0104-L1B"} 6651
st4InputCordApparentPower{st4InputCordName="PDU-ATL1-S12C-0104-R1R",st4UnitName="PDU-ATL-S12C-0104-R1R"} 3585
I want to also inclide the syslocation so that I can group by rack:
TYPE st4InputCordApparentPower gauge
st4InputCordApparentPower{sysLocation="ATL-S12C-0104", st4InputCordName="PDU-ATL1-S12C-0104-L1B",st4UnitName="PDU-ATL-S12C-0104-L1B"} 6651
st4InputCordApparentPower{sysLocation="ATL-S12C-0104", st4InputCordName="PDU-ATL1-S12C-0104-R1R",st4UnitName="PDU-ATL-S12C-0104-R1R"} 3585
I can get the sysLocation to show up as a metric, but I cannot figure out how to add it the above.
I added to the snmp.yml:
So far so good.
But no matter what I've tried I cannot get that into the output of:
Any assistance would be appreciated.
-- Wade
Beta Was this translation helpful? Give feedback.
All reactions