

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello,
I need to migrate some shell scripts of NNMi 10.50 to version 2020.08. One of the scripts use the nnmtwiddle.ovpl CLI command. It seems that it is not supported anymore in version 2020.08, as it doesn't excist neither in the /bin directory nor in the CLI documentation. What it also makes difficult for me is that I can't find any documention in the MicroFocus documentation WEB-sides.
Any idea what's the function of the script and how to replace it with a CLI command of v. 2020.08?
nnmtwiddle.ovpl invoke com.hp.ov.nms.disco:mbean=DiscoverySupport sendDiscoveryNeeded $node
Thank you in advance,
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
All get/invoke methods in this API are "talking". so that's easy to guess what it does. You may, as simplest, enable the <server>/jmx-console so you browse the catalog of mbeans and see all methods in each.
Regarding the REST API - I got 2019.11 - samples and doc are there:
# ll /opt/OV/doc
total 11220
-rw-rw-r-- 1 nmsproc nmsgrp 751485 Apr 9 2020 NNM-SDK.pdf
-rw-rw-r-- 1 nmsproc nmsgrp 4885923 Apr 9 2020 NNM-SDK_Using_NNMi_Web_Services.pdf
-rw-rw-r-- 1 nmsproc nmsgrp 121284 Apr 9 2020 nms-sdk-sources.jar
drwxrwxr-x 1 nmsproc nmsgrp 232 Apr 9 2020 samples
-rw-rw-r-- 1 nmsproc nmsgrp 5724142 Apr 9 2020 sdk-dev-kit.jar
BR,


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello,
did you check the directory support for nnmtwiddle.ovpl (in install dir)?
HTH and best regards
Allessandro


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
thanks, it's there, any idea where to get some more detailed documentation than with the parameter -h?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello,
if you asking about the operation or method you are calling with nnmtwiddle.ovpl, then you should look in the JMX console and perhaps you get a clue about the call. AFAIK there is not official information about options of the operations.
Twiddle itself is a simple command line tool to interact with the JMX from JBOSS (see https://developer.jboss.org/docs/DOC-12458).
BR Allessandro

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
All get/invoke methods in this API are "talking". so that's easy to guess what it does. You may, as simplest, enable the <server>/jmx-console so you browse the catalog of mbeans and see all methods in each.
Regarding the REST API - I got 2019.11 - samples and doc are there:
# ll /opt/OV/doc
total 11220
-rw-rw-r-- 1 nmsproc nmsgrp 751485 Apr 9 2020 NNM-SDK.pdf
-rw-rw-r-- 1 nmsproc nmsgrp 4885923 Apr 9 2020 NNM-SDK_Using_NNMi_Web_Services.pdf
-rw-rw-r-- 1 nmsproc nmsgrp 121284 Apr 9 2020 nms-sdk-sources.jar
drwxrwxr-x 1 nmsproc nmsgrp 232 Apr 9 2020 samples
-rw-rw-r-- 1 nmsproc nmsgrp 5724142 Apr 9 2020 sdk-dev-kit.jar
BR,