nicnictout Outstanding Contributor.
Outstanding Contributor.
1295 views

Tools details export

Hello,

 

i have to make a report about all tools integrated in our HPOM.

So the "generate documentation" button, with excel output is perfect, with tools details and operator/profile assigment, but there is more than 150 tools, and i don't want to click 150+ times on the interface.

Tools are not in DB (DB shema doc makes no reference to it), i'm looking for a quick and efficient way to proceed.

 

Any help would be appreciated 😉

 

thx

0 Likes
5 Replies
Daniela_G Acclaimed Contributor.
Acclaimed Contributor.

Re: Tools details export

Hello @nicnictout

Thank you for your post.

In order to assist you on this, could you please confirm which application do you want to perform this task? is it for OMU, OMW or OMi where you want to generate this report?

Regards,

Daniela Gómez Alvarado
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
nicnictout Outstanding Contributor.
Outstanding Contributor.

Re: Tools details export

Hello,

I'm working with oml 9.21.
I need an export for all tools with détails commands and operator/group assignment.

It could bé in CLI, DB query or admin ui. Does not matter .

Thx
0 Likes
Daniela_G Acclaimed Contributor.
Acclaimed Contributor.

Re: Tools details export

Hello @nicnictout,

Unfortunately for this task, is required to open an Enhancement request, for add it to the application. Because for now only is possible tool by tool.

If you agree you can send me your SAID via private message, in order to create you a support ticket requesting the ER.

Regards,

Daniela Gómez Alvarado
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Tools details export

Hello,

The only thing that comes in my mind would be to do a config download via opccfgdwn and then just grep through the created files.

The tools are under <download dir>/en_US.UTF-8/APPLICATIONS/applications.dat

For example:
mkdir /backup/cfgdwn
echo "* ;"  >  /backup/cfgdwn/download.dsf
opccfgdwn  /backup/cfgdwn/download.dsf  /backup/cfgdwn

 

Now you can grep through the files, e.g.:

# grep -e "^ *APPLICATION_GROUP" -e "^ *APPLICATION " -e "APPL_CALL " /backup/cfgdwn/en_US.UTF-8/APPLICATIONS/applications.dat

  APPLICATION_GROUP PSEUDO_GROUP
    APPLICATION "AsciiReport"
     APPL_CALL "atop -w db2s_start db2s_asciirep.pl"
    APPLICATION "Start Agent"
     APPL_CALL "ovdeploy -cmd \"opcagt -start\" -node $OPC_NODES"
    APPLICATION "Stop Agent"
     APPL_CALL "ovdeploy -cmd \"opcagt -stop\" -node $OPC_NODES"
    APPLICATION "Restart Agent"
     APPL_CALL "ovdeploy -cmd \"opcagt -restart\" -node $OPC_NODES"
    APPLICATION "Check Performance Component's alarmdef file syntax"
     APPL_CALL "oa_cntrl alarmchk"
    APPLICATION "Scan Performance Component's log files"
     APPL_CALL "oa_cntrl scan"
    APPLICATION "Check Performance Component's parameter file syntax"
     APPL_CALL "oa_cntrl parmchk"
    APPLICATION "View Status"
     APPL_CALL "ovdeploy -cmd \"opcagt -status\" -node $OPC_NODES"
    APPLICATION "View Version information"
     APPL_CALL "oa_cntrl version"
    APPLICATION "View Status of post policy deploy action"
     APPL_CALL "oa_cntrl deployresult"
...

Similarly, you could grep through the operators.dat file to find assigned tools:

grep -e "^OPERATOR" -e APPLICATION_REF -e APPLICATION_GROUP_REF /backup/cfgdwn/en_US.UTF-8/OPERATORS/operators.dat

OPERATOR "op005"
OPERATOR "HC_op"
  APPLICATION_GROUP_REF "HealthCheck"
OPERATOR "op004"
OPERATOR "tobias"
  APPLICATION_REF "opcragt"
  APPLICATION_REF "HPOM Status"
  APPLICATION_REF "Broadcast"
  APPLICATION_GROUP_REF "TestGrp"
  APPLICATION_GROUP_REF "DB-SPI"
  APPLICATION_GROUP_REF "HPOM License Tools"
  APPLICATION_GROUP_REF "NNMi"
  APPLICATION_GROUP_REF "Net Diag"
...

 

Best regards,
Tobias

 

 

0 Likes
Daniela_G Acclaimed Contributor.
Acclaimed Contributor.

Re: Tools details export

Hello @nicnictout

Here you have the case number: SD02162873.

Once the ticket is solved, we will update the thread.

Regards,

Daniela Gómez Alvarado
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.