Skip to content
This repository was archived by the owner on Sep 20, 2019. It is now read-only.
This repository was archived by the owner on Sep 20, 2019. It is now read-only.

AppDynamics agent fails on App Service on Linux (vmstat not found) #31

Description

@kaushalp

Issue

The instructions in the following document are incomplete
Configure AppDynamics for Java Apps (App Service on Linux)

The following error is seen in the logs:

[extension-scheduler-pool-5] 01 May 2019 23:20:42,271 WARN RawCollectorUtil - The collector script returned with these errors: ERROR: Failed to collect cpus, Unable to find vmstat command. Please check if vmstat is installed on this machine, or if the PATH environment variable is correctly configured
df: unrecognized option: l
BusyBox v1.28.4 (2018-07-17 15:21:40 UTC) multi-call binary.

Workaround

As the blessed image was alpine based, I worked around it by installing procps package.
apk add procps

Now the above is a pain as not there is no documentation on how to include the above command on start-up.

Possible Solution

Either update the document to include the right instructions or update the blessed image to have the right tools.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions