The issue of unsuccessful creation of 95 billing for creating a multi port template

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

Moderators: Developers, Moderators

Post Reply
datutu58888
Posts: 22
Joined: Sat Jul 01, 2023 1:52 am

The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by datutu58888 »

The issue of unsuccessful creation of 95 billing for creating a multi port template

This issue does not exist in version 1.2.11

When creating a graphic based on the multi port 95 billing template, a prompt appears with version 1.2.21

I created the template myself, and there were no issues creating and using it in version 1.2.11

Here are the prompts and screenshots

When I choose to create a multi port 95 template, I am prompted with an error in the index type, index value, and output type ID. In version 1.2.11, if these values are not entered, the creation can still be successful
Attachments
249744126-1d943ea6-7cb7-428a-b5b3-2d3fb979486d.png
249744126-1d943ea6-7cb7-428a-b5b3-2d3fb979486d.png (136.95 KiB) Viewed 3291 times
datutu58888
Posts: 22
Joined: Sat Jul 01, 2023 1:52 am

Re: The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by datutu58888 »

这些是模板的内容,在1.2.11版本创建图形没有问题

These are the contents of the template, there is no problem creating graphics in version 1.2.11
Attachments
QQ图片20230701152200.png
QQ图片20230701152200.png (224 KiB) Viewed 3284 times
datutu58888
Posts: 22
Joined: Sat Jul 01, 2023 1:52 am

Re: The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by datutu58888 »

:(
According to the official response I received from Cacti on GitHub, I have already upgraded to version 1.2.24, but the above issues still persist, and there is a new prompt!
Attachments
QQ图片20230710170725.png
QQ图片20230710170725.png (249.55 KiB) Viewed 2210 times
QQ图片20230710170703.png
QQ图片20230710170703.png (113.97 KiB) Viewed 2210 times
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by macan »

I think that this was fixed. Try to update to actual github branch 1.2.x (this will be the future version 1.2.25)
Let the Cacti grow!
datutu58888
Posts: 22
Joined: Sat Jul 01, 2023 1:52 am

Re: The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by datutu58888 »

macan wrote: Mon Jul 17, 2023 3:27 am I think that this was fixed. Try to update to actual github branch 1.2.x (this will be the future version 1.2.25)
I have tested it on version 1.2.25, and it still reminds me that I must enter these three values! :cry:
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by macan »

1.2.25 resolves php errors. I think that the rest is problem with template. Could you upload here the template?
Let the Cacti grow!
datutu58888
Posts: 22
Joined: Sat Jul 01, 2023 1:52 am

Re: The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by datutu58888 »

macan wrote: Tue Jul 18, 2023 1:49 am 1.2.25 resolves php errors. I think that the rest is problem with template. Could you upload here the template?
This is my template file. Please take a look and let me know if there are any issues. I have already tested versions 1.2.11, 1.2.15, 1.2.19, 1.2.20, 1.2.21, and 1.2.24. Currently, version 1.2.19 can be created but cannot generate RRD.
Attachments
cacti_graph_template_40-95.zip
1.2.11不自动生成RRD文件
(10.92 KiB) Downloaded 10 times
cacti_graph_template_8-95.zip
(4.93 KiB) Downloaded 8 times
datutu58888
Posts: 22
Joined: Sat Jul 01, 2023 1:52 am

Re: The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by datutu58888 »

macan wrote: Tue Jul 18, 2023 1:49 am 1.2.25 resolves php errors. I think that the rest is problem with template. Could you upload here the template?
The function I understand from these templates is to take existing port graphics as the source, aggregate them, and add a 95th percentile red line! Did I misunderstand the meaning of this template? Do you think my understanding is correct? Thank you very much!
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by macan »

it's acting the same to me. I don't know what to do, sorry
Let the Cacti grow!
datutu58888
Posts: 22
Joined: Sat Jul 01, 2023 1:52 am

Re: The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by datutu58888 »

macan wrote: Wed Jul 19, 2023 1:27 am it's acting the same to me. I don't know what to do, sorry
It's okay, thank you very much for your participation. It takes everyone's effort to make a difference!
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: The issue of unsuccessful creation of 95 billing for creating a multi port template

Post by TheWitness »

We resolved this issue on GitHub. The user is using the Graph Template in a way that is not entirely supported in Cacti 1.2.24+. That said, the user was asked to change the Data Input Method to None, where this issue would not happen any longer. He then creates and maps the Data Sources on his own using a script.
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 2 guests