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
Graph template 'Linux - Memory Usage' has the wrong unit on its vertical_label #3099
Comments
So, one of two things is wrong then, either the label should become bytes or the values should have been divided by 1024 but are not... Not sure if @cigamit changed that in the last year or not without searching which I can't do right now. |
@netniV I prefer to change the label to bytes, because this makes the value more straightforward. Otherwise, we may get the value, 3G as shown 3M of KB. Thanks. |
Yeah I can agree with that assume the label doesn't adjust itself which your example suggests it does not. |
The vertical_label unit kilobytes is wrong on graph template 'Linux - Memory Usage'
This is resolved now with the updated Local Linux Machine package. |
One thing is that we may need to make the installer allow re-installation of packages |
We really need a 'Package' option on the Import/Export page as well, one that can install packages from a local file system, or directly download and install them from GitHub. But instead of making a new option, we just allow them to specify package or template on the import export picks. |
Describe the bug
A clear and concise description of what the bug is.
The vertical_label unit kilobytes is wrong on graph template 'Linux - Memory Usage' . It should be Bytes.
When my Linux cacti server has 23G memory free. The graph shows 23G, which is OK. But the vertical lable show kilobytes. It's wrong, should be Bytes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Change the kilobytes to Bytes.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Linux
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The script (#perl cacti/scripts/linux_memory.pl) returns value in KB, and the graph item use 'Multiply by 1024'. So, the value result in Bytes.
The file Local_Linux_Machine.xml seems be encoded, after gzip the cacti/install/templates/Local_Linux_Machine.xml.gz.
The text was updated successfully, but these errors were encountered: