Is there a way to run a report that will show all enabled active monitors by device name with no action policies applied and will be exportable in .xlsx format?
Not that I have seen out of the box. One method would be to use a dynamic group (which has CSV, XML, txt export methods). I know this code will show all devices that don't have a global active monitor associated. It's been a while since I have looked at this, but if I remember correctly it would not catch action policies associated directly with active monitors.
SELECT Device.nDeviceID
FROM Device
LEFT OUTER JOIN ActionPolicy
ON Device.nActionPolicyID = ActionPolicy.nActionPolicyID
LEFT OUTER JOIN PivotActiveMonitorTypeToDevice
ON Device.nDeviceID = PivotActiveMonitorTypeToDevice.nDeviceID
LEFT OUTER JOIN ActionPolicy AP
ON PivotActiveMonitorTypeToDevice.nActionPolicyID =
Is there a way to run a report that will show all enabled active monitors by device name with no action policies applied and will be exportable in .xlsx format? - Progress Community
We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. Some of these cookies also help improve your user experience on our websites, assist with navigation and your ability to provide feedback, and assist with our promotional and marketing efforts. Please read our Cookie Policy for a more detailed description and click on the settings button to customize how the site uses cookies for you.
Not that I have seen out of the box. One method would be to use a dynamic group (which has CSV, XML, txt export methods). I know this code will show all devices that don't have a global active monitor associated. It's been a while since I have looked at this, but if I remember correctly it would not catch action policies associated directly with active monitors.
SELECT Device.nDeviceID
FROM Device
LEFT OUTER JOIN ActionPolicy
ON Device.nActionPolicyID = ActionPolicy.nActionPolicyID
LEFT OUTER JOIN PivotActiveMonitorTypeToDevice
ON Device.nDeviceID = PivotActiveMonitorTypeToDevice.nDeviceID
LEFT OUTER JOIN ActionPolicy AP
ON PivotActiveMonitorTypeToDevice.nActionPolicyID =
AP.nActionPolicyID
WHERE Device.bRemoved = 0
AND ActionPolicy.sPolicyName IS NULL
GROUP BY Device.nDeviceID
Having MAX(AP.sPolicyName) IS NULL