Skip to main content
NetApp Knowledge Base

StorageGRID Alert External syslog server forwarding error

Views:
138
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

StorageGRID OS 11.7.0

Issue

StorageGRID getting alert "External syslog server forwarding error" as below

  • Alert triggered:

MON.I.NAP.00002: - Node: <Nodename> 
Trap ID: 7 
Alert Start Time:
AlertInstance/Node: <Nodename> 
Alert ID: 35eeb7ccc24d2de9 
Alert name: 'External syslog server forwarding error' 
DeviceAlertSev: major -
AlertKey: NCOSnmpProbe:CRITICAL   
Minor  alert [Alert1103938] 
Created on Node: [<Nodename>]of type [Storage] from data source [netcool].

  • Errors observed from miscd.log:

[2023-08-19T14:10:08.053] syslMonCertExp-remoteSyslogServerA -   ERROR -- Failed to load certificate due to error: cannot use a string pattern on a bytes-like object
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/miscd/helpers/certificates.py", line 84, in from_file
    certs = _load_certificates(open(filename, "r").read())
  File "/usr/lib/python3/dist-packages/miscd/helpers/certificates.py", line 111, in _load_certificates
    return [x509.load_pem_x509_certificate(cert, default_backend()) for cert in PEM_CERTIFICATE_PATTERN.findall(data)]
TypeError: cannot use a string pattern on a bytes-like object
[2023-08-19T14:10:08.053] syslMonCertExp-remoteSyslogServerA -   ERROR -- Couldn't parse cert file /var/local/syslog/remoteSyslogServerA/certs/cacert.pem: cannot use a string pattern on a bytes-like object
[2023-08-19T14:10:08.054] syslMonCertExp-remoteSyslogServerA -   ERROR -- Failed to load certificate due to error: cannot use a string pattern on a bytes-like object

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.