Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templates appear to lose their suggested name values #5151

Closed
bmeirellesRJ opened this issue Jan 10, 2023 · 20 comments
Closed

Templates appear to lose their suggested name values #5151

bmeirellesRJ opened this issue Jan 10, 2023 · 20 comments
Assignees
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@bmeirellesRJ
Copy link

On the "create graphs for this device" page, the name of the graphs to be created appears correctly, but after creating the graphs the names do not appear correctly.

Example:

Unix - Get Mounted partitions
All graphics appear with the same name, "available disk space" and the name device or mount point does not appear.

In "SNMP - Get mounted partitions" has the same problem. All graphics have the same name. Before displaying the description.

@bmeirellesRJ bmeirellesRJ added bug Undesired behaviour unverified Some days we don't have a clue labels Jan 10, 2023
@TheWitness
Copy link
Member

Is this a new install or upgrade?

@bmeirellesRJ
Copy link
Author

new installation.

in "create graphs for this device appears:
/dev/sda1 /
/dev/sda2 /home

in the created graph appears:
Available disk space
Available disk space

@TheWitness
Copy link
Member

So, Local Linux Machine Device Template?

@bmeirellesRJ
Copy link
Author

Local linux machine and remote windows machine "SNMP - Get Mounted Partitions" too.

@TheWitness
Copy link
Member

Re-import this package. Make sure your check to Replace Suggested Values. After which, Re-Apply Suggested names on the Graphs and the Data Sources.

Local_Linux_Machine.xml.gz

@TheWitness TheWitness changed the title Graphics display wrong name Local Linux Machine Device Package Damaged Jan 10, 2023
@TheWitness TheWitness added confirmed Bug is confirm by dev team and removed unverified Some days we don't have a clue labels Jan 10, 2023
@TheWitness TheWitness added this to the v1.2.24 milestone Jan 10, 2023
@TheWitness TheWitness added the resolved A fixed issue label Jan 10, 2023
@TheWitness TheWitness changed the title Local Linux Machine Device Package Damaged 1.2.23 - Local Linux Machine Device Package Damaged Jan 10, 2023
@bmeirellesRJ
Copy link
Author

The Template XML file "Local_Linux_Machine.xml" validation failed
See the cacti.log for more information, and review the XML file for proper syntax. The error details are shown below.

Errors:
XML parse error.

10-Jan-2023 10:22:07 - IMPORT ERROR: Import or Preview failed for XML file Local_Linux_Machine.xml!

10-Jan-2023 10:22:07 - IMPORT parse_xml_hash ERROR wrong hash format for hash: info

@bmeirellesRJ
Copy link
Author

"SNMP - Get Mounted Partitions" have the same problem

@TheWitness
Copy link
Member

How did you import?

@TheWitness
Copy link
Member

It's actually even worse than that. I'm a little embarrassed.

@TheWitness
Copy link
Member

For now, download the 1.2.22 packages.

@bmeirellesRJ
Copy link
Author

How did you import?

web gui / console / import templates

@bmeirellesRJ
Copy link
Author

For now, download the 1.2.22 packages.

I'm using it anyway, no problem.

@TheWitness
Copy link
Member

Ugh, Going back to 1.2.21 now :(

@TheWitness
Copy link
Member

You have to use "Import Packages" not "Import Templates". I'm going to have to slow down on this one.

@TheWitness
Copy link
Member

I had to go back to 1.2.20 to get this worked out. So, it's been broken for a while. The Host MIB that is.

@bmeirellesRJ
Copy link
Author

You have to use "Import Packages" not "Import Templates". I'm going to have to slow down on this one.

It worked. now appears correctly

@bmeirellesRJ
Copy link
Author

You have to use "Import Packages" not "Import Templates". I'm going to have to slow down on this one.

It worked. now appears correctly

Need to fix snmp partitions. If I find more errors I open an issue. Thank you very much

@netniV
Copy link
Member

netniV commented Jan 10, 2023

The solution for now seems to be importing the older 1.2.20 template packages. We will get these corrected for 1.2.24 which is due at the beginning of February to make the cut for the next Debian release.

Tagging @paulgevers and @mortenstevens here just so that they are aware that this is an issue and seems to have been for a release or two.

@netniV netniV closed this as completed Jan 10, 2023
@netniV netniV reopened this Jan 10, 2023
@netniV
Copy link
Member

netniV commented Jan 10, 2023

Since we still need to repackage the templates, I'm going to reopen this and adjust the title.

@netniV netniV changed the title 1.2.23 - Local Linux Machine Device Package Damaged [1.2.23] Templates appear to lose their suggested name values Jan 10, 2023
@bmeirellesRJ
Copy link
Author

SNMP - Get Processor Information too

@TheWitness TheWitness removed the resolved A fixed issue label Jan 14, 2023
@TheWitness TheWitness changed the title [1.2.23] Templates appear to lose their suggested name values Templates appear to lose their suggested name values Jan 16, 2023
TheWitness added a commit that referenced this issue Jan 16, 2023
Okay.  This may note be final commit.  Need to do some testing first.
TheWitness added a commit that referenced this issue Jan 16, 2023
@TheWitness TheWitness added the resolved A fixed issue label Jan 16, 2023
@TheWitness TheWitness self-assigned this Jan 16, 2023
TheWitness added a commit that referenced this issue Jan 16, 2023
Packages look good now.  Back to spec
TheWitness added a commit that referenced this issue Jan 19, 2023
TheWitness added a commit that referenced this issue Jan 22, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

4 participants