technik

How to add ci_type and metric_type to DB-tables?

Discussion created by technik on Oct 7, 2014
Latest reply on Nov 20, 2014 by technik

Hi,

 

I have to update some custom probes to the TNT2 functionality to see their data in the USM.

I know all the things to use the SDKs (like Perls ciOpenLocalDevice etc.). This is quite easy and it works as expected.

 

Now I am facing the problem to create own Configuration Items and Metric Types in the Private Section 9.x. As described in the post Custom Probes and USM you have to add some entries in the tables CM_CONFIGURATION_ITEM_DEFINITION and CM_CONFIGURATION_ITEM_METRIC_DEFINITION. 

 

What I like to know is how to do this in a Nimsoft (UIM) conform manner and if there is a way to do this during installation of probe package?

 

For now I put this entries manually to the DB using a Database-Browser:

INSERT INTO CM_CONFIGURATION_ITEM_DEFINITION VALUES ('9.2','9','Test');

INSERT INTO CM_CONFIGURATION_ITEM_DEFINITION VALUES ('9.2.0','9.2','Cluster');
and

INSERT INTO CM_CONFIGURATION_ITEM_METRIC_DEFINITION VALUES('9.2.0:1','Cluster Health','User Defined','9.2.0',null);
INSERT INTO CM_CONFIGURATION_ITEM_METRIC_DEFINITION VALUES('9.2.0:2','Node Count','User Defined','9.2.0',null);

 

And for translating I have to add entries to Nimsoft.properties Nimsoft_de.properties etc. 

Also here - I like to know the relationships? Must I add all entries to all languages files or can I do it only to 2 files? Is there a way to do this during installation of probe package?

 

Thanx

 

Olaf

Outcomes