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

Proposed cosmetic changes #47

Open
UntestedEngineer opened this issue Jun 5, 2022 · 9 comments
Open

Proposed cosmetic changes #47

UntestedEngineer opened this issue Jun 5, 2022 · 9 comments

Comments

@UntestedEngineer
Copy link

See below fork:

UntestedEngineer@d45b62e

  • Preprocessing for CPU Utilization for whole number rounding
  • Preprocessing for Memory Utilization for whole number rounding
  • Changed uptime units from "S" to "uptime" for easier human reading
@patricegautier
Copy link
Owner

patricegautier commented Jun 6, 2022

Hi -

so the rounding is straight forward, but using 'uptime' for the unit means Zabbix won't be able to understand it, and so you will get:

PastedGraphic-1

instead of

PastedGraphic-2

@UntestedEngineer
Copy link
Author

This is what I see in my Zabbix deployment when I change the Units to: uptime:

image

image

@patricegautier
Copy link
Owner

and if you go to 'latest data' for the basement AP switch 1?

@UntestedEngineer
Copy link
Author

UntestedEngineer commented Jun 6, 2022

I only changed the Unifi AP and Unifi Switch templates, not the SSH template. All of the devices below are Ubiquiti AP and Switches.

image

@patricegautier
Copy link
Owner

patricegautier commented Jun 6, 2022 via email

@UntestedEngineer
Copy link
Author

If I revert the units to "S" as per your original template I receive the following:

image

While it is standard Linux/Unix time it is a little harder to read for the average human :). Changing the uptime units from "S" to "uptime" makes it more legible for the average human so we do not have to convert standard Unix/Linux uptime to something that is a bit easier to understand.

@patricegautier
Copy link
Owner

patricegautier commented Jun 6, 2022 via email

@UntestedEngineer
Copy link
Author

When I switched to units "s" one of my switches yielded 1m uptime, however that is incorrect as per the controller it has been up for 30 days.

image

When I switch the units back to "uptime" Zabbix converts and displays the correct uptime:

image

@patricegautier
Copy link
Owner

patricegautier commented Jun 8, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants