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.



first_oid,    , DEFAULT, first possible value for percent cooling

second_oid,,               DEFAULT, second possible value for percent cooling

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




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


You must be signed in to post in this forum.