Hi, I'm new to cacti. I want to display last value in graph, but I found cacti display error when value change, because the source value is either 1 or 0.
rrdtool 1.4.x
Cacti Version: 0.8.8aHow to display last value?
Moderators: Developers, Moderators
-
- Posts: 2
- Joined: Tue Mar 19, 2013 12:59 pm
Re: How to display last value?
Can you provide any more details about the problem?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: How to display last value?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: How to display last value?
Thank you! phalek
Now I know why non last values show. But how to show the exact value? How to disable time normalization function in the case?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: How to display last value?
you can try changing the display of that value to "Exact numbers" within the graph template.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: How to display last value?
I've set to exact number before I post here, even I set a new GPRINT type like this:phalek wrote:you can try changing the display of that value to "Exact numbers" within the graph template.
OneString %1.0lf
but all fail.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: How to display last value?
"exact number" works on GPRINT (==legend) only.
Regarding the original question, it is a fake (the link that was referred to explains all the details), as it is rounding and NOT recreating the "number being read from the target".
For some use cases, this ake might be acceptable.
In fact, using rrdtool there is NO such things as getting the "original number back". This is due to polling interval time adjustments, that are performed automatically.
The only method known to me to get "rid" of that thus is to avoid any "re-calculation" due to polling interval "adjustments". And this can be done ONLY, when polling EXACTLY on a 300 sec interval boundary (which in turn means that you MUST finish polling within 1 second. Regarding the fact, that spine initialization already takes some few seconds, this is a nogo).
Well, going deeper into details, you might want to apply the GPRINT fake to the graph as well (if you're happy with that). You can do so using a CDEF. But you'll have to build that on your own
R.
Regarding the original question, it is a fake (the link that was referred to explains all the details), as it is rounding and NOT recreating the "number being read from the target".
For some use cases, this ake might be acceptable.
In fact, using rrdtool there is NO such things as getting the "original number back". This is due to polling interval time adjustments, that are performed automatically.
The only method known to me to get "rid" of that thus is to avoid any "re-calculation" due to polling interval "adjustments". And this can be done ONLY, when polling EXACTLY on a 300 sec interval boundary (which in turn means that you MUST finish polling within 1 second. Regarding the fact, that spine initialization already takes some few seconds, this is a nogo).
Well, going deeper into details, you might want to apply the GPRINT fake to the graph as well (if you're happy with that). You can do so using a CDEF. But you'll have to build that on your own
R.
Who is online
Users browsing this forum: No registered users and 5 guests