Active IQ Unified Manager Discussions

Netapp-harvest and dot 7.3 lun counter

LORENZO_CONTI
3,235 Views

Hello,

 

we are getting the following error in harvest poller log for 2 systems with 7.3.7P3.

[2016-04-29 15:25:01] [WARNING] No counter metadata found for: [lun][avg_read_latency]; check if valid counter for this DOT release

[2016-04-29 15:25:01] [WARNING] No counter metadata found for: [lun][avg_write_latency]; check if valid counter for this DOT release

Are they missing counter in that release? Could they be escaped in case?
Since some log can become big, do netapp-harvest have any logrotate automation?

Thanks

 

Lorenzo 

2 REPLIES 2

madden
3,206 Views

Hi @LORENZO_CONTI

 

I checked and indeed those counters didn't exist way way back in 7.3 :-).  Originally I was working with 8.1 as a minimum, but then someone asked for 8.0 so I backported and did basic testing, and then the same happened for 7.3 and I must not have tested thoroughly enough on a system that had LUNs.  In any case I have removed these counters from the default template so it will be fixed in the next Harvest release and you can also remove it manually now to stop the log spam messages:

 

1) Edit /opt/netapp-harvest/template/default/7dot-7.3.0.conf.  

2) Find the section with 'lun' counters and remove avg_read_latency avg_write_latency from the list.

3) Save the file and restart the impacted pollers.

 

For rotating of logfiles this is not something I have implemented yet. My original thought was if the logs are growing quickly the admin should fix the cause!  But I agree, there should be some native rotation to avoid disk full so I will add this to the to-do list.

 

Cheers,
Chris Madden

Storage Architect, NetApp EMEA (and author of Harvest)

Blog: It all begins with data

 

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO or both!

 

fede_melaccio
3,142 Views

Hi @madden,

 

I followed your instructions and now the log messages are not appearing anymore. Everything else looks fine, thanks.

 

Regards

Federico

Public