Skip to content

Commit

Permalink
Merge pull request #240 from vmware/task/remove_adapter3_suffix
Browse files Browse the repository at this point in the history
Task/remove adapter3 suffix
  • Loading branch information
Kyle Rokos authored Jul 20, 2023
2 parents 39102f4 + 1a2b9f6 commit b2427be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/guides/extending_an_existing_management_pack.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ These will be used to ensure that the metrics are attached to existing MySQL obj
rather than creating new ones.

To get this information, we will `ssh` into the collector where the MySQL management
pack is running. Then `cd` to `$ALIVE_BASE/user/plugin/inbound/mysql_adapter3/conf/`.
pack is running. Then `cd` to `$ALIVE_BASE/user/plugin/inbound/mysql/conf/`.
From there, open the `describe.xml` file. The Adapter Kind key is at the top on the
fourth line:
```xml
Expand Down
4 changes: 2 additions & 2 deletions docs/troubleshooting_and_faq/logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project.

### Where are the adapter logs stored in VMware Aria Operations?

Logs are generated and stored on the cloud proxy where the adapter is running at `$ALIVE_BASE/user/log/adapter/<ADAPTERKEY>_adapter3/<ADAPTER_INTERNAL_INSTANCE_ID>`.
Logs are generated and stored on the cloud proxy where the adapter is running at `$ALIVE_BASE/user/log/adapter/<ADAPTERKEY>/<ADAPTER_INTERNAL_INSTANCE_ID>`.

`ADAPTERKEY` should match the adapter key used in the `manifest.txt`, and the `ADAPTER_INTERNAL_INSTANCE_ID` should match the Internal ID
found in VMware Aria Operations at **Environment &rarr; Inventory &rarr; Adapter Instances &rarr; &lt;ADAPTER_DISPLAY_NAME&gt; &rarr; &lt;ADAPTER_INSTANCE&gt;** in the rightmost column.
Expand Down Expand Up @@ -62,7 +62,7 @@ The logger only needs to be configured once; to generate logs in other files, si

### How do I change the server and/or adapter log level?

You can set the log levels for the server and adapter inside the `loglevels.cfg` file, which is located in `logs/loglevels.cfg` locally and on the cloud proxy at `$ALIVE_BASE/user/log/adapters/<ADAPTERKEY>_adapter3/<ADAPTER_INTERNAL_INSTANCE_ID>/loglevels.cfg`.
You can set the log levels for the server and adapter inside the `loglevels.cfg` file, which is located in `logs/loglevels.cfg` locally and on the cloud proxy at `$ALIVE_BASE/user/log/adapters/<ADAPTERKEY>/<ADAPTER_INTERNAL_INSTANCE_ID>/loglevels.cfg`.
If the file does not exist, the system generates it after a collection/test.

`ADAPTERKEY` should match the name of the adapter used in the `manifest.txt`, and the `ADAPTER_INTERNAL_INSTANCE_ID` should match the Internal ID
Expand Down
2 changes: 1 addition & 1 deletion vmware_aria_operations_integration_sdk/mp_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ async def build_pak_file(
image.remove(force=True)

with Spinner("Assembling Pak File"):
adapter_dir = adapter_kind_key + "_adapter3"
adapter_dir = adapter_kind_key
mkdir(adapter_dir)
shutil.copytree("conf", os.path.join(adapter_dir, "conf"))
if not os.path.exists(os.path.join(adapter_dir, "conf", "describe.xml")):
Expand Down

0 comments on commit b2427be

Please sign in to comment.