checkwmi script has java class load error

Description

When checkwmi is run, it outputs a java class load error:

I have found that updating the checkwmi script with the following: fixes the SLF4J error: 

 

 

This error does not seem to prevent checkwmi from running, but adding the extra jar files to the class path does appear to resolve the error.

 

The original script is finding the following jar files

LOG4J_JAR = /opt/opennms/lib/log4j-api-2.8.2.jar
SLF4J_JAR = /opt/opennms/lib/slf4j-api-1.7.21.jar

 

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Sandy Skipper December 13, 2021 at 4:06 PM

 Can you reproduce this issue in the current release?

Details

Assignee

Reporter

Labels

HB Grooming Date

HB Backlog Status

Affects versions

Priority

PagerDuty

Created February 28, 2019 at 7:58 AM
Updated January 11, 2022 at 6:17 PM