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!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...