Reporting Help - XML template error import

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

Moderators: Developers, Moderators

Post Reply
mlizardo
Posts: 3
Joined: Fri Jul 26, 2024 3:17 pm

Reporting Help - XML template error import

Post by mlizardo »

Hi all,

We are trying to do reporting for a customer, is there a way to do a custom reporting? We are able to get the basic graph reporting but when we try to import an XML file.

For insight, the format we had and been using is through word documents and were manually pasting each graph pictures into it, this file was then converted to and HTML then tried to convert it to an XML then importing into Cacti, but we keep getting this error.

"Sorry, we could not process your last action.

Unable to parse template file."

Any suggestions are much appreciated, if you have any questions let me know.

Thank you.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Reporting Help - XML template error import

Post by macan »

which xml file?
Let the Cacti grow!
mlizardo
Posts: 3
Joined: Fri Jul 26, 2024 3:17 pm

Re: Reporting Help - XML template error import

Post by mlizardo »

We are trying to upload a custom template report, it is under

To use it we are going under Reports

"Output Formatting"
"Use Custom Format HTML -- ENABLED"
"Format File to Use ---- this is where we'd like to use our custom template
"Graph Linked -- ENABLED"

To try and upload our template we are going under Templates

On left pane in Console, import/export then when we try to import our custom template, we receive the "XML parse error."

Please let me know if you have any further questions.
mlizardo
Posts: 3
Joined: Fri Jul 26, 2024 3:17 pm

Re: Reporting Help - XML template error import

Post by mlizardo »

macan wrote: Mon Jul 29, 2024 2:19 am which xml file?
My apologies, I forgot to reply to this, see my response above.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Reporting Help - XML template error import

Post by TheWitness »

Compress the XML file and upload it please thank you.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest