Active IQ Unified Manager Discussions

Harvest & OCUM6.4RC1 -> No Template found

HMAIBAUM_BECHTLE
5,963 Views

Hi everyone,

 

i'm new to harvest and so on...

My perf monitoring is running very well so i tried to pair harvest with ocum 6.4rc1 and get these message in /opt/harvest/log

 

[2016-04-15 15:28:49] [NORMAL ] WORKER STARTED [Version: 1.2.2] [Conf: netapp-harvest.conf] [Poller: 10.239.48.8]
[2016-04-15 15:28:49] [NORMAL ] [main] Poller will monitor a [OCUM] at [10.239.48.8:443]
[2016-04-15 15:28:49] [NORMAL ] [main] Poller will use [password] authentication with username [graphite] and password [**********]
[2016-04-15 15:28:49] [NORMAL ] [main] Collection of system info from [10.239.48.8] running [6.4RC1] successful.
[2016-04-15 15:28:49] [ERROR  ] [main] No best-fit collection template found (same generation and major release, minor same or less) found in [/opt/harvest/template/default].  Exiting;

 

So my question is: where do i get a template for 6.4RC1 or what do i have to do to get it going?

 

Thanks in advanced

 

 

1 ACCEPTED SOLUTION

MARTINBARTH
5,951 Views

Hello!

 

i had the same message and solved it the following way (quick and dirty) 🙂

 

copy the file ocum-6.3.0.conf to a new file named ocum-6.4.0.conf in the same directory to 'fake' a matching major/minor config for UCUM 6.4

 

cp /opt/harvest/template/default/ocum-6.3.0.conf /opt/harvest/template/default/ocum-6.4.0.conf

 

then it should work.

 

[2016-04-13 14:40:00] [NORMAL ] [main] Collection of system info from [ocumserver] running [6.4RC1] successful.
[2016-04-13 14:40:00] [DEBUG ] [main] Found possible default template file for product [ocum]: ocum-6.1.0.conf (6, 1, 0)
[2016-04-13 14:40:00] [DEBUG ] [main] Found possible default template file for product [ocum]: ocum-6.2.0.conf (6, 2, 0)
[2016-04-13 14:40:00] [DEBUG ] [main] Found possible default template file for product [ocum]: ocum-6.3.0.conf (6, 3, 0)
[2016-04-13 14:40:00] [DEBUG ] [main] Found possible default template file for product [ocum]: ocum-6.4.0.conf (6, 4, 0)
[2016-04-13 14:40:00] [NORMAL ] [main] Using best-fit collection template: [ocum-6.4.0.conf]

 

 

yours

 

Martin

 

 

 

View solution in original post

4 REPLIES 4

MARTINBARTH
5,952 Views

Hello!

 

i had the same message and solved it the following way (quick and dirty) 🙂

 

copy the file ocum-6.3.0.conf to a new file named ocum-6.4.0.conf in the same directory to 'fake' a matching major/minor config for UCUM 6.4

 

cp /opt/harvest/template/default/ocum-6.3.0.conf /opt/harvest/template/default/ocum-6.4.0.conf

 

then it should work.

 

[2016-04-13 14:40:00] [NORMAL ] [main] Collection of system info from [ocumserver] running [6.4RC1] successful.
[2016-04-13 14:40:00] [DEBUG ] [main] Found possible default template file for product [ocum]: ocum-6.1.0.conf (6, 1, 0)
[2016-04-13 14:40:00] [DEBUG ] [main] Found possible default template file for product [ocum]: ocum-6.2.0.conf (6, 2, 0)
[2016-04-13 14:40:00] [DEBUG ] [main] Found possible default template file for product [ocum]: ocum-6.3.0.conf (6, 3, 0)
[2016-04-13 14:40:00] [DEBUG ] [main] Found possible default template file for product [ocum]: ocum-6.4.0.conf (6, 4, 0)
[2016-04-13 14:40:00] [NORMAL ] [main] Using best-fit collection template: [ocum-6.4.0.conf]

 

 

yours

 

Martin

 

 

 

HMAIBAUM_BECHTLE
5,918 Views

Hi Martin,

 

thank you. Did that too but my naming of the conf file wasn't correct.

After changing the name of the conf file to the correct one the log looks likr that:

 

[2016-04-18 00:35:33] [NORMAL ] WORKER STARTED [Version: 1.2.2] [Conf: netapp-harvest.conf] [Poller: XXX]
[2016-04-18 00:35:33] [NORMAL ] [main] Poller will monitor a [OCUM] at [XXX:443]
[2016-04-18 00:35:33] [NORMAL ] [main] Poller will use [password] authentication with username [XXX] and password [**********]
[2016-04-18 00:35:34] [NORMAL ] [main] Collection of system info from [10.239.48.8] running [6.4RC1] successful.
[2016-04-18 00:35:34] [NORMAL ] [main] Using best-fit collection template: [ocum-6.4.0.conf]
[2016-04-18 00:35:34] [NORMAL ] [main] Calculated graphite_root [netapp.capacity.XXX] for host [XXX]
[2016-04-18 00:35:34] [NORMAL ] [main] Using graphite_meta_metrics_root [netapp.poller.capacity.XXX]
[2016-04-18 00:35:34] [NORMAL ] [main] Startup complete.  Polling for new data every [900] seconds.

 

thank you! 🙂

 

Henrik

madden
5,894 Views

Hi,

 

The OCUM 6.3 template is indeed compatible with OCUM 6.4 so a simple copy of the old one works fine.  For a default installation the copy statement would be:

 

cp /opt/netapp-harvest/template/default/ocum-6.3.0.conf /opt/harvest-harvest/template/default/ocum-6.4.0.conf

 

I will also check if there are other newly introduced counters in 6.4 that would be good to add in for the next ToolChest posting, but doing the copy above gives you the same counter set as 6.3.  

 

Lastly, whatever the outcome (reuse of the 6.3, or enhancing slightly) I will include 6.4 support in the next ToolChest posting to avoid this copy workaround. 

 

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

 

 

MARTINBARTH
5,890 Views

Hi Chris!

 

thank you for confiming my presumption. and furthermore a big THANK YOU for your great work giving us netapp-admins such analytics power with your harvest & grafana analytics tools.

 

please keep up your excellent work in this direction Smiley Happy

 

yours

 

Martin Barth

 

Public