locked
Search alerts on Custom Field 7 not working RRS feed

  • Question

  • I am populating alerts via my custom MP and all the custom fields are used to show alerts details.

    I am able to search my alerts on custom field 2 but not on custom field 7.

    Is this normal SCOM behavior or should I have to make changes in my MP?


    Regards,
    Ravi

    • Changed type Ravi_Raj Tuesday, May 22, 2012 1:26 PM
    Tuesday, May 22, 2012 6:35 AM

Answers

  • Hi

    I don't know of a reason why it is not working - should be the same across all custom fields.

    My concern is that if you are authoring a management pack then consider not using custom field 7 anyway if there is a chance that someone will deploy your management pack into the same management group as the Exchange 2010 MP.

    Cheers

    Graham


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

    • Marked as answer by Ravi_Raj Friday, May 25, 2012 3:40 AM
    Thursday, May 24, 2012 8:49 AM

All replies


  • Hi,

    Would you please let us know how your search the alerts, did you do this in an Alert View with “Look for”?

    Meanwhile, please check the differences between the Custom Filed 2 and Custom Filed 7.

    Thanks.


    Nicholas Li

    TechNet Community Support

    Wednesday, May 23, 2012 8:25 AM
  • Yes I am using Alert View's "Look For" and my code for the following is this:

    <ColumnInfo Index="19" SortIndex="-1" Width="100" Grouped="false" Sorted="false" IsSortable="true" Visible="true" SortOrder="Ascending">
    	<Name>Custom Field 2</Name>
    	<Id>CustomField2</Id>
    </ColumnInfo>
    
    <ColumnInfo Index="24" SortIndex="-1" Width="100" Grouped="false" Sorted="false" IsSortable="true" Visible="true" SortOrder="Ascending">
    	<Name>Custom Field 7</Name>
    	<Id>CustomField7</Id>
    </ColumnInfo>


    Regards,
    Ravi

    Wednesday, May 23, 2012 12:29 PM
  • I'd be careful which custom fields you use - the Exchange 2010 MP uses them extensively:

    http://support.microsoft.com/kb/2592561

    CustomField4
    CustomField5
    CustomField7
    CustomField8
    CustomField9
    CustomField10

    If you deploy your MP in an environment with the Exchange 2010 MP then you'll break it - "The Exchange Management Pack (Correlation Engine in particular) does use same fields for their internal needs and therefore overwrites values. It - for example - stores the CorrelatedProblemId in CustomField10. And if the field is overwritten alerts cannot be closed."

    Cheers

    Graham


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

    Wednesday, May 23, 2012 1:44 PM
  • I am not using any kind of extra MPs. I have a fresh installation of SCOM 2012. Imported SQL, Windows Server and IIS MPs for SCVMM 2012 integration. That's all. Then I installed my MPs. I am not sure why its happening?

    Regards,
    Ravi

    Thursday, May 24, 2012 3:28 AM
  • Hi

    I don't know of a reason why it is not working - should be the same across all custom fields.

    My concern is that if you are authoring a management pack then consider not using custom field 7 anyway if there is a chance that someone will deploy your management pack into the same management group as the Exchange 2010 MP.

    Cheers

    Graham


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

    • Marked as answer by Ravi_Raj Friday, May 25, 2012 3:40 AM
    Thursday, May 24, 2012 8:49 AM