#Don't log 7mode failures in cmode

1 messages · Page 1 of 1 (latest)

gilded dune
#

Seeing a reoccurrence of this in the 23.02 code after a upgrade

{"level":"warn","Poller":"XXXX11","error":"unable to import template=[] no best-fit template found","collector":"Zapi","object":"Status_7mode","caller":"./poller.go:688","time":"2023-04-10T11:08:17-07:00","message":"init collector-object"}

https://github.com/NetApp/harvest/issues/1606

As denoted in this thread:

#┊・harvest-nabox🔒 message

Not sure why this appears again.

GitHub

Thanks to troysmuller for reporting on Discord {"level":"warn","Poller":"XXXYYY01","error":"unable to import template=[] no best-fit template ...

pallid lodge
#

@gilded dune We don't see it with 23.02. Could you share full logs? Also share your default.yaml for Zapi collector.

gilded dune
#

harv01:/var/log/harvest # cat /opt/harvest/conf/zapi/default.yaml

collector: Zapi

Order here matters!

schedule:

  • data: 180s

objects:
Aggregate: aggr.yaml
AggregateEfficiency: aggr_efficiency.yaml
ClusterPeer: clusterpeer.yaml
Disk: disk.yaml
Lun: lun.yaml

NetPort: netPort.yaml

Node: node.yaml
NtpServer: ntpserver.yaml
Qtree: qtree.yaml
Security: security.yaml
SecurityAccount: security_account.yaml
SecurityAuditDestination: security_audit_dest.yaml
SecurityCert: security_certificate.yaml
SecurityLogin: security_login.yaml
Sensor: sensor.yaml
Shelf: shelf.yaml
SnapMirror: snapmirror.yaml
SnapshotPolicy: snapshotPolicy.yaml
Status: status.yaml
Status_7mode: status_7.yaml
Subsystem: subsystem.yaml
Support: support.yaml
SVM: svm.yaml
Volume: volume.yaml

#

harv01:/var/log/harvest # /opt/harvest/bin/harvest version
harvest version 23.02.0-1 (commit 627311aa) (build date 2023-02-21T08:32:43-0500) linux/amd64

#

Log to follow

#

This filer is on 9.8P9