cancel
Showing results for 
Search instead for 
Did you mean: 

How to promote custom probes

Former Member
0 Kudos

Hi all

I have registered a few custom probes in BI 4.0 SP04. These registration cannot be promoted using LCM. Is there any other solution to promote / transport them ?

Thanks

Jean-Pierre

Accepted Solutions (1)

Accepted Solutions (1)

Toby_Johnston
Advisor
Advisor
0 Kudos

Hi Jean-Pierre,

Probes by nature will not change too often hence promotion via LCM is not really necessary.

To move your probes into production you simply need to add them either via a DFO object or using the probeAdd script.  Using probeAdd you could script this action should you have a need to automate this process.

The following command shows you how to create a Java probe :

probeAdd -username Administrator -name "Test" -password "" -timeout 100 -classname "com.test.java" -cms "localhost" -auth secEnterprise - inputparam "documented:Integer:1000;refresh:Boolean:false;TestParam:String:Test String".

The following command shows you how to create a script

based probe:

probeAdd.bat -auth secEnterprise  -cms localhost -password Password1 -timeout 100 -username Administrator -type 3 -name testprobe -scriptbasedinput scriptupload=C:\monitoring_junit\testScript.bat;enablevirtualmetrics=true;delimiter=,;firstrowhascolumnnames=true;anchorcolumn=1;metriccolumns=5

Refer to the FP3 Java Developer Guide, under "Using the SDK", Monitoring section.

Sincerely,

Toby Johnston

SAP America, Inc.

Former Member
0 Kudos

Hi Toby

Thanks for your help.

After reading of your mail and the referenced documentation, I'd like to use DFO file. I have copied an existing _dfo.xml file of a probe and I'd like to change to use my own java probe. But after customization when I copy it to <install-dir>/packages, I get this exception from CMS:

"Default Object from BusinessObjects_MON_test_dfo.xml does not have the required SI_CUID property."

I have removed SI_CUID declaration since I don't know which value I can use.

Is there any trick to say to CMS "Please generate a CUID" ?

Thanks

Jean-Pierre

Toby_Johnston
Advisor
Advisor
0 Kudos

Hi Jean-Pierre,

The DFO requires a valid SI_CUID

One trick you can use to generate a proper CUID is:

  1. Go into the CMC, then create an object such a user.  
  2. Get the CUID using the query builder (SELECT SI_CUID FROM CI_SYSTEMOBJECTS WHERE SI_KIND='user' AND SI_NAME='mytestuser'). 
  3. Then go to CMC and delete this user.
  4. Use the SI_CUID from step 2 in your DFO file.

Sincerely,

Toby Johnston

SAP America, Inc.

Former Member
0 Kudos

Ok, nice workaround but it requires manual steps. I prefer in that case to use Java SDK. Thanks again.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Toby

Is it possible now with BIP 4.1 to promote probes or watches ?

Thanks again.

Jean-Pierre