spikes in my graph
Moderators: Developers, Moderators
spikes in my graph
I am a new user of cacti.
How do i remove spikes in my graph.
anyone please help
How do i remove spikes in my graph.
anyone please help
It should be pretty self-explanatory:
Just figure out the file that contains the datasource you want to
remove the spike from (inside cacti, click Data Sources in the menu,
select the source and find its file)and the name of the data source
that you need to remove the spike from (Graph Management ->
Select the graph, find the name of the datasource (ds)). Then fill in
the values in the command above.
Code: Select all
$ killspike2
Usage: /home/server/bin/killspike2 <ds> <max> <rrd>...
Remove all peaks above <max> from <ds> in the RRDs <rrd>...
remove the spike from (inside cacti, click Data Sources in the menu,
select the source and find its file)and the name of the data source
that you need to remove the spike from (Graph Management ->
Select the graph, find the name of the datasource (ds)). Then fill in
the values in the command above.
Ouch, my mistake! It is really a shell-script (though the FAQ says it is
a perl script). Perhaps there is another perl-script out there - I've read the
names of at least two other scripts here in the forums, one called
removespikes.pl which was referenced here.
Sorry for the confusion
Edit: I found something called removespikes here:
http://people.ee.ethz.ch/~oetiker/webto ... b/contrib/
I believe you can open tar.gz with winzip, but if not let me know and I'll
help you out.
a perl script). Perhaps there is another perl-script out there - I've read the
names of at least two other scripts here in the forums, one called
removespikes.pl which was referenced here.
Sorry for the confusion
Edit: I found something called removespikes here:
http://people.ee.ethz.ch/~oetiker/webto ... b/contrib/
I believe you can open tar.gz with winzip, but if not let me know and I'll
help you out.
hi,
i have used the script "removespikes.pl" for my spikes, i take the following command in the command line:
perl removespikes.pl -l 1 rrapath
then the following will shown:
--------------------------------------------------------------------------------
Use of uninitialized value in string eq at (eval 1) line 3.
Chopping peak at <!-- 2004-07-19 04:30:00 Westeuropõische
Sommerzeit / 1090204200 -->
Chopping peak at <!-- 2004-07-20 04:30:00 Westeuropõische
Sommerzeit / 1090290600 -->
Chopping peak at <!-- 2004-07-25 04:30:00 Westeuropõische
Sommerzeit / 1090722600 -->
Chopping peak at <!-- 2004-07-26 04:30:00 Westeuropõische
Sommerzeit / 1090809000 -->
Chopping peak at <!-- 2004-07-11 06:00:00 Westeuropõische
Sommerzeit / 1089518400 -->
Chopping peak at <!-- 2004-07-12 06:00:00 Westeuropõische
Sommerzeit / 1089604800 -->
Chopping peak at <!-- 2004-07-15 06:00:00 Westeuropõische
Sommerzeit / 1089864000 -->
Chopping peak at <!-- 2004-07-17 06:00:00 Westeuropõische
Sommerzeit / 1090036800 -->
Chopping peak at <!-- 2004-07-18 06:00:00 Westeuropõische
Sommerzeit / 1090123200 -->
Chopping peak at <!-- 2004-07-19 06:00:00 Westeuropõische
Sommerzeit / 1090209600 -->
Chopping peak at <!-- 2004-07-20 06:00:00 Westeuropõische
Sommerzeit / 1090296000 -->
Chopping peak at <!-- 2004-07-25 06:00:00 Westeuropõische
Sommerzeit / 1090728000 -->
Chopping peak at <!-- 2004-07-26 06:00:00 Westeuropõische
Sommerzeit / 1090814400 -->
Chopping peak at <!-- 2004-07-12 02:00:00 Westeuropõische
Sommerzeit / 1089590400 -->
Chopping peak at <!-- 2004-07-13 02:00:00 Westeuropõische
Sommerzeit / 1089676800 -->
Chopping peak at <!-- 2004-07-16 02:00:00 Westeuropõische
Sommerzeit / 1089936000 -->
Chopping peak at <!-- 2004-07-18 02:00:00 Westeuropõische
Sommerzeit / 1090108800 -->
Chopping peak at <!-- 2004-07-19 02:00:00 Westeuropõische
Sommerzeit / 1090195200 -->
Chopping peak at <!-- 2004-07-20 02:00:00 Westeuropõische
Sommerzeit / 1090281600 -->
Chopping peak at <!-- 2004-07-21 02:00:00 Westeuropõische
Sommerzeit / 1090368000 -->
Chopping peak at <!-- 2004-07-26 02:00:00 Westeuropõische
Sommerzeit / 1090800000 -->
Chopping peak at <!-- 2004-07-27 02:00:00 Westeuropõische
Sommerzeit / 1090886400 -->
----------------------------------------------------------------------
but the spikes doesn't gone? like here..
hope you can help me..
thanks
i have used the script "removespikes.pl" for my spikes, i take the following command in the command line:
perl removespikes.pl -l 1 rrapath
then the following will shown:
--------------------------------------------------------------------------------
Use of uninitialized value in string eq at (eval 1) line 3.
Chopping peak at <!-- 2004-07-19 04:30:00 Westeuropõische
Sommerzeit / 1090204200 -->
Chopping peak at <!-- 2004-07-20 04:30:00 Westeuropõische
Sommerzeit / 1090290600 -->
Chopping peak at <!-- 2004-07-25 04:30:00 Westeuropõische
Sommerzeit / 1090722600 -->
Chopping peak at <!-- 2004-07-26 04:30:00 Westeuropõische
Sommerzeit / 1090809000 -->
Chopping peak at <!-- 2004-07-11 06:00:00 Westeuropõische
Sommerzeit / 1089518400 -->
Chopping peak at <!-- 2004-07-12 06:00:00 Westeuropõische
Sommerzeit / 1089604800 -->
Chopping peak at <!-- 2004-07-15 06:00:00 Westeuropõische
Sommerzeit / 1089864000 -->
Chopping peak at <!-- 2004-07-17 06:00:00 Westeuropõische
Sommerzeit / 1090036800 -->
Chopping peak at <!-- 2004-07-18 06:00:00 Westeuropõische
Sommerzeit / 1090123200 -->
Chopping peak at <!-- 2004-07-19 06:00:00 Westeuropõische
Sommerzeit / 1090209600 -->
Chopping peak at <!-- 2004-07-20 06:00:00 Westeuropõische
Sommerzeit / 1090296000 -->
Chopping peak at <!-- 2004-07-25 06:00:00 Westeuropõische
Sommerzeit / 1090728000 -->
Chopping peak at <!-- 2004-07-26 06:00:00 Westeuropõische
Sommerzeit / 1090814400 -->
Chopping peak at <!-- 2004-07-12 02:00:00 Westeuropõische
Sommerzeit / 1089590400 -->
Chopping peak at <!-- 2004-07-13 02:00:00 Westeuropõische
Sommerzeit / 1089676800 -->
Chopping peak at <!-- 2004-07-16 02:00:00 Westeuropõische
Sommerzeit / 1089936000 -->
Chopping peak at <!-- 2004-07-18 02:00:00 Westeuropõische
Sommerzeit / 1090108800 -->
Chopping peak at <!-- 2004-07-19 02:00:00 Westeuropõische
Sommerzeit / 1090195200 -->
Chopping peak at <!-- 2004-07-20 02:00:00 Westeuropõische
Sommerzeit / 1090281600 -->
Chopping peak at <!-- 2004-07-21 02:00:00 Westeuropõische
Sommerzeit / 1090368000 -->
Chopping peak at <!-- 2004-07-26 02:00:00 Westeuropõische
Sommerzeit / 1090800000 -->
Chopping peak at <!-- 2004-07-27 02:00:00 Westeuropõische
Sommerzeit / 1090886400 -->
----------------------------------------------------------------------
but the spikes doesn't gone? like here..
hope you can help me..
thanks
- Attachments
-
- cacti2.JPG (239.24 KiB) Viewed 6405 times
I've never used that script, but it looks like it's based on %-values rather
than absolutes. I can only guess here, but perhaps it cuts ever value that
goes higher than a certain percentage of the highest spike, thus potentially
leaving many spikes that were lower than that. An example:
You have three spikes, one at 200M, one at 400M and one at 30G. You
decide to cut all spikes above 1% of the highest spike. The highest peak
is at 30G, so this means all spikes above 300M will be removed. After
running the script you still have the 200M spike left, and you'll have to run
the script again, perhaps with a different % this time so as not to kill the
real data.
Like I said - this is only guesswork. But it may be worth a shot to run the
script again - just make sure you make a backup first
than absolutes. I can only guess here, but perhaps it cuts ever value that
goes higher than a certain percentage of the highest spike, thus potentially
leaving many spikes that were lower than that. An example:
You have three spikes, one at 200M, one at 400M and one at 30G. You
decide to cut all spikes above 1% of the highest spike. The highest peak
is at 30G, so this means all spikes above 300M will be removed. After
running the script you still have the 200M spike left, and you'll have to run
the script again, perhaps with a different % this time so as not to kill the
real data.
Like I said - this is only guesswork. But it may be worth a shot to run the
script again - just make sure you make a backup first
hi,
thanks for your replay, i thinkg i get it, but i doesn't understand it at all.
Now i use a percentage value from 5 and my graph looks like right, perhaps you can describe this a little bit easier to me because i made the following test...
i use the command with 1%, all spikes in the yearly, monthly and weekly were gone, but not the spike in the daily graph.. than i use it with a value from 5 and the daily spikes are alredy gone.
When i have one spike on the graph, with 80M and i use the percentage value from 5, then all spikes that where above 80M are cut?
sorry for my incompetence, i hope i will understand this and can check if the stats are right after use this skript.
thanks for your help!
thanks for your replay, i thinkg i get it, but i doesn't understand it at all.
Now i use a percentage value from 5 and my graph looks like right, perhaps you can describe this a little bit easier to me because i made the following test...
i use the command with 1%, all spikes in the yearly, monthly and weekly were gone, but not the spike in the daily graph.. than i use it with a value from 5 and the daily spikes are alredy gone.
When i have one spike on the graph, with 80M and i use the percentage value from 5, then all spikes that where above 80M are cut?
sorry for my incompetence, i hope i will understand this and can check if the stats are right after use this skript.
thanks for your help!
-
- Posts: 9
- Joined: Mon May 02, 2005 12:14 pm
- Location: Brazil
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest