SSLCert Monitor does not work

Description

The SslCertMonitor seems not to work properly.

 

Here a definition:

 

The nodeLabel in this case was portal.proemion.com.

 

The monitor tells me:

A SSL-Cert-Validity outage was identified on interface 127.0.0.111 because of the following condition: Unexpected exception while polling PollableService[location=Default, interface=PollableInterface [PollableNode [765]:127.0.0.111], svcName=SSL-Cert-Validity]. java.lang.NullPointerException.

Acceptance / Success Criteria

None

Attachments

2

Lucidchart Diagrams

Activity

Show:

Patrick Schweizer May 11, 2020 at 10:03 PM

The configuration seems to be wrong. It should be {nodeLabel} (with a capital L). See further details in the duplicate:

Karl Stavestrand April 26, 2020 at 6:19 PM

I see now that this is a duplicate of https://issues.opennms.org/browse/NMS-12332

Karl Stavestrand April 26, 2020 at 6:12 PM

Any update on this? Created this account just to contribute to solving this.

Can confirm that this bug also affects 26.0.0.

Here is also the entire stack trace and my system report.

It may be of interest that this only happens when the "nodelabel" or "nodeid" variables are used, the "ipaddr" and "svcname" variables work fine. The nodelabel variable also work fine in the "PageSequenceMonitor"

 

The exception comes from passing "null" to the regex matcher, so somehow it is not able to get the nodelabel variable from the "MonitoredService".

 

I really hope that this could  be resolved, the SslCertMonitor  could be very useful, but is at the time useless.

Duplicate

Details

Assignee

Reporter

Labels

Affects versions

Priority

PagerDuty

Created February 26, 2020 at 12:37 PM
Updated May 18, 2020 at 9:36 PM
Resolved May 5, 2020 at 7:23 AM