Posted Tue, 09 Feb 2016 07:35:10 GMT by

I have a probe file that talks to Liebert a/c units.  I want to see the percentage of cooling being used.  The units are in the same family, but use a different OID to get the same information.  So, in my display section I end up with some ugliness trying to display both, since only one will contain data.  How do I prevent the non used OID from complaining in the display?

 

status window

Posted Thu, 20 Jul 2017 03:30:11 GMT by

I believe this is something what you're looking for.

 

<snmp-device-variables>

first_oid,              1.3.6.1.4.1.nnnnn, DEFAULT, first possible value for percent cooling

second_oid,       1.3.6.1.4.1.nnxx,               DEFAULT, second possible value for percent cooling

display_variable,              (${first_oid}  == 0 ? “${second_oid}” : "${first_oid}"), CALCULATION, “print this in display section”

 

</snmp-device-variables>

 

Translation – if the value of first_oid isn’t 0, print the second oid, else print the first one.

http://static.helpsystems.com/intermapper/help/devguide/index.html#02-CustomProbes/snmp-device-variables.htm%3FTocPath%3DCreating%2520Your%2520Own%2520Probes%7CSNMP%2520Probes%7C_____1

 

You must be signed in to post in this forum.