We have dynamic pools of 1 server each that we use to weekly run applications.
We want to enable Application Insights for such servers but also have the metrics in BatchExplorer available.
Setup
I have a pool with the Start Task configured like this:
Inside ./scripts/start_task.sh I have a few commands to prepare the pool and in the end:
I mostly followed readme.md except having the run command inside my custom script.
The value of BATCH_INSIGHTS_DOWNLOAD_URL is https://github.com/Azure/batch-insights/releases/download/v1.3.0/batch-insights.
Issue
There is no values in BatchExplorer nor Application Insights.
Diagnostic attempts
I looked into the contents of batch-insights.log:
User configuration:
Pool ID: xxxxx
Node ID: xxxxx
Instrumentation Key: xxxxx
Aggregation: 1
Disable: []
Monitoring processes: []
BatchInsights configuration:
Pool ID: xxxxx
Node ID: xxxxx
Instrumentation Key: xxxxx
Aggregation: 1m0s
Sampling rate: 5000000000
Disable: {"diskIO":false,"diskUsage":false,"networkIO":false,"gpu":false,"cpu":false,"memory":false}
Monitoring processes: []
System information:
OS: linux
No GPU detected. Nvidia driver might be missing. Error while initializing NVML could not load NVML library
If I ssh to the node I see batch-insights running:
I am using ubuntuserver 18_04-lts-gen2 but I also tested with 20.04 with the same result.
Use case
We have dynamic pools of 1 server each that we use to weekly run applications. We want to enable Application Insights for such servers but also have the metrics in BatchExplorer available.
Setup
I have a pool with the Start Task configured like this:
Inside
./scripts/start_task.sh
I have a few commands to prepare the pool and in the end:I mostly followed
readme.md
except having the run command inside my custom script. The value ofBATCH_INSIGHTS_DOWNLOAD_URL
ishttps://github.com/Azure/batch-insights/releases/download/v1.3.0/batch-insights
.Issue
There is no values in BatchExplorer nor Application Insights.
Diagnostic attempts
I looked into the contents of
batch-insights.log
:If I ssh to the node I see
batch-insights
running:I am using
ubuntuserver 18_04-lts-gen2
but I also tested with20.04
with the same result.