hi all
I'm creating a script and I have a doubt, my script returns a value that must be added to the value that is already in the one shown in cacti, how can I do this?
how must i do the Data Templates or the Graph Templates for do that?
explained better, in the graph of cacti are
i.e. Foobar: Current: 10
my script returns 5, and the graph has to add and be
i.e. Foobar: Current: 15
and so on
Thank you so much.
[solved] Real count value.
Moderators: Developers, Moderators
yes, but I read the tutorial of rrdtool from the website, and what I need is not supported, the DST only can be COUNTER, DERIVE, ABSOLUTE, GAUGE, and the behavior is
Values = 300, 600, 900, 1200
Step = 300 seconds
COUNTER DS = 1, 1, 1, 1
DERIVE DS = 1, 1, 1, 1
ABSOLUTE DS = 1, 2, 3, 4
GAUGE DS = 300, 600, 900, 1200
and what we needed was
Values = 300, 600, 900, 1200
Step = 300 seconds
X DS = 300, 900, 1800, 3000
Now I have rewritten the script and is responsible for the account of the totals in a file.
Thank you for your time and answers
Values = 300, 600, 900, 1200
Step = 300 seconds
COUNTER DS = 1, 1, 1, 1
DERIVE DS = 1, 1, 1, 1
ABSOLUTE DS = 1, 2, 3, 4
GAUGE DS = 300, 600, 900, 1200
and what we needed was
Values = 300, 600, 900, 1200
Step = 300 seconds
X DS = 300, 900, 1800, 3000
Now I have rewritten the script and is responsible for the account of the totals in a file.
Thank you for your time and answers
Who is online
Users browsing this forum: No registered users and 1 guest