AppD Archive

Getting class not found exception while instrumenting Network Monitor extension

CommunityUser
Splunk Employee
Splunk Employee

[system-thread-0] 01 Feb 2017 22:08:37,491  INFO SystemAgentConfigManager - Scheduling configuration refresh at an interval of 60 seconds
[system-thread-0] 01 Feb 2017 22:08:37,492  INFO SystemAgentConfigManager - Configuration refresh task interval is 60 seconds
[system-thread-0] 01 Feb 2017 22:08:37,492  INFO SystemAgent - Configuration manager successfully configured
[system-thread-0] 01 Feb 2017 22:08:37,494  INFO RunbookHandler - Runbook Operation Execution is : [enabled].
[system-thread-0] 01 Feb 2017 22:08:37,494  INFO SystemAgent - Started AppDynamics Machine Agent Successfully.
[Agent-Monitor-Scheduler-1] 01 Feb 2017 22:08:42,475  INFO PeriodicTaskRunner - Periodic Task - setup metric feed for [Network Monitor Run task]
[Agent-Monitor-Scheduler-1] 01 Feb 2017 22:08:42,476  INFO NetworkMonitor - Starting Network Monitoring task
[Agent-Monitor-Scheduler-1] 01 Feb 2017 22:08:42,482  INFO NetworkMonitor - Reading config file: /apps/web/sfw/AppDynamics/MachineAgent/monitors/NetworkMonitor/config.yaml
[Agent-Monitor-Scheduler-1] 01 Feb 2017 22:08:42,572 ERROR NetworkMonitor - Unfortunately an issue has occurred:
Can't construct a java object for tag:yaml.org,2002:com.appdynamics.extensions.network.config.Configuration; exception=Class not found: com.appdynamics.extensions.network.config.Configuration
 in 'reader', line 1, column 1:
    networkInterfaces: { eth0 , eth1
    ^

also validated the config.yaml file and looks good

networkInterfaces: { eth0 , eth1
}

overrideMetricsUsingScriptFile: true

scriptTimeoutInSec: 60

scriptFiles:
  - osType: windows
    filePath: monitors/NetworkMonitor/scripts/windows-metrics.bat
  - osType: unixBase
    filePath: monitors/NetworkMonitor/scripts/unix-base-metrics.sh


# Comma separated full path of the metrics for which delta (present - previous) needs to be computed.
# For eg. deltaMetrics: ["TCP|State|Bound", "TCP|Segments Retransmitted"]
deltaMetrics: {"TCP|State|Bound", "TCP|Segments Retransmitted"}

metricPrefix:  "Custom Metrics|Network|"

can some one please assist

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...