locked
Alert View to Display Unassigned Alerts RRS feed

  • Question

  • Hi everyone,

    I'd like to create a new alert view to make it easier to see which alerts are assigned to a group (resolution state), but not assigned to an owner.  

    In the Monitoring Pane, I've created an alert view that shows all alerts with a "New" or "Operations Team" resolution states.  This shows all alerts assigned to the Operations group, but it shows all alerts - even those that are already assigned to an owner.  

    Is there a way to add a restriction or condition so that this view only shows alerts that have not been assigned to an owner?  

    Secondly, in the "My Workspace" pane, I've created an alert view that's limited to alerts assigned only to my username.  This accomplishes a goal, but is there anyway to make this automatically available to anyone who logs on, but only show alerts assigned to them?

    I know that it's possible to just create individual views for everyone, but if there were a way to leverage this functionality in the "My Workspace" pane, that would be great.  

    Thanks for your help!


    Tuesday, April 3, 2012 3:42 PM

Answers

  • To your first question: to my knowledge there's no way to do a view like this out-of-the-box. You can use an approach like this:

    http://systemcentersolutions.wordpress.com/2010/06/01/updating-custom-fields-using-powershell/

    To update a custom field based on a criteria using a powershell script. This way you can apply a more sophisticated business logic and mark alerts appropriately (for example, all unassigned alerts are updated in Custom Field 10 with "UA" and all assigned are marked with "AA"). This allows you to create a view for both conditions.

    Regarding the workspace: I'm afraid there's no way to do that in an automated or generic way. There's no interaction with the My Workspace using SDK or other methods except for the user creating views manually.

    cheers


    Stefan Koell | http://www.code4ward.net

    Tuesday, April 3, 2012 5:39 PM
  • Just be careful with which custom field you choose - the Exchange 2010 MP uses custom fields 4 --> 10 and overwriting these values can cause issues.

    Cheers

    Graham


    Regards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/

    Tuesday, April 3, 2012 5:43 PM

All replies

  • To your first question: to my knowledge there's no way to do a view like this out-of-the-box. You can use an approach like this:

    http://systemcentersolutions.wordpress.com/2010/06/01/updating-custom-fields-using-powershell/

    To update a custom field based on a criteria using a powershell script. This way you can apply a more sophisticated business logic and mark alerts appropriately (for example, all unassigned alerts are updated in Custom Field 10 with "UA" and all assigned are marked with "AA"). This allows you to create a view for both conditions.

    Regarding the workspace: I'm afraid there's no way to do that in an automated or generic way. There's no interaction with the My Workspace using SDK or other methods except for the user creating views manually.

    cheers


    Stefan Koell | http://www.code4ward.net

    Tuesday, April 3, 2012 5:39 PM
  • Just be careful with which custom field you choose - the Exchange 2010 MP uses custom fields 4 --> 10 and overwriting these values can cause issues.

    Cheers

    Graham


    Regards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/

    Tuesday, April 3, 2012 5:43 PM
  • Ok thanks.  It'd be really useful if it were possible to perform some more advanced filtering for the views.  I think what I may try to do is look into creating a script that automatically changes the Owner from (null) to unassigned - so that it can be filtered on and added to a view.  So, the script would run, say, every 15 minutes on the RMS, and change the Owner from (null) to "Unassigned" and then the alert view could be filtered to only display alerts with resolution state "Operations Team" and the alert view on "Unassigned."  Not the cleanest of ways, but hopefully that'll work.  


    Thanks for your input!

    Tuesday, April 3, 2012 10:00 PM
  • Ah - that's actually one of the reasons why I hesitate to populate the Owner field.  It would be useful, though.  

    Thanks!

    Tuesday, April 3, 2012 10:01 PM