Script memory
Moderators: Developers, Moderators
Script memory
Hello,
I have two data :
total memory
free memory
I would like to graph the used memory. I know that i have to do a simple subtraction but how to do that in cacti ?
thanks.
I have two data :
total memory
free memory
I would like to graph the used memory. I know that i have to do a simple subtraction but how to do that in cacti ?
thanks.
Read these two articles:
http://docs.cacti.net/node/528
http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html
http://docs.cacti.net/node/528
http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Thanks, i read the article but i hava a problem.
So when the cedf is like the first picture the result is good but when is like the second picture the result isn't good. Cacti do an addition.
Sorry for my poor english.
Any idea ?
So when the cedf is like the first picture the result is good but when is like the second picture the result isn't good. Cacti do an addition.
Sorry for my poor english.
Any idea ?
- Attachments
-
- cdef.png (12.84 KiB) Viewed 3573 times
-
- cedf_string_value.png (10.04 KiB) Viewed 3573 times
-
- Posts: 36
- Joined: Tue Jun 06, 2006 10:53 am
Hi. I made a template+script that shows the free memory and the total memory.
http://forums.cacti.net/viewtopic.php?p=142813
But the script I made also returns the used memory, I just chose not to graph it. Just make the appropriate changes.
http://forums.cacti.net/viewtopic.php?p=142813
But the script I made also returns the used memory, I just chose not to graph it. Just make the appropriate changes.
Who is online
Users browsing this forum: No registered users and 3 guests