NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

NetApp Harvest 1.6 snapmirror and NFS-connections dashboard

Mytch
23,196 Views

The NFS-connections and snapmirror dashboard is giving me this error.

 

Templating init failed
Datasource named ${DS_GRAPHITE} was not found
24 REPLIES 24

FRAZERBRADBURN
4,976 Views

hey - just to add to my comment below the manual updated also didn't fix this issue. 

mmorshed11
4,961 Views

Make sure in  netapp-harvest.conf   template = default,extension.conf  (not extensions.conf)

and in JSON file

all 5 entries

"datasource": null,

 

{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 23,
"x": 0,
"y": 0
},

 

Restart poller  and checked the log

 

[root@XXXXXX log]# /opt/netapp-harvest/netapp-manager -restart -v
[OK ] Line [29] is Section [global]
[OK ] Line [30] in Section [global] has Key/Value pair [grafana_api_key]=[**********]
[OK ] Line [31] in Section [global] has Key/Value pair [grafana_url]=[https://X.X.X.X]
[OK ] Line [36] is Section [default]
[OK ] Line [37] in Section [default] has Key/Value pair [graphite_server]=[X.X.X.X]
[OK ] Line [38] in Section [default] has Key/Value pair [username]=[netapp-harvest]
[OK ] Line [39] in Section [default] has Key/Value pair [password]=[**********]
[OK ] Line [42] in Section [default] has Key/Value pair [send_autosupport_stats]=[1]
[OK ] Line [68] is Section [CLUSTERNAME]
[OK ] Line [69] in Section [CLUSTERNAME]] has Key/Value pair [hostname]=[X.X.X.X]
[OK ] Line [70] in Section [CLUSTERNAME]] has Key/Value pair [group]=[XXX_cDot]
[OK ] Line [71] in Section [CLUSTERNAME]] has Key/Value pair [username]=[netapp-harvest]
[OK ] Line [72] in Section [CLUSTERNAME]] has Key/Value pair [password]=[**********]
[OK ] Line [73] in Section [CLUSTERNAME] has Key/Value pair [template]=[default,extension.conf]

 

cat /opt/netapp-harvest/log/FILERNAME_netapp-harvest_netapp-harvest_snapmirror_replications.log

 

vachagan_gratian
4,926 Views

Hi, I would recommend to use the dashboards from the updater package. Just first run the updater, then import the db_netapp-detail-snapmirror.json dashboard from the folder /opt/netapp-harvest/grafana/ to your Grafana webgui.

mmorshed11
4,650 Views

Thanks, @vachagan_gratian I ran the update package.

 

Got one issue #

[WARNING] [connect_zapi] Failed to connect to NaServer: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)

 

Host # REHL Linux Server release 7.7 (Maipo)

Python #  2.7.5

Ontap 9.3P15

 

To Resolve the issue #  had to enter following line  snapmirror_replications.py

import ssl
ssl._create_default_https_context = ssl._create_unverified_context

 

Possible Bugs #

1.  Log file name "_replicatons.log "

2. With Ontap 8.3.2P12  dashboard not populating data - [ERROR] [poll_meters] ZAPI request failed: For smc_em object, no instances were found to match the given query. 

3.  Volume capacity dashboard not  displaying any data

4. NFS Connection dashboard not displaying any data

 

Public