Symantec Management Platform (Notification Server)

 View Only
Expand all | Collapse all

Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

Migration User

Migration UserMay 18, 2011 09:48 AM

Migration User

Migration UserMay 25, 2011 08:17 PM

  • 1.  Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 18, 2011 09:29 AM

    I have set up a csv data source to use with an import rule, and a corresponding custom data class for the external data to be imported into. However, when I try to select the data class in the rule, it does not appear as an option.

    I do see other custom data classes I created with the only difference being that the ones that show up have data in them (i.e.e the Number of Resources Reported Data item is more than 1).

    Do I need to populate this custom data class with data before I can use it? If so, how should I go about that? Just a cheap INSERT to get something in there?



  • 2.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 18, 2011 09:47 AM

    To my understanding, yes, that will be an issue.  A data class can be populated by asset or by custom inventories.  In other words, unless my brain is not awake yet, without asset, the only supported method of updating custom data classes is using a custom inventory.

    I'd try inserting data using SQL to see if that changes the behavior as you suggested in your first post.  I'd be interested to hear if that solves it.  I know custom data classes do not always behave identically to existing data classes (for example, they do not appear in the report builder), but it seems that's not the case, since other custom data classes appear, provided they have data.



  • 3.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 18, 2011 09:48 AM

    Awesome, I'll try it and let you know how it goes.



  • 4.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 18, 2011 11:29 AM

    So far, no dice. I have inserted a row of data but it did not allow me to choose the dataclass as part of the import rule. I wonder if some back end scheduled tasks need to run first.

    When looking at the Data class under Settings>Notification Server>Resource and Data Class Settings it still shows it as having no resources reporting data. May need to rig a fake custom inventory just for this.



  • 5.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 18, 2011 12:04 PM

    We do own Asset. What is the process for doing it that way?



  • 6.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 18, 2011 12:07 PM

    I also saw this in the documentation:

    "If a third-party data source contains a data class that is not included in the CMDB, you must first create the data class using Altiris Asset Management Solution."

    We do not have Asset installed, will this be an issue?



  • 7.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 19, 2011 09:49 AM

    1) create your dataclass

    2 create your datasource

    3) create your rule

    4) profit?



  • 8.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 19, 2011 09:52 AM

    The things is, that is what I have done (without Asset being installed). Once I get to step 3 you can't select what you made in step 1,



  • 9.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 19, 2011 11:10 AM

    (except of course creating custom dataclasses with custom inventory). Whenever I wanted to use the import\export rules with a custom datasource, I used Asset. Not sure if it's required anymore (it was in 6.5, but that stuff started to get bundled in in 7.x).



  • 10.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 25, 2011 03:54 PM

    I might as well mention what I am trying to import as someone may know the best non custom table to import into. We have a simple data source with 5 values:

    • SerialNumber
    • PurchaseDate
    • WarrantyExpiration
    • PONumber
    • Cost

     

    We just want to make this available in the SMP so we can report against the purchase date above all else.
     


  • 11.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 25, 2011 03:59 PM

    I have installed Asset Management Solution (NOT the entire suite) and completely recreated the custom data class from scratch. It's still not showing up, just the same ones which had custom invenotry run to populate them.

    What am I missing? I'm not seeing anything in the connector solution guide.



  • 12.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 25, 2011 05:36 PM

    I thought both were required. I only dipped my toes in the pool of the latest version of AM though.



  • 13.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 25, 2011 08:17 PM

    CMDB is installed as well.



  • 14.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 26, 2011 04:36 AM

    After you create a custom dataclass, did you connect/mount this dataclass to your resource type(such as, Asset, Computer...or Monitor?)

     

    When we are working with Connector solution to import/export records from CMDB, the connector policy looks at resource type and pull up any related dataclass under this resource type. So only creating dataclass in system will not allow Connector policy to discover this dataclass and so you are not allowed to do import/export to this dataclass.

    Hope this help :)



  • 15.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 26, 2011 09:30 AM

    Thanks for the pointer. Unfortunately I have hit another wall now.

    I looked under the computer resource type and tried adding the data class, but it does not show up there. As a matter of fact, all I see under the custom folder in the picker is the built in "Processor Extension" data class.

    I can definitely see the custom class I created when I browse to the data classes under settings though.



  • 16.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 26, 2011 11:44 AM

    Try to delete your custom dataclass, create your custom dataclass on other folder, and try to add this dataclass in computer resource type again. I never see this issue before...strange...



  • 17.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 26, 2011 02:10 PM

    Part of the issue may be where I create the data class. You can either go to Settings>Discovery and Inventory>Manage Custom Data Classes

    Or

    Settings>Resource and Data Class Settings>Data Classes and from there right click New>Editable Data Class.

    Which is the correct way to do this?



  • 18.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?
    Best Answer

    Posted May 26, 2011 02:49 PM

    Finally, I can now say Eureka! Here are the steps I followed, generally:

     
    1. Create the custom editable data class (Settings > Resource and Data Class Settings > Data Classes and from there right click New > Editable Data Class.)
    2. Associate that data class with the resource type (in this case Computer)
    3. I can now do an import of the .csv and line up the columns in that with the columns in my new data class in the import rule.

    Thanks everyone, especially Wallace, for the help and insight. I may be posting an article on this eventually.



  • 19.  RE: Does a Custom Data Class Need to be Populated Before you Can Use it With an Import Rule/Connector?

    Posted May 26, 2011 11:57 PM

    It's good to hear that you manage to resolve the issue. :)

    FYI

    Settings>Discovery and Inventory>Manage Custom Data Classes

    -->Creating custom dataclassed in this location is for CUSTOM INVENTORY, not for asset management...

     

     

    Settings>Resource and Data Class Settings>Data Classes and from there right click New>Editable Data Class.

    -->This should be the correct location to create custom dataclass and mount to resource type for asset operation(such as manually input data for asset, doing asset record import/export by Connector rule).