Case # - 01951508
So I spent the better part of two months trying to get an alert to trigger when a power supply failure is report on our UCS. I used the OID and I can see it in the alert but when I try to get it to print out the information in the alert via a sql query it just shows the query itself and no data.
SELECT CPS.LabelFROM CustomPollerStatusTable AS CPSRIGHT JOIN CustomPollerAssignment AS CPA ON CPS.NodeID = CPA.NodeIDWHERE CPS.CustomPollerAssignmentID != TRY_CONVERT(uniqueidentifier, '${N=SwisEntity;M=CustomPollerAssignment.CustomPollerAssignmentID}') AND CPA.AssignmentName LIKE '6cucsEquipmentPsuOperState96'AND CPA.NodeID = CAST('${N=SwisEntity;M=CustomPollerAssignment.Node.NodeID}' AS INT) AND CPS.RowID = '${N=SwisEntity;M=RowID}'
or
${SQL: SELECT CPS.Label FROM CustomPollerStatusTable AS CPS RIGHT JOIN CustomPollerAssignment AS CPA ON CPS.NodeID = CPA.NodeID WHERE CPS.CustomPollerAssignmentID != '${N=SwisEntity;M=CustomPollerAssignment.CustomPollerAssignmentID}' AND CPA.AssignmentName LIKE '%entPhysicalDescr%' AND CPA.NodeID = ${N=SwisEntity;M=CustomPollerAssignment.Node.NodeID} AND CPS.RowID = '${N=SwisEntity;M=RowID}'} Status is ${N=SwisEntity;M=Status}
When these are ran it fails with incorrect syntax in the simulated alert, When I try to monitor the device via ucs that fails with no indicator as to why. I have tried with an admin right account on the ucs as well as my own. I have checked the ignore certificate errors message as well.
Ladies and Gentlemen, I am stumped and I need help.