Highlighted
ArunDeva
2 Bronze

Getting attributes on an OI server from AM-PM Domain

There are some attributes which are available only on AM-PM domain server. For eg, ReadCommunity.

Is it possible to get this attributes on an OI server?

-Arun

0 Kudos
5 Replies
FredericMeunier
3 Argentium

Re: Getting attributes on an OI server from AM-PM Domain

Hi ArunDeva,

Not directly, you will have to sync them from IP to OI (in fact subscribe in OI from IP) using the DXA :

- in : /opt/InChargeX/SAM/smarts/conf/ics/dxa-oi.conf (or the one currently used)

- in section (ex.) :

class   ICIM_UnitaryComputerSystem
attr    Certification
attr    DisplayName
attr    Description
attr    Location
attr    Model
attr    PrimaryOwnerContact
attr    Type
attr    Vendor
rel     ConnectedVia

simply add the needed attribute, reload, et voila. Ex:

attr     ReadCommunity

HTH,

--Fred

== Monitor your Smarts environment using APG ReportPack for Smarts health  ==
Frederic Meunier
Solutions Watch4Net Inc
APG & Smarts InCharge integration
0 Kudos
ArunDeva
2 Bronze

Re: Getting attributes on an OI server from AM-PM Domain

THanks Fred
0 Kudos
ArunDeva
2 Bronze

Re: Getting attributes on an OI server from AM-PM Domain

Hi Fred,

Its not working.

I edited the file using sm_edit and added teh attribute ReadCommunity and then restarted the OI server. But still it is not pulling the ReadCommunity attribute from the underlying AM-domina server.

My AM domain server is using dxa-sysip.conf file. So I did the same activity in that file as well. Still it is not working.

-Arun

0 Kudos
FredericMeunier
3 Argentium

Re: Getting attributes on an OI server from AM-PM Domain

Hi ArunDeva,

my mistake, I didn't check that the ReadCommunity is not available in the default UnitaryComputerSystem class within OI. So, in this case where the attribute is not defined in the default class within the domain, you will have to add it using DynModel (refine the existing class). The rest stays the same (subscribe using the DXA).

--Fred

== Monitor your Smarts environment using APG ReportPack for Smarts health  ==
Frederic Meunier
Solutions Watch4Net Inc
APG & Smarts InCharge integration
0 Kudos
ArunDeva
2 Bronze

Re: Getting attributes on an OI server from AM-PM Domain

Hi Fred,

I thought of getting the attributes without using Dynamic Model.

Anyways, using Dynamic Model, I am able to add the ReadCommunity to the OI server. But the conf file that needs to be edited is at the location

,Basedir>/conf/icoi/<dxa-*.conf>

We have to check which dxa file is being used by the OI server for the AM-PM domain as you suggested.

Once again thank you Fred.

Regards

Arun

0 Kudos