Error import templete percona IMPORT parse_xml_hash ERROR

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
setiyoaji
Posts: 5
Joined: Sun Jun 10, 2018 10:14 pm

Error import templete percona IMPORT parse_xml_hash ERROR

Post by setiyoaji »

i am using cacti 1.1.38

i want to import percona mysql from https://docs.cacti.net/template:package ... sql_server

but error : IMPORT parse_xml_hash ERROR wrong hash format for hash: info

please help, thanks in advance... :)
Attachments
Screenshot_20180611_102830.png
Screenshot_20180611_102830.png (65.27 KiB) Viewed 3879 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Error import templete percona IMPORT parse_xml_hash ERRO

Post by netniV »

OK, so you probably want to use the versions available on the Percona website as it would appear the docs one is a bit out of date.

https://www.percona.com/doc/percona-mon ... lates.html

Give that a try and let me know if you have the same HASH issue. I do know that we corrected an issue with a bad hash a couple of versions before the one you are on so I'd be surprised if it was still the code at fault there.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
setiyoaji
Posts: 5
Joined: Sun Jun 10, 2018 10:14 pm

Re: Error import templete percona IMPORT parse_xml_hash ERRO

Post by setiyoaji »

i am newbie in using cacti..

yeah :wink: .. i know error because not same hash, how i can sam hash and i can import mysql graph.
please give me guide for import templete percona mysql or another templete for monitoring mysql.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Error import templete percona IMPORT parse_xml_hash ERRO

Post by netniV »

I can't personally tell you how to do that as I haven't done either myself. There my be other users on the forum who can, or follow the guide on the percona website.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
setiyoaji
Posts: 5
Joined: Sun Jun 10, 2018 10:14 pm

Re: Error import templete percona IMPORT parse_xml_hash ERRO

Post by setiyoaji »

okey :o

i am enjoy with dispointed :lol: ahahhaha

I'll try it until it works... 8)
Chrysalis
Cacti User
Posts: 70
Joined: Fri Sep 19, 2008 10:14 am
Location: UK

Re: Error import templete percona IMPORT parse_xml_hash ERRO

Post by Chrysalis »

netniV wrote: Mon Jun 11, 2018 9:55 am OK, so you probably want to use the versions available on the Percona website as it would appear the docs one is a bit out of date.

https://www.percona.com/doc/percona-mon ... lates.html

Give that a try and let me know if you have the same HASH issue. I do know that we corrected an issue with a bad hash a couple of versions before the one you are on so I'd be surprised if it was still the code at fault there.
there is no download link on that page, did you check when posting the url? LOL

There is on their download page a monitoring plugin, but bizarrely the tarball has no valid template to import.

Thirdly bizarrely the cacti templates page has been down for 18 months.

Something odd is going on.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Error import templete percona IMPORT parse_xml_hash ERROR

Post by netniV »

The templates isn't down for me, or some others who have checked. Strange that you seem to be seeing it offline.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Error import templete percona IMPORT parse_xml_hash ERROR

Post by phalek »

Check the "Installing Percona Monitoring Plugins for Cacti" page, that may be the site/page you are loocking for:

https://www.percona.com/doc/percona-mon ... lates.html
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Chrysalis
Cacti User
Posts: 70
Joined: Fri Sep 19, 2008 10:14 am
Location: UK

Re: Error import templete percona IMPORT parse_xml_hash ERROR

Post by Chrysalis »

To netniV I think that page was restored before you got to the posts to check. I also have now successfully installed the percona templates from there :)

To phalek I can assure you there is no working templates on the percona website. I can understand you just quick linking to the page as its probably frustrating to respond to user requests, and its probable that at one point in the past percona did provide templates from their website.

There is two relevant files on their website.

One is a archive that has the scripts and some of the cacti files (but not the template to import). Its basically a partial package, that has "some" of the files that are on the cacti templates page, but can be considered "incomplete"
The second is another archive that includes a script to auto generate templates for importing based on the mysql installed on the server and cacti installation, I expect this is considered the "official" way to get templates now, hence the first tarball been incomplete, the problem is the supplied script error's out and doesnt generate anything on my server.

Thankfully the templates on cacti's website work.

I should also mention my OS is FreeBSD, so its also possible the debian/ubuntu/redhat repo files are complete, but the "generic linux" and "source" are not.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Error import templete percona IMPORT parse_xml_hash ERROR

Post by netniV »

As an aside I think persona are no longer supporting cacti themselves.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests